ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5
HFile_asm68Hc908 Class Reference
+ Inheritance diagram for HFile_asm68Hc908:
+ Collaboration diagram for HFile_asm68Hc908:

Public Member Functions

 HFile_asm68Hc908 ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 HFile ()
 
 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 5 of file HFile_asm68Hc908.php.

Member Function Documentation

◆ donothing()

HFile_asm68Hc908::donothing (   $keywordin)

Definition at line 242 of file HFile_asm68Hc908.php.

243 {
244  return $keywordin;
245 }

◆ HFile_asm68Hc908()

HFile_asm68Hc908::HFile_asm68Hc908 ( )

Definition at line 6 of file HFile_asm68Hc908.php.

References HFile\HFile().

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // 68HC908 ASM
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");
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  ",X" => "1",
46  "ADC" => "1",
47  "ADD" => "1",
48  "AIS" => "1",
49  "AIX" => "1",
50  "AND" => "1",
51  "ASL" => "1",
52  "ASLA" => "1",
53  "ASLX" => "1",
54  "ASR" => "1",
55  "ASRA" => "1",
56  "ASRX" => "1",
57  "BCC" => "1",
58  "BCLR" => "1",
59  "BCS" => "1",
60  "BEQ" => "1",
61  "BGE" => "1",
62  "BGT" => "1",
63  "BHCC" => "1",
64  "BHCS" => "1",
65  "BHI" => "1",
66  "BHS" => "1",
67  "BIH" => "1",
68  "BIL" => "1",
69  "BIT" => "1",
70  "BLE" => "1",
71  "BLO" => "1",
72  "BLS" => "1",
73  "BLT" => "1",
74  "BMC" => "1",
75  "BMI" => "1",
76  "BMS" => "1",
77  "BNE" => "1",
78  "BPL" => "1",
79  "BRA" => "1",
80  "BRCLR" => "1",
81  "BRN" => "1",
82  "BRSET" => "1",
83  "BSET" => "1",
84  "BSR" => "1",
85  "CBEQ" => "1",
86  "CBEQA" => "1",
87  "CBEQX" => "1",
88  "CLC" => "1",
89  "CLI" => "1",
90  "CLR" => "1",
91  "CLRA" => "1",
92  "CLRH" => "1",
93  "CLRX" => "1",
94  "CMP" => "1",
95  "COM" => "1",
96  "COMA" => "1",
97  "COMX" => "1",
98  "CPHX" => "1",
99  "CPX" => "1",
100  "DAA" => "1",
101  "DBNZ" => "1",
102  "DBNZA" => "1",
103  "DBNZXDEC" => "1",
104  "DECA" => "1",
105  "DECX" => "1",
106  "DIV" => "1",
107  "EOR" => "1",
108  "INC" => "1",
109  "INCA" => "1",
110  "INCX" => "1",
111  "JMP" => "1",
112  "JSR" => "1",
113  "LDA" => "1",
114  "LDHX" => "1",
115  "LDX" => "1",
116  "LSL" => "1",
117  "LSLA" => "1",
118  "LSLX" => "1",
119  "LSR" => "1",
120  "LSRA" => "1",
121  "LSRX" => "1",
122  "MOV" => "1",
123  "MUL" => "1",
124  "NEG" => "1",
125  "NOP" => "1",
126  "NSA" => "1",
127  "ORA" => "1",
128  "BeautifierA" => "1",
129  "BeautifierH" => "1",
130  "BeautifierX" => "1",
131  "PULA" => "1",
132  "PULH" => "1",
133  "PULX" => "1",
134  "ROL" => "1",
135  "ROLA" => "1",
136  "ROLX" => "1",
137  "ROR" => "1",
138  "RORA" => "1",
139  "RORX" => "1",
140  "RSP" => "1",
141  "RTI" => "1",
142  "RTS" => "1",
143  "SBC" => "1",
144  "SEC" => "1",
145  "SEI" => "1",
146  "STA" => "1",
147  "STHX" => "1",
148  "STOP" => "1",
149  "STX" => "1",
150  "SUB" => "1",
151  "SWI" => "1",
152  "TAP" => "1",
153  "TAX" => "1",
154  "TPA" => "1",
155  "TST" => "1",
156  "TSTA" => "1",
157  "TSX" => "1",
158  "TXA" => "1",
159  "TXS" => "1",
160  "ADCLK" => "2",
161  "ADR" => "2",
162  "ADSCR" => "2",
163  "BFCR" => "2",
164  "BRKH" => "2",
165  "BRKL" => "2",
166  "BSCR" => "2",
167  "CONFIG1" => "2",
168  "CONFIG2" => "2",
169  "DDRA" => "2",
170  "DDRB" => "2",
171  "DDRD" => "2",
172  "FLCR" => "2",
173  "FLSPR" => "2",
174  "FLTCR" => "2",
175  "INT1" => "2",
176  "INT2" => "2",
177  "INT3" => "2",
178  "INTKBIER" => "2",
179  "INTKBSR" => "2",
180  "INTSCR" => "2",
181  "KBIER" => "2",
182  "KBSCR" => "2",
183  "PDCR" => "2",
184  "PORTA" => "2",
185  "PORTB" => "2",
186  "PORTD" => "2",
187  "PTA" => "2",
188  "PTAUE" => "2",
189  "PTB" => "2",
190  "PTD" => "2",
191  "RSR" => "2",
192  "TCH0H" => "2",
193  "TCH0L" => "2",
194  "TCH1H" => "2",
195  "TCH1L" => "2",
196  "TCNTH" => "2",
197  "TCNTL" => "2",
198  "TMODH" => "2",
199  "TMODL" => "2",
200  "TSC" => "2",
201  "TSC0" => "2",
202  "TSC1" => "2",
203  "X" => "2",
204  "$if" => "3",
205  "$ifndef" => "3",
206  "$SET" => "3",
207  "$SETNOT" => "3",
208  "$endif" => "3",
209  "$include" => "3",
210  "$else" => "3",
211  "FCB" => "4",
212  "FCC" => "4",
213  "FDB" => "4",
214  "DB" => "4",
215  "DS" => "4",
216  "DW" => "4",
217  "EQU" => "4",
218  "ENDM" => "4",
219  "MACRO" => "4",
220  "ORG" => "4",
221  "SETDP" => "4",
222  "#" => "5",
223  "#$" => "5",
224  "#%" => "5");
225 
226 // Special extensions
227 
228 // Each category can specify a PHP function that returns an altered
229 // version of the keyword.
230 
231 
232 
233 $this->linkscripts = array(
234  "1" => "donothing",
235  "2" => "donothing",
236  "3" => "donothing",
237  "4" => "donothing",
238  "5" => "donothing");
239 }
HFile()
Definition: HFile.php:24
+ Here is the call graph for this function:

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