00001 <?php
00002 $BEAUT_PATH = realpath(".")."/syntax_highlight/php";
00003 if (!isset ($BEAUT_PATH)) return;
00004 require_once("$BEAUT_PATH/Beautifier/HFile.php");
00005
00006 class HFile_ada95 extends HFile
00007 {
00008
00009 function HFile_ada95()
00010 {
00011 $this->HFile();
00012
00013
00014
00015
00016
00017
00018
00019 $this->nocase = "1";
00020 $this->notrim = "0";
00021 $this->perl = "0";
00022
00023
00024
00025 $this->colours = array("blue", "purple", "gray");
00026 $this->quotecolour = "blue";
00027 $this->blockcommentcolour = "green";
00028 $this->linecommentcolour = "green";
00029
00030
00031
00032 $this->indent = array();
00033 $this->unindent = array();
00034
00035
00036
00037 $this->stringchars = array("\"", "'");
00038 $this->delimiters = array();
00039 $this->escchar = "";
00040
00041
00042
00043 $this->linecommenton = array("--");
00044 $this->blockcommenton = array("");
00045 $this->blockcommentoff = array("");
00046
00047
00048
00049 $this->keywords = array(
00050 "abort" => "1",
00051 "abs" => "1",
00052 "abstract" => "1",
00053 "accept" => "1",
00054 "access" => "1",
00055 "aliased" => "1",
00056 "all" => "1",
00057 "and" => "1",
00058 "array" => "1",
00059 "at" => "1",
00060 "begin" => "1",
00061 "body" => "1",
00062 "case" => "1",
00063 "constant" => "1",
00064 "declare" => "1",
00065 "delay" => "1",
00066 "delta" => "1",
00067 "digits" => "1",
00068 "do" => "1",
00069 "else" => "1",
00070 "elsif" => "1",
00071 "end" => "1",
00072 "entry" => "1",
00073 "exception" => "1",
00074 "exit" => "1",
00075 "for" => "1",
00076 "function" => "1",
00077 "goto" => "1",
00078 "generic" => "1",
00079 "if" => "1",
00080 "in" => "1",
00081 "is" => "1",
00082 "limited" => "1",
00083 "loop" => "1",
00084 "mod" => "1",
00085 "new" => "1",
00086 "not" => "1",
00087 "null" => "1",
00088 "of" => "1",
00089 "or" => "1",
00090 "others" => "1",
00091 "out" => "1",
00092 "package" => "1",
00093 "pragma" => "1",
00094 "private" => "1",
00095 "procedure" => "1",
00096 "protected" => "1",
00097 "raise" => "1",
00098 "range" => "1",
00099 "record" => "1",
00100 "rem" => "1",
00101 "renames" => "1",
00102 "requeue" => "1",
00103 "return" => "1",
00104 "reverse" => "1",
00105 "select" => "1",
00106 "separate" => "1",
00107 "subtype" => "1",
00108 "tagged" => "1",
00109 "task" => "1",
00110 "terminate" => "1",
00111 "then" => "1",
00112 "type" => "1",
00113 "until" => "1",
00114 "use" => "1",
00115 "when" => "1",
00116 "while" => "1",
00117 "with" => "1",
00118 "xor" => "1",
00119 "boolean" => "2",
00120 "integer" => "2",
00121 "false" => "2",
00122 "float" => "2",
00123 "natural" => "2",
00124 "positive" => "2",
00125 "real" => "2",
00126 "true" => "2",
00127 "vector" => "2",
00128 ".." => "3");
00129
00130
00131
00132
00133
00134
00135 $this->linkscripts = array(
00136 "1" => "donothing",
00137 "2" => "donothing",
00138 "3" => "donothing");
00139 }
00140
00141
00142
00143 function donothing($keywordin)
00144 {
00145 return $keywordin;
00146 }
00147
00148 }?>