ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
HFile_linker.php
Go to the documentation of this file.
1<?php
2$BEAUT_PATH = realpath(".")."/Services/COPage/syntax_highlight/php";
3if (!isset ($BEAUT_PATH)) return;
4require_once("$BEAUT_PATH/Beautifier/HFile.php");
5 class HFile_linker extends HFile{
6 function HFile_linker(){
7 $this->HFile();
8/*************************************/
9// Beautifier Highlighting Configuration File
10// Linker File
11/*************************************/
12// Flags
13
14$this->nocase = "1";
15$this->notrim = "0";
16$this->perl = "0";
17
18// Colours
19
20$this->colours = array("blue", "purple", "gray", "brown", "blue", "purple", "gray", "brown");
21$this->quotecolour = "blue";
22$this->blockcommentcolour = "green";
23$this->linecommentcolour = "green";
24
25// Indent Strings
26
27$this->indent = array();
28$this->unindent = array();
29
30// String characters and delimiters
31
32$this->stringchars = array();
33$this->delimiters = array("+", "?", "(", ")", ":", ";", "\\", " ", ",", " ", "-");
34$this->escchar = "";
35
36// Comment settings
37
38$this->linecommenton = array(";");
39$this->blockcommenton = array("");
40$this->blockcommentoff = array("");
41
42// Keywords (keyword mapping to colour number)
43
44$this->keywords = array(
45 "HD" => "1",
46 "HEADER" => "1",
47 "LISTREGISTERS" => "1",
48 "LISTSYMBOLS" => "1",
49 "LRG" => "1",
50 "LSY" => "1",
51 "MA" => "1",
52 "MAP" => "1",
53 "NOHD" => "1",
54 "NOHEADER" => "1",
55 "NOLISTREGISTERS" => "1",
56 "NOLISTSYMBOLS" => "1",
57 "NOLRG" => "1",
58 "NOLSY" => "1",
59 "NOMA" => "1",
60 "NOMAP" => "1",
61 "NOPR" => "1",
62 "NOPRINT" => "1",
63 "PR" => "1",
64 "PRINT" => "1",
65 "AS" => "2",
66 "ASSIGN" => "2",
67 "CM" => "2",
68 "COMMENTS" => "2",
69 "DB" => "2",
70 "DEBUG" => "2",
71 "EC" => "2",
72 "EX" => "2",
73 "EXCEPT" => "2",
74 "EXTERNS" => "2",
75 "GL" => "2",
76 "GLOBALS" => "2",
77 "GR" => "2",
78 "GROUPS" => "2",
79 "IN" => "2",
80 "INTNRS" => "2",
81 "LC" => "2",
82 "LINES" => "2",
83 "LN" => "2",
84 "LOCALS" => "2",
85 "NOCM" => "2",
86 "NOCOMMENTS" => "2",
87 "NODB" => "2",
88 "NODEBUG" => "2",
89 "NOGL" => "2",
90 "NOGLOBALS" => "2",
91 "NOLC" => "2",
92 "NOLINES" => "2",
93 "NOLN" => "2",
94 "NOLOCALS" => "2",
95 "NOPB" => "2",
96 "NOPU" => "2",
97 "NOPUBLICS" => "2",
98 "NOPURGE" => "2",
99 "NOSB" => "2",
100 "NOSM" => "2",
101 "NOSYMB" => "2",
102 "OBJECTCONTROLS" => "2",
103 "OC" => "2",
104 "PB" => "2",
105 "PC" => "2",
106 "PRINTCONTROLS" => "2",
107 "PU" => "2",
108 "PUBLICS" => "2",
109 "PURGE" => "2",
110 "RENAMESYMBOLS" => "2",
111 "RS" => "2",
112 "SB" => "2",
113 "SC" => "2",
114 "SM" => "2",
115 "SYMB" => "2",
116 "SYMBOLCOLUMNS" => "2",
117 "DA" => "3",
118 "DATE" => "3",
119 "NOPA" => "3",
120 "NOPAGING" => "3",
121 "PA" => "3",
122 "PAGELENGTH" => "3",
123 "PAGEWIDTH" => "3",
124 "PAGING" => "3",
125 "PL" => "3",
126 "PW" => "3",
127 "TITLE" => "3",
128 "TT" => "3",
129 "AD" => "4",
130 "ADDRESSES" => "4",
131 "CL" => "4",
132 "CLASSES" => "4",
133 "FP" => "4",
134 "FPS" => "4",
135 "FPSTACKSIZE" => "4",
136 "HEAPSIZE" => "4",
137 "HP" => "4",
138 "HS" => "4",
139 "INTTBL" => "4",
140 "IR" => "4",
141 "IRAM" => "4",
142 "IRAMSIZE" => "4",
143 "IS" => "4",
144 "IT" => "4",
145 "LINEAR" => "4",
146 "LR" => "4",
147 "ME" => "4",
148 "MEMORY" => "4",
149 "NOIR" => "4",
150 "NOIRAM" => "4",
151 "NOSAL" => "4",
152 "NOSORTALIGN" => "4",
153 "NOVECINIT" => "4",
154 "NOVECTAB" => "4",
155 "NOVI" => "4",
156 "NOVT" => "4",
157 "OR" => "4",
158 "ORDER" => "4",
159 "OVERLAY" => "4",
160 "OVL" => "4",
161 "PECPTR" => "4",
162 "PP" => "4",
163 "RAM" => "4",
164 "RB" => "4",
165 "RBANK" => "4",
166 "RE" => "4",
167 "RESERVE" => "4",
168 "ROM" => "4",
169 "SAL" => "4",
170 "SE" => "4",
171 "SECSIZE" => "4",
172 "SECTIONS" => "4",
173 "SETNOSGDPP" => "4",
174 "SND" => "4",
175 "SORTALIGN" => "4",
176 "SS" => "4",
177 "SY" => "4",
178 "SYSSTACK" => "4",
179 "VECINIT" => "4",
180 "VECTAB" => "4",
181 "VI" => "4",
182 "VT" => "4",
183 "(" => "5",
184 ")" => "5",
185 "+" => "5",
186 "," => "5",
187 "-" => "5",
188 "?" => "5",
189 "CA" => "6",
190 "CASE" => "6",
191 "CC" => "6",
192 "CHECKCLASSES" => "6",
193 "GENERAL" => "6",
194 "GLOBALSONLY" => "6",
195 "GN" => "6",
196 "GO" => "6",
197 "INT" => "6",
198 "INTERRUPT" => "6",
199 "LIBPATH" => "6",
200 "LINK" => "6",
201 "LNK" => "6",
202 "LOC" => "6",
203 "LOCATE" => "6",
204 "LP" => "6",
205 "MODPATH" => "6",
206 "MP" => "6",
207 "NA" => "6",
208 "NAME" => "6",
209 "NOCA" => "6",
210 "NOCASE" => "6",
211 "NOCC" => "6",
212 "NOCHECKCLASSES" => "6",
213 "NOST" => "6",
214 "NOSTRICTTASK" => "6",
215 "NOTY" => "6",
216 "NOTYPE" => "6",
217 "NOWA" => "6",
218 "NOWARNING" => "6",
219 "PO" => "6",
220 "PTOG" => "6",
221 "PUBLICSONLY" => "6",
222 "PUBTOGLB" => "6",
223 "ST" => "6",
224 "STRICTTASK" => "6",
225 "TY" => "6",
226 "TYPE" => "6",
227 "WA" => "6",
228 "WARNING" => "6",
229 "CBITS" => "7",
230 "CBITWORDS" => "7",
231 "CFAR" => "7",
232 "CFARROM" => "7",
233 "CHUGE" => "7",
234 "CHUGEROM" => "7",
235 "CINITROM" => "7",
236 "CIRAM" => "7",
237 "CNEAR" => "7",
238 "CNEAR2" => "7",
239 "CPROGRAM" => "7",
240 "CROM" => "7",
241 "CSHUGE" => "7",
242 "CSHUGEROM" => "7",
243 "CSYSTEM" => "7",
244 "CUSTACK" => "7",
245 "C_INIT" => "7",
246 "CLIBRARY" => "8",
247 "RTLIBRARY" => "8",
248 "SHAREDCLIB" => "8",
249 "SHAREDRTLIB" => "8");
250
251// Special extensions
252
253// Each category can specify a PHP function that returns an altered
254// version of the keyword.
255
256
257
258$this->linkscripts = array(
259 "1" => "donothing",
260 "2" => "donothing",
261 "3" => "donothing",
262 "4" => "donothing",
263 "5" => "donothing",
264 "6" => "donothing",
265 "7" => "donothing",
266 "8" => "donothing");
267}
268
269
270function donothing($keywordin)
271{
272 return $keywordin;
273}
274
275}?>
$BEAUT_PATH
Definition: HFile_linker.php:2
donothing($keywordin)