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

Public Member Functions

 HFile_asm75 ()
 
 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_asm75.php.

Member Function Documentation

◆ donothing()

HFile_asm75::donothing (   $keywordin)

Definition at line 421 of file HFile_asm75.php.

422  {
423  return $keywordin;
424  }

◆ HFile_asm75()

HFile_asm75::HFile_asm75 ( )

Definition at line 9 of file HFile_asm75.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // Asm 75x
15  /*************************************/
16  // Flags
17 
18  $this->nocase = "0";
19  $this->notrim = "0";
20  $this->perl = "0";
21 
22  // Colours
23 
24  $this->colours = array("blue", "purple", "gray", "brown", "blue");
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  "ADDC" => "1",
50  "ADDS" => "1",
51  "AND" => "1",
52  "AND1" => "1",
53  "BR" => "1",
54  "BRA" => "1",
55  "BRCB" => "1",
56  "BRK" => "1",
57  "CALL" => "1",
58  "CALLA" => "1",
59  "CALLF" => "1",
60  "CLR1" => "1",
61  "DECS" => "1",
62  "DI" => "1",
63  "EI" => "1",
64  "EQ" => "1",
65  "GE" => "1",
66  "GT" => "1",
67  "GETI" => "1",
68  "HALT" => "1",
69  "HIGH" => "1",
70  "IN" => "1",
71  "INCS" => "1",
72  "LOW" => "1",
73  "LT" => "1",
74  "MOD" => "1",
75  "MOV" => "1",
76  "MOV1" => "1",
77  "MOVT" => "1",
78  "NE" => "1",
79  "NOP" => "1",
80  "NOT" => "1",
81  "OR" => "1",
82  "OR1" => "1",
83  "OUT" => "1",
84  "OUT3" => "1",
85  "POP" => "1",
86  "PUSH" => "1",
87  "RET" => "1",
88  "RETI" => "1",
89  "RETS" => "1",
90  "ROLC" => "1",
91  "RORC" => "1",
92  "SEL" => "1",
93  "SEL1" => "1",
94  "SKE" => "1",
95  "SKF" => "1",
96  "SKT" => "1",
97  "SKTCLR" => "1",
98  "STOP" => "1",
99  "SUBC" => "1",
100  "SUBS" => "1",
101  "SHL" => "1",
102  "SHR" => "1",
103  "XCH" => "1",
104  "XOR" => "1",
105  "XOR1" => "1",
106  "CSEG" => "2",
107  "DB" => "2",
108  "DBIT" => "2",
109  "DS" => "2",
110  "DSEG" => "2",
111  "DW" => "2",
112  "END" => "2",
113  "EQU" => "2",
114  "EXTRN" => "2",
115  "NAME" => "2",
116  "ORG" => "2",
117  "PUBLIC" => "2",
118  "SET" => "2",
119  "STKLN" => "2",
120  "TBR" => "2",
121  "TCALL" => "2",
122  "VENT0" => "2",
123  "VENT1" => "2",
124  "VENT2" => "2",
125  "VENT3" => "2",
126  "VENT4" => "2",
127  "VENT5" => "2",
128  "VENT6" => "2",
129  "VENT7" => "2",
130  "$" => "3",
131  "MACRO" => "3",
132  "ENDM" => "3",
133  "EXITM" => "3",
134  "GLOBAL" => "3",
135  "IRP" => "3",
136  "IRPC" => "3",
137  "REPT" => "3",
138  "STACK" => "3",
139  "@BCDE" => "4",
140  "@BCXA" => "4",
141  "@DE" => "4",
142  "@DL" => "4",
143  "@HL" => "4",
144  "@HL+" => "4",
145  "@HL-" => "4",
146  "@PCDE" => "4",
147  "@PCXA" => "4",
148  "A" => "4",
149  "B" => "4",
150  "BC" => "4",
151  "BC\'" => "4",
152  "BCDE" => "4",
153  "BCXA" => "4",
154  "C" => "4",
155  "CY" => "4",
156  "D" => "4",
157  "DE" => "4",
158  "DE\'" => "4",
159  "E" => "4",
160  "H" => "4",
161  "HL" => "4",
162  "HL\'" => "4",
163  "HL+" => "4",
164  "HL-" => "4",
165  "L" => "4",
166  "MB0" => "4",
167  "MB1" => "4",
168  "MB2" => "4",
169  "MB3" => "4",
170  "MB4" => "4",
171  "MB5" => "4",
172  "MB6" => "4",
173  "MB7" => "4",
174  "MB8" => "4",
175  "MB9" => "4",
176  "MB10" => "4",
177  "MB11" => "4",
178  "MB12" => "4",
179  "MB13" => "4",
180  "MB14" => "4",
181  "MB15" => "4",
182  "PCDE" => "4",
183  "PCXA" => "4",
184  "RB0" => "4",
185  "RB1" => "4",
186  "RB2" => "4",
187  "RB3" => "4",
188  "RB4" => "4",
189  "RB5" => "4",
190  "RB6" => "4",
191  "RB7" => "4",
192  "RB8" => "4",
193  "RB9" => "4",
194  "RB10" => "4",
195  "RB11" => "4",
196  "RB12" => "4",
197  "RB13" => "4",
198  "RB14" => "4",
199  "RB15" => "4",
200  "X" => "4",
201  "XA" => "4",
202  "XA\'" => "4",
203  "ACKD" => "5",
204  "ACKE" => "5",
205  "ACKT" => "5",
206  "ADM" => "5",
207  "BP0" => "5",
208  "BP1" => "5",
209  "BP2" => "5",
210  "BP3" => "5",
211  "BP4" => "5",
212  "BP5" => "5",
213  "BP6" => "5",
214  "BP7" => "5",
215  "BS" => "5",
216  "BSB0" => "5",
217  "BSB1" => "5",
218  "BSB2" => "5",
219  "BSB3" => "5",
220  "BSYE" => "5",
221  "BT" => "5",
222  "BTM" => "5",
223  "CLOM" => "5",
224  "CMDD" => "5",
225  "CMDT" => "5",
226  "COI" => "5",
227  "CSIE" => "5",
228  "CSIE0" => "5",
229  "CSIE1" => "5",
230  "CSIM" => "5",
231  "CSIM0" => "5",
232  "CSIM1" => "5",
233  "DACE0" => "5",
234  "DACE1" => "5",
235  "DACS0" => "5",
236  "DACS1" => "5",
237  "DIGS" => "5",
238  "DIMS" => "5",
239  "DSPM" => "5",
240  "EOC" => "5",
241  "EOT" => "5",
242  "EWC" => "5",
243  "EWE" => "5",
244  "EWP" => "5",
245  "EWST" => "5",
246  "GATEC" => "5",
247  "IE" => "5",
248  "IE1" => "5",
249  "IE2" => "5",
250  "IE3" => "5",
251  "IE4" => "5",
252  "IEBT" => "5",
253  "IEBWT" => "5",
254  "IECSI" => "5",
255  "IECSIO" => "5",
256  "IEEE" => "5",
257  "IEKS" => "5",
258  "IEMFT" => "5",
259  "IEMT0" => "5",
260  "IEMT1" => "5",
261  "IEOW" => "5",
262  "IESIO" => "5",
263  "IET0" => "5",
264  "IET1" => "5",
265  "IETPG" => "5",
266  "IEW" => "5",
267  "IM0" => "5",
268  "IM1" => "5",
269  "IM2" => "5",
270  "IPS" => "5",
271  "IRQ1" => "5",
272  "IRQ2" => "5",
273  "IRQ3" => "5",
274  "IRQ4" => "5",
275  "IRQBT" => "5",
276  "IRQBWT" => "5",
277  "IRQCSI" => "5",
278  "IRQCSIO" => "5",
279  "IRQEE" => "5",
280  "IRQKS" => "5",
281  "IRQMFT" => "5",
282  "IRQMT0" => "5",
283  "IRQMT1" => "5",
284  "IRQOW" => "5",
285  "IRQSIO" => "5",
286  "IRQT0" => "5",
287  "IRQT1" => "5",
288  "IRQTPG" => "5",
289  "IRQW" => "5",
290  "IST0" => "5",
291  "IST1" => "5",
292  "KR0" => "5",
293  "KR1" => "5",
294  "KR2" => "5",
295  "KR3" => "5",
296  "KR4" => "5",
297  "KR5" => "5",
298  "KR6" => "5",
299  "KR7" => "5",
300  "KS0" => "5",
301  "KS1" => "5",
302  "KS2" => "5",
303  "KSF" => "5",
304  "LCDC" => "5",
305  "LCDM" => "5",
306  "LPS" => "5",
307  "MBE" => "5",
308  "MBS" => "5",
309  "MFTC" => "5",
310  "MFTH" => "5",
311  "MFTL" => "5",
312  "MFTM" => "5",
313  "MODH" => "5",
314  "MODL" => "5",
315  "MT0" => "5",
316  "MT1" => "5",
317  "MTM0" => "5",
318  "MTM1" => "5",
319  "MTOE0" => "5",
320  "MTOE1" => "5",
321  "MTOF0" => "5",
322  "MTOF1" => "5",
323  "PCC" => "5",
324  "PDGB" => "5",
325  "PMGA" => "5",
326  "PMGB" => "5",
327  "PMGC" => "5",
328  "PMGD" => "5",
329  "PMGE" => "5",
330  "POGA" => "5",
331  "POGB" => "5",
332  "POGC" => "5",
333  "POGD" => "5",
334  "PONF" => "5",
335  "PORT0" => "5",
336  "PORT1" => "5",
337  "PORT2" => "5",
338  "PORT3" => "5",
339  "PORT4" => "5",
340  "PORT5" => "5",
341  "PORT6" => "5",
342  "PORT7" => "5",
343  "PORT8" => "5",
344  "PORT9" => "5",
345  "PORT10" => "5",
346  "PORT11" => "5",
347  "PORT12" => "5",
348  "PORT13" => "5",
349  "PORT14" => "5",
350  "PORT15" => "5",
351  "PORT16" => "5",
352  "PORT17" => "5",
353  "PORT18" => "5",
354  "PORT19" => "5",
355  "PORT20" => "5",
356  "PORTH" => "5",
357  "PSW" => "5",
358  "PTH0" => "5",
359  "PTH1" => "5",
360  "PTHM" => "5",
361  "RBE" => "5",
362  "RBS" => "5",
363  "RELD" => "5",
364  "RELOAD" => "5",
365  "RELT" => "5",
366  "SA" => "5",
367  "SBS" => "5",
368  "SCC" => "5",
369  "SEGEX" => "5",
370  "SIO" => "5",
371  "SIO0" => "5",
372  "SIO1" => "5",
373  "SIOM" => "5",
374  "SOC" => "5",
375  "SP" => "5",
376  "STATA" => "5",
377  "STATB" => "5",
378  "SVA" => "5",
379  "T0" => "5",
380  "T1" => "5",
381  "TBC0" => "5",
382  "TBC4" => "5",
383  "TBC8" => "5",
384  "TBCM" => "5",
385  "TGC" => "5",
386  "TGM" => "5",
387  "TGS" => "5",
388  "TI0" => "5",
389  "TI1" => "5",
390  "TM0" => "5",
391  "TM1" => "5",
392  "TMOD0" => "5",
393  "TMOD1" => "5",
394  "TO0" => "5",
395  "TO1" => "5",
396  "TOE0" => "5",
397  "TOE1" => "5",
398  "TOF0" => "5",
399  "TOF1" => "5",
400  "TPGM" => "5",
401  "WDTM" => "5",
402  "WM" => "5",
403  "WUP" => "5");
404 
405  // Special extensions
406 
407  // Each category can specify a PHP function that returns an altered
408  // version of the keyword.
409 
410 
411 
412  $this->linkscripts = array(
413  "1" => "donothing",
414  "2" => "donothing",
415  "3" => "donothing",
416  "4" => "donothing",
417  "5" => "donothing");
418  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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