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

Public Member Functions

 HFile_asms370 ()
 
 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_asms370.php.

Member Function Documentation

◆ donothing()

HFile_asms370::donothing (   $keywordin)

Definition at line 266 of file HFile_asms370.php.

267  {
268  return $keywordin;
269  }

◆ HFile_asms370()

HFile_asms370::HFile_asms370 ( )

Definition at line 9 of file HFile_asms370.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // S/370 Assembler
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");
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  "A" => "1",
50  "AD" => "1",
51  "ADR" => "1",
52  "AE" => "1",
53  "AER" => "1",
54  "AH" => "1",
55  "AL" => "1",
56  "ALR" => "1",
57  "AP" => "1",
58  "AR" => "1",
59  "AU" => "1",
60  "AUR" => "1",
61  "AW" => "1",
62  "AWR" => "1",
63  "B" => "1",
64  "BAKR" => "1",
65  "BAL" => "1",
66  "BALR" => "1",
67  "BAS" => "1",
68  "BASSM" => "1",
69  "BC" => "1",
70  "BCR" => "1",
71  "BCT" => "1",
72  "BCTR" => "1",
73  "BE" => "1",
74  "BH" => "1",
75  "BL" => "1",
76  "BM" => "1",
77  "BNE" => "1",
78  "BNH" => "1",
79  "BNL" => "1",
80  "BNM" => "1",
81  "BNO" => "1",
82  "BNP" => "1",
83  "BNZ" => "1",
84  "BO" => "1",
85  "BP" => "1",
86  "BR" => "1",
87  "BSM" => "1",
88  "BXH" => "1",
89  "BXLE" => "1",
90  "BZ" => "1",
91  "C" => "1",
92  "CALL" => "1",
93  "CD" => "1",
94  "CDR" => "1",
95  "CE" => "1",
96  "CER" => "1",
97  "CH" => "1",
98  "CL" => "1",
99  "CLC" => "1",
100  "CLI" => "1",
101  "CLR" => "1",
102  "CP" => "1",
103  "CR" => "1",
104  "CVB" => "1",
105  "CVD" => "1",
106  "D" => "1",
107  "DD" => "1",
108  "DDR" => "1",
109  "DE" => "1",
110  "DELETE" => "1",
111  "DER" => "1",
112  "DP" => "1",
113  "DR" => "1",
114  "DC" => "1",
115  "DS" => "1",
116  "ED" => "1",
117  "EDMK" => "1",
118  "EX" => "1",
119  "HDR" => "1",
120  "HER" => "1",
121  "HIO" => "1",
122  "IC" => "1",
123  "ICM" => "1",
124  "ISK" => "1",
125  "L" => "1",
126  "LA" => "1",
127  "LCDR" => "1",
128  "LCER" => "1",
129  "LCR" => "1",
130  "LD" => "1",
131  "LDR" => "1",
132  "LE" => "1",
133  "LER" => "1",
134  "LH" => "1",
135  "LINK" => "1",
136  "LM" => "1",
137  "LNDR" => "1",
138  "LNER" => "1",
139  "LNR" => "1",
140  "LNSW" => "1",
141  "LOAD" => "1",
142  "LR" => "1",
143  "LTDR" => "1",
144  "LTER" => "1",
145  "LTR" => "1",
146  "M" => "1",
147  "MD" => "1",
148  "MDR" => "1",
149  "ME" => "1",
150  "MER" => "1",
151  "MH" => "1",
152  "MP" => "1",
153  "MR" => "1",
154  "MVC" => "1",
155  "MVCL" => "1",
156  "MVCP" => "1",
157  "MVI" => "1",
158  "MVN" => "1",
159  "MVO" => "1",
160  "MVZ" => "1",
161  "N" => "1",
162  "NC" => "1",
163  "NI" => "1",
164  "NOP" => "1",
165  "NOPR" => "1",
166  "NR" => "1",
167  "O" => "1",
168  "OC" => "1",
169  "OI" => "1",
170  "OR" => "1",
171  "PACK" => "1",
172  "PC" => "1",
173  "RDD" => "1",
174  "S" => "1",
175  "SD" => "1",
176  "SDR" => "1",
177  "SE" => "1",
178  "SER" => "1",
179  "SH" => "1",
180  "SI" => "1",
181  "SIO" => "1",
182  "SLA" => "1",
183  "SLDA" => "1",
184  "SLDL" => "1",
185  "SLL" => "1",
186  "SLR" => "1",
187  "SP" => "1",
188  "SPM" => "1",
189  "SR" => "1",
190  "SRA" => "1",
191  "SRDA" => "1",
192  "SRDL" => "1",
193  "SRL" => "1",
194  "SSK" => "1",
195  "SSM" => "1",
196  "ST" => "1",
197  "STC" => "1",
198  "STD" => "1",
199  "STE" => "1",
200  "STH" => "1",
201  "STM" => "1",
202  "SU" => "1",
203  "SVC" => "1",
204  "SW" => "1",
205  "SWR" => "1",
206  "TCH" => "1",
207  "TIO" => "1",
208  "TM" => "1",
209  "TR" => "1",
210  "TRT" => "1",
211  "TS" => "1",
212  "UNPK" => "1",
213  "X" => "1",
214  "X1" => "1",
215  "XC" => "1",
216  "XR" => "1",
217  "ZAP" => "1",
218  "AMODE" => "2",
219  "CSECT" => "2",
220  "DROP" => "2",
221  "DSECT" => "2",
222  "EJECT" => "2",
223  "END" => "2",
224  "EQU" => "2",
225  "LTORG" => "2",
226  "ORG" => "2",
227  "PRINT" => "2",
228  "REQUATE" => "2",
229  "RMODE" => "2",
230  "SPACE" => "2",
231  "START" => "2",
232  "TITLE" => "2",
233  "USING" => "2",
234  "YREGS" => "2",
235  "R" => "3",
236  "R0" => "3",
237  "R1" => "3",
238  "R10" => "3",
239  "R11" => "3",
240  "R12" => "3",
241  "R13" => "3",
242  "R14" => "3",
243  "R2" => "3",
244  "R3" => "3",
245  "R4" => "3",
246  "R5" => "3",
247  "R6" => "3",
248  "R7" => "3",
249  "R8" => "3",
250  "R9" => "3");
251 
252  // Special extensions
253 
254  // Each category can specify a PHP function that returns an altered
255  // version of the keyword.
256 
257 
258 
259  $this->linkscripts = array(
260  "1" => "donothing",
261  "2" => "donothing",
262  "3" => "donothing");
263  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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