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

Public Member Functions

 HFile_asmz80 ()
 
 donothing ($keywordin)
 

Detailed Description

Definition at line 7 of file HFile_asmz80.php.

Member Function Documentation

◆ donothing()

HFile_asmz80::donothing (   $keywordin)

Definition at line 195 of file HFile_asmz80.php.

196 {
197 return $keywordin;
198 }

◆ HFile_asmz80()

HFile_asmz80::HFile_asmz80 ( )

Definition at line 9 of file HFile_asmz80.php.

10 {
11 $this->HFile();
12 /*************************************/
13 // Beautifier Highlighting Configuration File
14 // Z80 Assembler
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", "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 "adc" => "1",
50 "add" => "1",
51 "and" => "1",
52 "bit" => "1",
53 "call" => "1",
54 "ccf" => "1",
55 "cp" => "1",
56 "cpd" => "1",
57 "cpdr" => "1",
58 "cpi" => "1",
59 "cpir" => "1",
60 "cpl" => "1",
61 "daa" => "1",
62 "dec" => "1",
63 "di" => "1",
64 "djnz" => "1",
65 "ei" => "1",
66 "ex" => "1",
67 "exx" => "1",
68 "halt" => "1",
69 "im" => "1",
70 "in" => "1",
71 "inc" => "1",
72 "ind" => "1",
73 "indr" => "1",
74 "ini" => "1",
75 "inir" => "1",
76 "jp" => "1",
77 "jr" => "1",
78 "ld" => "1",
79 "ldd" => "1",
80 "lddr" => "1",
81 "ldi" => "1",
82 "ldir" => "1",
83 "neg" => "1",
84 "nop" => "1",
85 "or" => "1",
86 "otdr" => "1",
87 "otir" => "1",
88 "out" => "1",
89 "outd" => "1",
90 "outi" => "1",
91 "pop" => "1",
92 "push" => "1",
93 "res" => "1",
94 "ret" => "1",
95 "reti" => "1",
96 "retn" => "1",
97 "rl" => "1",
98 "rla" => "1",
99 "rlc" => "1",
100 "rlca" => "1",
101 "rld" => "1",
102 "rr" => "1",
103 "rra" => "1",
104 "rrc" => "1",
105 "rrca" => "1",
106 "rrd" => "1",
107 "rst" => "1",
108 "sbc" => "1",
109 "scf" => "1",
110 "set" => "1",
111 "sla" => "1",
112 "sll" => "1",
113 "sra" => "1",
114 "srl" => "1",
115 "sub" => "1",
116 "xor" => "1",
117 "binary" => "2",
118 "defb" => "2",
119 "defc" => "2",
120 "defgroup" => "2",
121 "define" => "2",
122 "defl" => "2",
123 "defm" => "2",
124 "defs" => "2",
125 "defvars" => "2",
126 "defw" => "2",
127 "else" => "2",
128 "endif" => "2",
129 "if" => "2",
130 "include" => "2",
131 "lib" => "2",
132 "lstoff" => "2",
133 "lston" => "2",
134 "module" => "2",
135 "org" => "2",
136 "xdef" => "2",
137 "xlib" => "2",
138 "xref" => "2",
139 "$" => "4",
140 "." => "4",
141 "+" => "4",
142 "-" => "4",
143 "=" => "4",
144 "//" => "4",
145 "/" => "4",
146 "%" => "4",
147 "&" => "4",
148 ">" => "4",
149 "<" => "4",
150 "^" => "4",
151 "!" => "4",
152 "|" => "4",
153 "A" => "5",
154 "AF" => "5",
155 "AF\'" => "5",
156 "B" => "5",
157 "BC" => "5",
158 "C" => "5",
159 "D" => "5",
160 "DE" => "5",
161 "E" => "5",
162 "F" => "5",
163 "H" => "5",
164 "HL" => "5",
165 "IX" => "5",
166 "IY" => "5",
167 "IXL" => "5",
168 "IXH" => "5",
169 "IYL" => "5",
170 "IYH" => "5",
171 "L" => "5",
172 "M" => "5",
173 "NZ" => "5",
174 "NC" => "5",
175 "P" => "5",
176 "PE" => "5",
177 "PO" => "5",
178 "Z" => "5");
179
180 // Special extensions
181
182 // Each category can specify a PHP function that returns an altered
183 // version of the keyword.
184
185
186
187 $this->linkscripts = array(
188 "1" => "donothing",
189 "2" => "donothing",
190 "4" => "donothing",
191 "5" => "donothing");
192 }

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