ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_asm2106 Class Reference
+ Inheritance diagram for HFile_asm2106:
+ Collaboration diagram for HFile_asm2106:

Public Member Functions

 HFile_asm2106 ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 __construct ()
 
 parse_file ($file)
 
 to_perl ($stub, $tofile=1)
 
 to_php ($stub, $tofile=1)
 
 _get_categories ()
 
 _dump_linkscripts ()
 
 _dump_perl_linkscripts ()
 
 _dump_perl_defaultscripts ()
 
 _dump_colours ()
 
 _dump_var ($variable, $name)
 
 _dump_array ($array, $name)
 
 _dump_perl_array ($array, $name)
 
 _dump_hash ($hash, $name)
 
 _dump_perl_hash ($hash, $name)
 

Detailed Description

Definition at line 7 of file HFile_asm2106.php.

Member Function Documentation

◆ donothing()

HFile_asm2106::donothing (   $keywordin)

Definition at line 502 of file HFile_asm2106.php.

503  {
504  return $keywordin;
505  }

◆ HFile_asm2106()

HFile_asm2106::HFile_asm2106 ( )

Definition at line 9 of file HFile_asm2106.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // 2106x Assembly
15  /*************************************/
16  // Flags
17 
18  $this->nocase = "1";
19  $this->notrim = "0";
20  $this->perl = "0";
21 
22  // Colours
23 
24  $this->colours = array("blue", "purple", "gray", "brown");
25  $this->quotecolour = "blue";
26  $this->blockcommentcolour = "green";
27  $this->linecommentcolour = "green";
28 
29  // Indent Strings
30 
31  $this->indent = array();
32  $this->unindent = array();
33 
34  // String characters and delimiters
35 
36  $this->stringchars = array("\"", "'");
37  $this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
38  $this->escchar = "";
39 
40  // Comment settings
41 
42  $this->linecommenton = array("{");
43  $this->blockcommenton = array("/*");
44  $this->blockcommentoff = array("*/");
45 
46  // Keywords (keyword mapping to colour number)
47 
48  $this->keywords = array(
49  "#define" => "1",
50  "#error" => "1",
51  "#include" => "1",
52  "#elif" => "1",
53  "#if" => "1",
54  "#line" => "1",
55  "#else" => "1",
56  "#ifdef" => "1",
57  "#pragma" => "1",
58  "#endif" => "1",
59  "#ifndef" => "1",
60  "#undef" => "1",
61  "abs" => "1",
62  "AC" => "1",
63  "AF" => "1",
64  "AI" => "1",
65  "AIS" => "1",
66  "ALUSAT" => "1",
67  "AN" => "1",
68  "and" => "1",
69  "AOS" => "1",
70  "AS" => "1",
71  "ashift" => "1",
72  "astat" => "1",
73  "AUS" => "1",
74  "AV" => "1",
75  "AVS" => "1",
76  "AZ" => "1",
77  "bclr" => "1",
78  "BCNT" => "1",
79  "bit" => "1",
80  "bitrev" => "1",
81  "BMAX" => "1",
82  "BR0" => "1",
83  "BR8" => "1",
84  "bset" => "1",
85  "BTF" => "1",
86  "btgl" => "1",
87  "btst" => "1",
88  "BUSLK" => "1",
89  "by" => "1",
90  "C0" => "1",
91  "C1" => "1",
92  "C4" => "1",
93  "C5" => "1",
94  "C6" => "1",
95  "C7" => "1",
96  "C8" => "1",
97  "C9" => "1",
98  "CACC0" => "1",
99  "CACC1" => "1",
100  "CACC2" => "1",
101  "CACC3" => "1",
102  "CACC4" => "1",
103  "CACC5" => "1",
104  "CACC6" => "1",
105  "CACC7" => "1",
106  "CADIS" => "1",
107  "CAFRZ" => "1",
108  "call" => "1",
109  "CB15I" => "1",
110  "CB15S" => "1",
111  "CB7I" => "1",
112  "CB7S" => "1",
113  "cjump" => "1",
114  "clip" => "1",
115  "clr" => "1",
116  "comp" => "1",
117  "copysign" => "1",
118  "CP0" => "1",
119  "CP1" => "1",
120  "CP4" => "1",
121  "CP5" => "1",
122  "CP6" => "1",
123  "CP7" => "1",
124  "CP8" => "1",
125  "CP9" => "1",
126  "CSEL" => "1",
127  "DA0" => "1",
128  "DA1" => "1",
129  "DA4" => "1",
130  "DA5" => "1",
131  "DB0" => "1",
132  "DB1" => "1",
133  "DB4" => "1",
134  "DB5" => "1",
135  "dm" => "1",
136  "DMAC6" => "1",
137  "DMAC7" => "1",
138  "DMAC8" => "1",
139  "DMAC9" => "1",
140  "DMASTAT" => "1",
141  "do" => "1",
142  "EC6" => "1",
143  "EC7" => "1",
144  "EC8" => "1",
145  "EC9" => "1",
146  "EI6" => "1",
147  "EI7" => "1",
148  "EI8" => "1",
149  "EI9" => "1",
150  "ELAST" => "1",
151  "EM6" => "1",
152  "EM7" => "1",
153  "EM8" => "1",
154  "EM9" => "1",
155  "endseg" => "1",
156  "EP0I" => "1",
157  "EP1I" => "1",
158  "EP2I" => "1",
159  "EP3I" => "1",
160  "EPB0" => "1",
161  "EPB1" => "1",
162  "EPB2" => "1",
163  "EPB3" => "1",
164  "extern" => "1",
165  "fdep" => "1",
166  "fext" => "1",
167  "fix" => "1",
168  "FIXI" => "1",
169  "FLG0" => "1",
170  "FLG0O" => "1",
171  "FLG1" => "1",
172  "FLG1O" => "1",
173  "FLG2" => "1",
174  "FLG2O" => "1",
175  "FLG3" => "1",
176  "FLG3O" => "1",
177  "float" => "1",
178  "FLTII" => "1",
179  "FLTOI" => "1",
180  "FLTUI" => "1",
181  "fpack" => "1",
182  "funpack" => "1",
183  "global" => "1",
184  "GP0" => "1",
185  "GP1" => "1",
186  "GP4" => "1",
187  "GP5" => "1",
188  "GP6" => "1",
189  "GP7" => "1",
190  "GP8" => "1",
191  "GP9" => "1",
192  "idle" => "1",
193  "idle16" => "1",
194  "if" => "1",
195  "II0" => "1",
196  "II1" => "1",
197  "II2" => "1",
198  "II4" => "1",
199  "II5" => "1",
200  "II6" => "1",
201  "II7" => "1",
202  "II8" => "1",
203  "II9" => "1",
204  "IM0" => "1",
205  "IM1" => "1",
206  "IM2" => "1",
207  "IM4" => "1",
208  "IM5" => "1",
209  "IM6" => "1",
210  "IM7" => "1",
211  "IM8" => "1",
212  "IM9" => "1",
213  "imask" => "1",
214  "imaskp" => "1",
215  "IRPTEN" => "1",
216  "irptl" => "1",
217  "IRQ0E" => "1",
218  "IRQ0I" => "1",
219  "IRQ1E" => "1",
220  "IRQ1I" => "1",
221  "IRQ2E" => "1",
222  "IRQ2I" => "1",
223  "je" => "1",
224  "jne" => "1",
225  "jump" => "1",
226  "lce" => "1",
227  "lcntr" => "1",
228  "lefto" => "1",
229  "leftz" => "1",
230  "logb" => "1",
231  "LSEM" => "1",
232  "lshift" => "1",
233  "LSOV" => "1",
234  "mant" => "1",
235  "max" => "1",
236  "MI" => "1",
237  "min" => "1",
238  "MIS" => "1",
239  "MN" => "1",
240  "mode1" => "1",
241  "mode2" => "1",
242  "modify" => "1",
243  "MOS" => "1",
244  "MSGR0" => "1",
245  "MSGR1" => "1",
246  "MSGR2" => "1",
247  "MSGR3" => "1",
248  "MSGR4" => "1",
249  "MSGR5" => "1",
250  "MSGR6" => "1",
251  "MSGR7" => "1",
252  "MU" => "1",
253  "MUS" => "1",
254  "MV" => "1",
255  "MVS" => "1",
256  "NESTM" => "1",
257  "nop" => "1",
258  "not" => "1",
259  "or" => "1",
260  "pass" => "1",
261  "PCEM" => "1",
262  "PCFL" => "1",
263  "pm" => "1",
264  "pop" => "1",
265  "push" => "1",
266  "px" => "1",
267  "px1" => "1",
268  "px2" => "1",
269  "recips" => "1",
270  "rframe" => "1",
271  "rnd" => "1",
272  "RND32" => "1",
273  "rot" => "1",
274  "rsqrts" => "1",
275  "RSTI" => "1",
276  "rti" => "1",
277  "rts" => "1",
278  "sat" => "1",
279  "scalb" => "1",
280  "segment" => "1",
281  "set" => "1",
282  "SFT0I" => "1",
283  "SFT1I" => "1",
284  "SFT2I" => "1",
285  "SFT3I" => "1",
286  "SOVFI" => "1",
287  "SPR0I" => "1",
288  "SPR1I" => "1",
289  "SPT0I" => "1",
290  "SPT1I" => "1",
291  "SRCU" => "1",
292  "SRD1H" => "1",
293  "SRD1L" => "1",
294  "SRD2H" => "1",
295  "SRD2L" => "1",
296  "SRRFH" => "1",
297  "SRRFL" => "1",
298  "SS" => "1",
299  "SSE" => "1",
300  "SSEM" => "1",
301  "SSOV" => "1",
302  "stky" => "1",
303  "SV" => "1",
304  "SYSCON" => "1",
305  "SYSTAT" => "1",
306  "SZ" => "1",
307  "TCOUNT" => "1",
308  "tgl" => "1",
309  "TIMEN" => "1",
310  "TMZHI" => "1",
311  "TMZLI" => "1",
312  "TPERIOD" => "1",
313  "trunc" => "1",
314  "TRUNCATE" => "1",
315  "tst" => "1",
316  "until" => "1",
317  "ustat1" => "1",
318  "ustat2" => "1",
319  "var" => "1",
320  "VIRPT" => "1",
321  "VIRPTI" => "1",
322  "WAIT" => "1",
323  "xor" => "1",
324  "CP2" => "2",
325  "DA2" => "2",
326  "DB2" => "2",
327  "GP2" => "2",
328  "II3" => "2",
329  "IM3" => "2",
330  "BSO" => "3",
331  "BSYN" => "3",
332  "CP3" => "3",
333  "CRBM" => "3",
334  "DA3" => "3",
335  "DB3" => "3",
336  "DCPR" => "3",
337  "DWPD" => "3",
338  "EBPR00" => "3",
339  "EBPR01" => "3",
340  "EBPR10" => "3",
341  "GP3" => "3",
342  "HMSWF" => "3",
343  "HPFLSH" => "3",
344  "HPM00" => "3",
345  "HPM01" => "3",
346  "HPM10" => "3",
347  "HPM11" => "3",
348  "HPS" => "3",
349  "HSTM" => "3",
350  "IDC" => "3",
351  "IIVT" => "3",
352  "IMDW0X" => "3",
353  "IMDW1X" => "3",
354  "IMGR" => "3",
355  "IWT" => "3",
356  "KEYMASK0" => "3",
357  "KEYMASK1" => "3",
358  "KEYWD0" => "3",
359  "KEYWD1" => "3",
360  "MRCCS0" => "3",
361  "MRCCS1" => "3",
362  "MRCS0" => "3",
363  "MRCS1" => "3",
364  "MTCCS0" => "3",
365  "MTCCS1" => "3",
366  "MTCS0" => "3",
367  "MTCS1" => "3",
368  "RCNT0" => "3",
369  "RCNT1" => "3",
370  "RDIV0" => "3",
371  "RDIV1" => "3",
372  "RX0" => "3",
373  "RX1" => "3",
374  "SPATH0" => "3",
375  "SPATH1" => "3",
376  "SPCNT0" => "3",
377  "SPCNT1" => "3",
378  "SRCTL0" => "3",
379  "SRCTL1" => "3",
380  "SRST" => "3",
381  "STCTL0" => "3",
382  "STCTL1" => "3",
383  "TCNT0" => "3",
384  "TCNT1" => "3",
385  "TDIV0" => "3",
386  "TDIV1" => "3",
387  "TX0" => "3",
388  "TX1" => "3",
389  "VIPD" => "3",
390  "b0" => "4",
391  "b1" => "4",
392  "b10" => "4",
393  "b11" => "4",
394  "b12" => "4",
395  "b13" => "4",
396  "b14" => "4",
397  "b15" => "4",
398  "b2" => "4",
399  "b3" => "4",
400  "b4" => "4",
401  "b5" => "4",
402  "b6" => "4",
403  "b7" => "4",
404  "b8" => "4",
405  "b9" => "4",
406  "f0" => "4",
407  "f1" => "4",
408  "f10" => "4",
409  "f11" => "4",
410  "f12" => "4",
411  "f13" => "4",
412  "f14" => "4",
413  "f15" => "4",
414  "f2" => "4",
415  "f3" => "4",
416  "f4" => "4",
417  "f5" => "4",
418  "f6" => "4",
419  "f7" => "4",
420  "f8" => "4",
421  "f9" => "4",
422  "i0" => "4",
423  "i1" => "4",
424  "i10" => "4",
425  "i11" => "4",
426  "i12" => "4",
427  "i13" => "4",
428  "i14" => "4",
429  "i15" => "4",
430  "i2" => "4",
431  "i3" => "4",
432  "i4" => "4",
433  "i5" => "4",
434  "i6" => "4",
435  "i7" => "4",
436  "i8" => "4",
437  "i9" => "4",
438  "l0" => "4",
439  "l1" => "4",
440  "l10" => "4",
441  "l11" => "4",
442  "l12" => "4",
443  "l13" => "4",
444  "l14" => "4",
445  "l15" => "4",
446  "l2" => "4",
447  "l3" => "4",
448  "l4" => "4",
449  "l5" => "4",
450  "l6" => "4",
451  "l7" => "4",
452  "l8" => "4",
453  "l9" => "4",
454  "m0" => "4",
455  "m1" => "4",
456  "m10" => "4",
457  "m11" => "4",
458  "m12" => "4",
459  "m13" => "4",
460  "m14" => "4",
461  "m15" => "4",
462  "m2" => "4",
463  "m3" => "4",
464  "m4" => "4",
465  "m5" => "4",
466  "m6" => "4",
467  "m7" => "4",
468  "m8" => "4",
469  "m9" => "4",
470  "r0" => "4",
471  "r1" => "4",
472  "r10" => "4",
473  "r11" => "4",
474  "r12" => "4",
475  "r13" => "4",
476  "r14" => "4",
477  "r15" => "4",
478  "r2" => "4",
479  "r3" => "4",
480  "r4" => "4",
481  "r5" => "4",
482  "r6" => "4",
483  "r7" => "4",
484  "r8" => "4",
485  "r9" => "4");
486 
487  // Special extensions
488 
489  // Each category can specify a PHP function that returns an altered
490  // version of the keyword.
491 
492 
493 
494  $this->linkscripts = array(
495  "1" => "donothing",
496  "2" => "donothing",
497  "3" => "donothing",
498  "4" => "donothing");
499  }
Create styles array
The data for the language used.
Definition: HFile.php:21

The documentation for this class was generated from the following file: