00001 <?php
00002 $BEAUT_PATH = realpath(".")."/syntax_highlight/php";
00003 if (!isset ($BEAUT_PATH)) return;
00004 require_once("$BEAUT_PATH/Beautifier/HFile.php");
00005 class HFile_fas extends HFile{
00006 function HFile_fas(){
00007 $this->HFile();
00008
00009
00010
00011
00012
00013
00014 $this->nocase = "0";
00015 $this->notrim = "0";
00016 $this->perl = "0";
00017
00018
00019
00020 $this->colours = array("blue", "purple", "gray");
00021 $this->quotecolour = "blue";
00022 $this->blockcommentcolour = "green";
00023 $this->linecommentcolour = "green";
00024
00025
00026
00027 $this->indent = array("else\"\")\"\"(\"\"1\"\"2\"\"3\"\"4\"\"5\"\"6\"\"7\"\"8\"\"9\"\"0\"\"\"");
00028 $this->unindent = array("end", "else", "#");
00029
00030
00031
00032 $this->stringchars = array();
00033 $this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "|", "\\", "/", "{", "}", "[", "]", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
00034 $this->escchar = "";
00035
00036
00037
00038 $this->linecommenton = array("");
00039 $this->blockcommenton = array("");
00040 $this->blockcommentoff = array("");
00041
00042
00043
00044 $this->keywords = array(
00045 "all" => "1",
00046 "begin" => "1",
00047 "Comment" => "1",
00048 "Call" => "1",
00049 "Clip" => "1",
00050 "Command" => "1",
00051 "Duplicate" => "1",
00052 "Drag" => "2",
00053 "End" => "1",
00054 "Else" => "1",
00055 "FS" => "1",
00056 "Frame" => "1",
00057 "get" => "1",
00058 "go" => "1",
00059 "Getproperty" => "1",
00060 "High" => "2",
00061 "If" => "1",
00062 "Loop" => "1",
00063 "Load" => "1",
00064 "Loaded" => "1",
00065 "Movie" => "1",
00066 "Next" => "1",
00067 "Play" => "1",
00068 "Property" => "1",
00069 "Previous" => "1",
00070 "Quality" => "1",
00071 "Remove" => "1",
00072 "Set" => "1",
00073 "Start" => "1",
00074 "Stop" => "1",
00075 "Sounds" => "1",
00076 "sp" => "1",
00077 "sv" => "1",
00078 "Trace" => "1",
00079 "Toggle" => "1",
00080 "tell" => "1",
00081 "Target" => "1",
00082 "to" => "1",
00083 "URL" => "1",
00084 "Variable" => "1",
00085 "While" => "1",
00086 "Alpha" => "2",
00087 "B=" => "2",
00088 "buffer" => "2",
00089 "Over" => "2",
00090 "Out" => "2",
00091 "focus" => "2",
00092 "Key:" => "2",
00093 "L=" => "2",
00094 "lockcenter" => "2",
00095 "Name" => "2",
00096 "Outside" => "2",
00097 "Press" => "2",
00098 "Position" => "2",
00099 "Rotation" => "2",
00100 "R" => "2",
00101 "Release" => "2",
00102 "Roll" => "2",
00103 "rectangle" => "2",
00104 "Show" => "2",
00105 "Sound" => "2",
00106 "Scale" => "2",
00107 "T=" => "2",
00108 "time" => "2",
00109 "vars" => "2",
00110 "visibility" => "2",
00111 "window" => "2",
00112 "X" => "2",
00113 "Y" => "2",
00114 "_currentframe" => "3",
00115 "_x" => "3",
00116 "_y" => "3",
00117 "_width" => "3",
00118 "_height" => "3",
00119 "_rotation" => "3",
00120 "_target" => "3",
00121 "_name" => "3",
00122 "_xscale" => "3",
00123 "_yscale" => "3",
00124 "_droptarget" => "3",
00125 "_visible" => "3",
00126 "_alpha" => "3",
00127 "_framesloaded" => "3",
00128 "_totalframes" => "3",
00129 "and" => "3",
00130 "Chr" => "3",
00131 "Eval" => "3",
00132 "eq" => "3",
00133 "False" => "3",
00134 "GetTimer" => "3",
00135 "ge" => "3",
00136 "gt" => "3",
00137 "Int" => "3",
00138 "Length" => "3",
00139 "le" => "3",
00140 "lt" => "3",
00141 "Newline" => "3",
00142 "ne" => "3",
00143 "not" => "3",
00144 "Ord" => "3",
00145 "or" => "3",
00146 "Random" => "3",
00147 "Substring" => "3",
00148 "True" => "3");
00149
00150
00151
00152
00153
00154
00155
00156
00157 $this->linkscripts = array(
00158 "1" => "donothing",
00159 "2" => "donothing",
00160 "3" => "donothing");
00161 }
00162
00163
00164 function donothing($keywordin)
00165 {
00166 return $keywordin;
00167 }
00168
00169 }?>