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

Public Member Functions

 HFile_asmavr ()
 
 donothing ($keywordin)
 

Detailed Description

Definition at line 7 of file HFile_asmavr.php.

Member Function Documentation

◆ donothing()

HFile_asmavr::donothing (   $keywordin)

Definition at line 209 of file HFile_asmavr.php.

210 {
211 return $keywordin;
212 }

◆ HFile_asmavr()

HFile_asmavr::HFile_asmavr ( )

Definition at line 9 of file HFile_asmavr.php.

10 {
11 $this->HFile();
12 /*************************************/
13 // Beautifier Highlighting Configuration File
14 // AVR 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", "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 "add" => "1",
50 "adc" => "1",
51 "adiw" => "1",
52 "and" => "1",
53 "andi" => "1",
54 "cbr" => "1",
55 "clr" => "1",
56 "com" => "1",
57 "cp" => "1",
58 "cpc" => "1",
59 "cpi" => "1",
60 "dec" => "1",
61 "eor" => "1",
62 "fmul" => "1",
63 "fmuls" => "1",
64 "fmulsu" => "1",
65 "inc" => "1",
66 "mul" => "1",
67 "muls" => "1",
68 "mulsu" => "1",
69 "neg" => "1",
70 "or" => "1",
71 "ori" => "1",
72 "sub" => "1",
73 "subi" => "1",
74 "sbc" => "1",
75 "sbci" => "1",
76 "sbiw" => "1",
77 "sbr" => "1",
78 "ser" => "1",
79 "tst" => "1",
80 "brbs" => "2",
81 "brbc" => "2",
82 "breq" => "2",
83 "brne" => "2",
84 "brcs" => "2",
85 "brcc" => "2",
86 "brsh" => "2",
87 "brlo" => "2",
88 "brmi" => "2",
89 "brpl" => "2",
90 "brge" => "2",
91 "brlt" => "2",
92 "brhs" => "2",
93 "brhc" => "2",
94 "brts" => "2",
95 "brtc" => "2",
96 "brvs" => "2",
97 "brvc" => "2",
98 "brie" => "2",
99 "brid" => "2",
100 "call" => "2",
101 "cpse" => "2",
102 "eicall" => "2",
103 "eijmp" => "2",
104 "ijmp" => "2",
105 "icall" => "2",
106 "jmp" => "2",
107 "rjmp" => "2",
108 "rcall" => "2",
109 "ret" => "2",
110 "reti" => "2",
111 "sbrc" => "2",
112 "sbrs" => "2",
113 "sbic" => "2",
114 "sbis" => "2",
115 "elpm" => "3",
116 "espm" => "3",
117 "in" => "3",
118 "ldi" => "3",
119 "lds" => "3",
120 "ld" => "3",
121 "ldd" => "3",
122 "lpm" => "3",
123 "mov" => "3",
124 "movw" => "3",
125 "out" => "3",
126 "push" => "3",
127 "pop" => "3",
128 "st" => "3",
129 "sts" => "3",
130 "std" => "3",
131 "spm" => "3",
132 "x" => "3",
133 "x+" => "3",
134 "y" => "3",
135 "y+" => "3",
136 "y+q" => "3",
137 "z" => "3",
138 "z+" => "3",
139 "z+q" => "3",
140 "-x" => "3",
141 "-y" => "3",
142 "-z" => "3",
143 "asr" => "4",
144 "cbi" => "4",
145 "clc" => "4",
146 "cln" => "4",
147 "clz" => "4",
148 "cli" => "4",
149 "cls" => "4",
150 "clv" => "4",
151 "clt" => "4",
152 "clh" => "4",
153 "lsl" => "4",
154 "lsr" => "4",
155 "nop" => "4",
156 "ror" => "4",
157 "rol" => "4",
158 "sbi" => "4",
159 "sec" => "4",
160 "sen" => "4",
161 "sez" => "4",
162 "sei" => "4",
163 "ses" => "4",
164 "sev" => "4",
165 "set" => "4",
166 "seh" => "4",
167 "swap" => "4",
168 "sleep" => "4",
169 "bst" => "4",
170 "bld" => "4",
171 "bset" => "4",
172 "bclr" => "4",
173 "wdr" => "4",
174 ".org" => "5",
175 ".equ" => "5",
176 ".include" => "5",
177 ".macro" => "5",
178 ".endmacro" => "5",
179 ".set" => "5",
180 ".byte" => "5",
181 ".cseg" => "5",
182 ".db" => "5",
183 ".def" => "5",
184 ".device" => "5",
185 ".dseg" => "5",
186 ".dw" => "5",
187 ".eseg" => "5",
188 ".exit" => "5",
189 ".list" => "5",
190 ".nolist" => "5",
191 ".listmac" => "5");
192
193 // Special extensions
194
195 // Each category can specify a PHP function that returns an altered
196 // version of the keyword.
197
198
199
200 $this->linkscripts = array(
201 "1" => "donothing",
202 "2" => "donothing",
203 "3" => "donothing",
204 "4" => "donothing",
205 "5" => "donothing");
206 }

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