00001 <?php
00002
00003 $BEAUT_PATH = realpath(".")."/syntax_highlight/php";
00004 if (!isset ($BEAUT_PATH)) return;
00005 require_once("$BEAUT_PATH/Beautifier/HFile.php");
00006 class HFile_mumps extends HFile{
00007 function HFile_mumps(){
00008 $this->HFile();
00009
00010
00011
00012
00013
00014
00015
00016 $this->nocase = "0";
00017 $this->notrim = "0";
00018 $this->perl = "0";
00019
00020
00021
00022 $this->colours = array("blue", "purple", "gray", "brown", "blue", "purple", "gray");
00023 $this->quotecolour = "blue";
00024 $this->blockcommentcolour = "green";
00025 $this->linecommentcolour = "green";
00026
00027
00028
00029 $this->indent = array();
00030 $this->unindent = array();
00031
00032
00033
00034 $this->stringchars = array("\"");
00035 $this->delimiters = array("+", "&", "_", "/", "=", "*", "*", ">", "#", "@", "\\", "<", "-", "*", ".", "!", "?", " ", "[", "]", "\"", " ", ",", ".", "?", "(", ")", "|", ":", ";");
00036 $this->escchar = "";
00037
00038
00039
00040 $this->linecommenton = array(";");
00041 $this->blockcommenton = array("");
00042 $this->blockcommentoff = array("");
00043
00044
00045
00046 $this->keywords = array(
00047 "B" => "1",
00048 "C" => "1",
00049 "D" => "1",
00050 "E" => "1",
00051 "F" => "1",
00052 "G" => "1",
00053 "H" => "1",
00054 "I" => "1",
00055 "J" => "1",
00056 "K" => "1",
00057 "L" => "1",
00058 "M" => "1",
00059 "N" => "1",
00060 "O" => "1",
00061 "Q" => "1",
00062 "R" => "1",
00063 "S" => "1",
00064 "TC" => "1",
00065 "TRE" => "1",
00066 "TRO" => "1",
00067 "TS" => "1",
00068 "U" => "1",
00069 "V" => "1",
00070 "W" => "1",
00071 "X" => "1",
00072 "ZA" => "1",
00073 "ZD" => "1",
00074 "ZF" => "1",
00075 "ZG" => "1",
00076 "ZHOROLOG" => "1",
00077 "ZI" => "1",
00078 "ZL" => "1",
00079 "ZM" => "1",
00080 "ZN" => "1",
00081 "ZP" => "1",
00082 "ZQ" => "1",
00083 "ZR" => "1",
00084 "ZS" => "1",
00085 "ZSY" => "1",
00086 "ZT" => "1",
00087 "ZU" => "1",
00088 "ZW" => "1",
00089 "$$" => "2",
00090 "$A" => "2",
00091 "$C" => "2",
00092 "$D" => "2",
00093 "$E" => "2",
00094 "$F" => "2",
00095 "$FN" => "2",
00096 "$G" => "2",
00097 "$L" => "2",
00098 "$NA" => "2",
00099 "$N" => "2",
00100 "$O" => "2",
00101 "$P" => "2",
00102 "$Q" => "2",
00103 "$R" => "2",
00104 "$RE" => "2",
00105 "$S" => "2",
00106 "$T" => "2",
00107 "$TR" => "2",
00108 "$V" => "2",
00109 "$ZB" => "2",
00110 "$ZBN" => "2",
00111 "$ZCR" => "2",
00112 "$ZD" => "2",
00113 "$ZDE" => "2",
00114 "$ZH" => "2",
00115 "$ZN" => "2",
00116 "$ZO" => "2",
00117 "$ZOS" => "2",
00118 "$ZP" => "2",
00119 "$ZS" => "2",
00120 "$ZSE" => "2",
00121 "$ZU" => "2",
00122 "$ZV" => "2",
00123 "$H" => "3",
00124 "$I" => "3",
00125 "$IO" => "3",
00126 "$J" => "3",
00127 "$K" => "3",
00128 "$SY" => "3",
00129 "$TL" => "3",
00130 "$X" => "3",
00131 "$Y" => "3",
00132 "$ZA" => "3",
00133 "$ZC" => "3",
00134 "$ZE" => "3",
00135 "$ZL" => "3",
00136 "$ZR" => "3",
00137 "$ZT" => "3",
00138 "^$DEVICE" => "4",
00139 "^$GLOBAL" => "4",
00140 "^$JOB" => "4",
00141 "^$LOCK" => "4",
00142 "^$ROUTINE" => "4",
00143 "=" => "5",
00144 "+" => "5",
00145 "-" => "5",
00146 "*" => "5",
00147 "_" => "5",
00148 "\\" => "5",
00149 "/" => "5",
00150 ":" => "5",
00151 "." => "5",
00152 "," => "5",
00153 "[" => "5",
00154 "]" => "5",
00155 "'" => "5",
00156 "<" => "5",
00157 ">" => "5",
00158 "@" => "5",
00159 "#" => "5",
00160 "^" => "6",
00161 "^(" => "6",
00162 "^;" => "6",
00163 "^," => "6",
00164 "(" => "6",
00165 ")" => "6",
00166 "APPEND" => "7",
00167 "NEWVERSION" => "7",
00168 "OVERWRITE" => "7");
00169
00170
00171
00172
00173
00174
00175
00176
00177
00178
00179
00180 $this->linkscripts = array(
00181 "1" => "donothing",
00182 "2" => "donothing",
00183 "3" => "donothing",
00184 "4" => "donothing",
00185 "5" => "donothing",
00186 "6" => "donothing",
00187 "7" => "donothing");
00188
00189 }
00190
00191
00192
00193 function donothing($keywordin)
00194 {
00195 return $keywordin;
00196 }
00197
00198 }
00199
00200 ?>