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

Public Member Functions

 HFile_asmrds500 ()
 
 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_asmrds500.php.

Member Function Documentation

◆ donothing()

HFile_asmrds500::donothing (   $keywordin)

Definition at line 248 of file HFile_asmrds500.php.

249  {
250  return $keywordin;
251  }

◆ HFile_asmrds500()

HFile_asmrds500::HFile_asmrds500 ( )

Definition at line 9 of file HFile_asmrds500.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // Assembler RDS-500
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", "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  "ASMB" => "1",
50  "BLK" => "1",
51  "BLOW" => "1",
52  "BYTE" => "1",
53  "CHAD" => "1",
54  "DATA" => "1",
55  "DATE" => "1",
56  "DFLD" => "1",
57  "DFLH" => "1",
58  "DFLI" => "1",
59  "DFLM" => "1",
60  "DFLR" => "1",
61  "DO" => "1",
62  "DPI" => "1",
63  "DPR" => "1",
64  "EJCT" => "1",
65  "END" => "1",
66  "ENDC" => "1",
67  "ENDP" => "1",
68  "EQU" => "1",
69  "EXIT" => "1",
70  "INCLUDE" => "1",
71  "IS" => "1",
72  "LABL" => "1",
73  "LIBR" => "1",
74  "LIST" => "1",
75  "LOAD" => "1",
76  "LORG" => "1",
77  "NLST" => "1",
78  "NPRINT" => "1",
79  "NTRY" => "1",
80  "ORIG" => "1",
81  "PAGE" => "1",
82  "PRINT" => "1",
83  "PROC" => "1",
84  "PALS" => "1",
85  "RES" => "1",
86  "RQS" => "1",
87  "SKAD" => "1",
88  "SPAC" => "1",
89  "SPR" => "1",
90  "SUBR" => "1",
91  "TEXT" => "1",
92  "TRUE" => "1",
93  "X" => "1",
94  "HALT" => "2",
95  "ADD" => "3",
96  "AND" => "3",
97  "CMB" => "3",
98  "CMW" => "3",
99  "DSB" => "3",
100  "ENB" => "3",
101  "INR" => "3",
102  "JMP" => "3",
103  "JSX" => "3",
104  "LDB" => "3",
105  "LDW" => "3",
106  "LDX" => "3",
107  "ORI" => "3",
108  "ORE" => "3",
109  "SLA" => "3",
110  "SLC" => "3",
111  "SLL" => "3",
112  "SML" => "3",
113  "SMU" => "3",
114  "SRA" => "3",
115  "SRL" => "3",
116  "SRC" => "3",
117  "STB" => "3",
118  "STX" => "3",
119  "STW" => "3",
120  "SUB" => "3",
121  "SUS" => "3",
122  "A" => "4",
123  "D" => "4",
124  "L" => "4",
125  "R" => "4",
126  "U" => "4",
127  "=" => "4",
128  "+" => "4",
129  "-" => "4",
130  "$" => "4",
131  ":" => "4",
132  "*" => "4",
133  "CAX" => "5",
134  "CEX" => "5",
135  "CLR" => "5",
136  "CMP" => "5",
137  "CXA" => "5",
138  "CXE" => "5",
139  "EEX" => "5",
140  "INV" => "5",
141  "MSK" => "5",
142  "NOP" => "5",
143  "SAM" => "5",
144  "SAO" => "5",
145  "SAP" => "5",
146  "SAZ" => "5",
147  "SEQ" => "5",
148  "SGM" => "5",
149  "SGR" => "5",
150  "SLE" => "5",
151  "SLM" => "5",
152  "SLS" => "5",
153  "SNE" => "5",
154  "SNO" => "5",
155  "SS1" => "5",
156  "SS2" => "5",
157  "SS3" => "5",
158  "SSE" => "5",
159  "SSO" => "5",
160  "SXE" => "5",
161  "SXM" => "5",
162  "SXP" => "5",
163  "UNM" => "5",
164  "XEE" => "5",
165  "CF" => "6",
166  "CFD" => "6",
167  "CLB" => "6",
168  "DIV" => "6",
169  "DIN" => "6",
170  "DOT" => "6",
171  "DXS" => "6",
172  "FAB" => "6",
173  "FABD" => "6",
174  "FCS" => "6",
175  "FCSD" => "6",
176  "FLT" => "6",
177  "FLTD" => "6",
178  "FIX" => "6",
179  "FIXD" => "6",
180  "FTR" => "6",
181  "FTRD" => "6",
182  "FXR" => "6",
183  "FXRD" => "6",
184  "FAD" => "6",
185  "FADD" => "6",
186  "FSB" => "6",
187  "FSBD" => "6",
188  "FM" => "6",
189  "FMD" => "6",
190  "FDV" => "6",
191  "FDVD" => "6",
192  "IXS" => "6",
193  "LF" => "6",
194  "LFD" => "6",
195  "LLB" => "6",
196  "LM" => "6",
197  "LPL" => "6",
198  "LPU" => "6",
199  "MPY" => "6",
200  "SF" => "6",
201  "SFD" => "6",
202  "SM" => "6",
203  "DCR" => "7",
204  "DRS" => "7",
205  "IVR" => "7",
206  "ICR" => "7",
207  "IRS" => "7",
208  "LDR" => "7",
209  "RRA" => "7",
210  "RRC" => "7",
211  "RRM" => "7",
212  "RRS" => "7",
213  "SMB" => "7",
214  "SRZ" => "7",
215  "SRP" => "7",
216  "SRN" => "7",
217  "STR" => "7",
218  "R0" => "8",
219  "R1" => "8",
220  "R2" => "8",
221  "R3" => "8",
222  "R4" => "8",
223  "R5" => "8",
224  "R6" => "8",
225  "R7" => "8",
226  "R8" => "8",
227  "R9" => "8");
228 
229  // Special extensions
230 
231  // Each category can specify a PHP function that returns an altered
232  // version of the keyword.
233 
234 
235 
236  $this->linkscripts = array(
237  "1" => "donothing",
238  "2" => "donothing",
239  "3" => "donothing",
240  "4" => "donothing",
241  "5" => "donothing",
242  "6" => "donothing",
243  "7" => "donothing",
244  "8" => "donothing");
245  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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