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

Public Member Functions

 HFile_asm6502 ()
 
 donothing ($keywordin)
 

Detailed Description

Definition at line 7 of file HFile_asm6502.php.

Member Function Documentation

◆ donothing()

HFile_asm6502::donothing (   $keywordin)

Definition at line 154 of file HFile_asm6502.php.

155 {
156 return $keywordin;
157 }

◆ HFile_asm6502()

HFile_asm6502::HFile_asm6502 ( )

Definition at line 9 of file HFile_asm6502.php.

10 {
11 $this->HFile();
12 /*************************************/
13 // Beautifier Highlighting Configuration File
14 // ASM for 6502
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", "blue", "purple");
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 "AND" => "1",
51 "ASL" => "1",
52 "BCC" => "1",
53 "BCS" => "1",
54 "BEQ" => "1",
55 "BIT" => "1",
56 "BMI" => "1",
57 "BNE" => "1",
58 "BPL" => "1",
59 "BRA" => "1",
60 "BRK" => "1",
61 "BVC" => "1",
62 "BVS" => "1",
63 "CLC" => "1",
64 "CLD" => "1",
65 "CLI" => "1",
66 "CLV" => "1",
67 "CMP" => "1",
68 "CPX" => "1",
69 "CPY" => "1",
70 "DEC" => "1",
71 "DEX" => "1",
72 "DEY" => "1",
73 "EOR" => "1",
74 "INC" => "1",
75 "INX" => "1",
76 "INY" => "1",
77 "JMP" => "1",
78 "JSR" => "1",
79 "LDA" => "1",
80 "LDX" => "1",
81 "LDY" => "1",
82 "LSR" => "1",
83 "NOP" => "1",
84 "ORA" => "1",
85 "PHA" => "1",
86 "PHP" => "1",
87 "PHX" => "1",
88 "PHY" => "1",
89 "PLA" => "1",
90 "PLP" => "1",
91 "PLX" => "1",
92 "PLY" => "1",
93 "ROL" => "1",
94 "ROR" => "1",
95 "RTI" => "1",
96 "RTS" => "1",
97 "SBC" => "1",
98 "SEC" => "1",
99 "SED" => "1",
100 "SEI" => "1",
101 "STA" => "1",
102 "STX" => "1",
103 "STY" => "1",
104 "STZ" => "1",
105 "TAX" => "1",
106 "TAY" => "1",
107 "TSX" => "1",
108 "TXA" => "1",
109 "TXS" => "1",
110 "TYA" => "1",
111 "A" => "2",
112 "X" => "2",
113 "Y" => "2",
114 "C" => "3",
115 "#" => "5",
116 "$" => "5",
117 "%" => "5",
118 "(" => "5",
119 ")" => "5",
120 "+" => "5",
121 "," => "5",
122 ";" => "5",
123 "ABSOLUTE" => "6",
124 "BYTE" => "6",
125 "DB" => "6",
126 "DRIVES" => "6",
127 "DS" => "6",
128 "DW" => "6",
129 "END" => "6",
130 "EQU" => "6",
131 "LIST" => "6",
132 "MOD32" => "6",
133 "OFF" => "6",
134 "ON" => "6",
135 "ORG" => "6",
136 "TITLE" => "6");
137
138 // Special extensions
139
140 // Each category can specify a PHP function that returns an altered
141 // version of the keyword.
142
143
144
145 $this->linkscripts = array(
146 "1" => "donothing",
147 "2" => "donothing",
148 "3" => "donothing",
149 "5" => "donothing",
150 "6" => "donothing");
151 }

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