ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
HFile_asm21xx Class Reference
+ Inheritance diagram for HFile_asm21xx:
+ Collaboration diagram for HFile_asm21xx:

Public Member Functions

 HFile_asm21xx ()
 
 donothing ($keywordin)
 

Detailed Description

Definition at line 5 of file HFile_asm21xx.php.

Member Function Documentation

◆ donothing()

HFile_asm21xx::donothing (   $keywordin)

Definition at line 228 of file HFile_asm21xx.php.

229{
230 return $keywordin;
231}

◆ HFile_asm21xx()

HFile_asm21xx::HFile_asm21xx ( )

Definition at line 6 of file HFile_asm21xx.php.

6 {
7 $this->HFile();
8/*************************************/
9// Beautifier Highlighting Configuration File
10// 21xx Assembly
11/*************************************/
12// Flags
13
14$this->nocase = "1";
15$this->notrim = "0";
16$this->perl = "0";
17
18// Colours
19
20$this->colours = array("blue", "purple", "gray", "brown", "blue", "purple", "gray");
21$this->quotecolour = "blue";
22$this->blockcommentcolour = "green";
23$this->linecommentcolour = "green";
24
25// Indent Strings
26
27$this->indent = array();
28$this->unindent = array();
29
30// String characters and delimiters
31
32$this->stringchars = array("\"", "'");
33$this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", "?");
34$this->escchar = "";
35
36// Comment settings
37
38$this->linecommenton = array("//");
39$this->blockcommenton = array("{");
40$this->blockcommentoff = array("}");
41
42// Keywords (keyword mapping to colour number)
43
44$this->keywords = array(
45 "#define" => "1",
46 "#else" => "1",
47 "#endif" => "1",
48 "#if" => "1",
49 "#ifdef" => "1",
50 "#ifndef" => "1",
51 "#include" => "1",
52 "#undef" => "1",
53 "<" => "1",
54 ">" => "1",
55 ".const" => "2",
56 ".endmod" => "2",
57 ".external" => "2",
58 ".global" => "2",
59 ".include" => "2",
60 ".init" => "2",
61 ".module" => "2",
62 ".var" => "2",
63 "abs" => "3",
64 "and" => "3",
65 "ashift" => "3",
66 "by" => "3",
67 "call" => "3",
68 "clrbit" => "3",
69 "dis" => "3",
70 "divq" => "3",
71 "divs" => "3",
72 "dm" => "3",
73 "do" => "3",
74 "ena" => "3",
75 "exp" => "3",
76 "expadj" => "3",
77 "hi" => "3",
78 "hix" => "3",
79 "idle" => "3",
80 "if" => "3",
81 "io" => "3",
82 "jump" => "3",
83 "lo" => "3",
84 "lshift" => "3",
85 "modify" => "3",
86 "neg" => "3",
87 "nop" => "3",
88 "norm" => "3",
89 "not" => "3",
90 "or" => "3",
91 "pass" => "3",
92 "pm" => "3",
93 "pop" => "3",
94 "pos" => "3",
95 "push" => "3",
96 "reset" => "3",
97 "rnd" => "3",
98 "rti" => "3",
99 "rts" => "3",
100 "sat" => "3",
101 "set" => "3",
102 "setbit" => "3",
103 "ss" => "3",
104 "su" => "3",
105 "tglbit" => "3",
106 "toggle" => "3",
107 "tstbit" => "3",
108 "until" => "3",
109 "us" => "3",
110 "uu" => "3",
111 "xor" => "3",
112 "af" => "4",
113 "ar" => "4",
114 "ax0" => "4",
115 "ax1" => "4",
116 "ay0" => "4",
117 "ay1" => "4",
118 "mf" => "4",
119 "mr" => "4",
120 "mr0" => "4",
121 "mr1" => "4",
122 "mr2" => "4",
123 "mx0" => "4",
124 "mx1" => "4",
125 "my0" => "4",
126 "my1" => "4",
127 "none" => "4",
128 "se" => "4",
129 "si" => "4",
130 "sr" => "4",
131 "sr0" => "4",
132 "sr1" => "4",
133 "i0" => "5",
134 "i1" => "5",
135 "i2" => "5",
136 "i3" => "5",
137 "i4" => "5",
138 "i5" => "5",
139 "i6" => "5",
140 "i7" => "5",
141 "l0" => "5",
142 "l1" => "5",
143 "l2" => "5",
144 "l3" => "5",
145 "l4" => "5",
146 "l5" => "5",
147 "l6" => "5",
148 "l7" => "5",
149 "m0" => "5",
150 "m1" => "5",
151 "m2" => "5",
152 "m3" => "5",
153 "m4" => "5",
154 "m5" => "5",
155 "m6" => "5",
156 "m7" => "5",
157 "ac" => "6",
158 "astat" => "6",
159 "av" => "6",
160 "ar_set" => "6",
161 "av_latch" => "6",
162 "bit_rev" => "6",
163 "c" => "6",
164 "ce" => "6",
165 "cntr" => "6",
166 "eq" => "6",
167 "flag_in" => "6",
168 "flag_out" => "6",
169 "fl0" => "6",
170 "fl1" => "6",
171 "fl2" => "6",
172 "ge" => "6",
173 "g_mode" => "6",
174 "gt" => "6",
175 "icntl" => "6",
176 "ifc" => "6",
177 "imask" => "6",
178 "ints" => "6",
179 "le" => "6",
180 "loop" => "6",
181 "lt" => "6",
182 "m_mode" => "6",
183 "mstat" => "6",
184 "mv" => "6",
185 "ne" => "6",
186 "owrcntr" => "6",
187 "pc" => "6",
188 "px" => "6",
189 "rx0" => "6",
190 "rx1" => "6",
191 "sb" => "6",
192 "sec_reg" => "6",
193 "sstat" => "6",
194 "sts" => "6",
195 "toppcstack" => "6",
196 "tx0" => "6",
197 "tx1" => "6",
198 "timer" => "6",
199 "%" => "7",
200 "(" => "7",
201 ")" => "7",
202 "*" => "7",
203 "+" => "7",
204 "-" => "7",
205 "//" => "7",
206 "/" => "7",
207 "=" => "7",
208 "^" => "7");
209
210// Special extensions
211
212// Each category can specify a PHP function that returns an altered
213// version of the keyword.
214
215
216
217$this->linkscripts = array(
218 "1" => "donothing",
219 "2" => "donothing",
220 "3" => "donothing",
221 "4" => "donothing",
222 "5" => "donothing",
223 "6" => "donothing",
224 "7" => "donothing");
225}

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