ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
HFile_6502 Class Reference
+ Inheritance diagram for HFile_6502:
+ Collaboration diagram for HFile_6502:

Public Member Functions

 HFile_6502 ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 __construct ()
 
 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_6502.php.

Member Function Documentation

◆ donothing()

HFile_6502::donothing (   $keywordin)

Definition at line 130 of file HFile_6502.php.

131 {
132  return $keywordin;
133 }

◆ HFile_6502()

HFile_6502::HFile_6502 ( )

Definition at line 6 of file HFile_6502.php.

References array.

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 //
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "0";
15 $this->notrim = "1";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("blue", "brown", "purple");
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  "adc" => "1",
46  "and" => "1",
47  "asl" => "1",
48  "bcc" => "1",
49  "bcs" => "1",
50  "beq" => "1",
51  "bit" => "1",
52  "bmi" => "1",
53  "bne" => "1",
54  "bpl" => "1",
55  "brk" => "1",
56  "bvc" => "1",
57  "bvs" => "1",
58  "clc" => "1",
59  "cld" => "1",
60  "cli" => "1",
61  "clv" => "1",
62  "cmp" => "1",
63  "cpx" => "1",
64  "cpy" => "1",
65  "dec" => "1",
66  "dex" => "1",
67  "dey" => "1",
68  "eor" => "1",
69  "inc" => "1",
70  "inx" => "1",
71  "iny" => "1",
72  "jmp" => "1",
73  "jsr" => "1",
74  "lda" => "1",
75  "ldx" => "1",
76  "ldy" => "1",
77  "lsr" => "1",
78  "nop" => "1",
79  "ora" => "1",
80  "pha" => "1",
81  "php" => "1",
82  "pla" => "1",
83  "plp" => "1",
84  "rol" => "1",
85  "ror" => "1",
86  "rti" => "1",
87  "rts" => "1",
88  "sbc" => "1",
89  "sec" => "1",
90  "sed" => "1",
91  "sei" => "1",
92  "sta" => "1",
93  "stx" => "1",
94  "sty" => "1",
95  "tax" => "1",
96  "tay" => "1",
97  "tsx" => "1",
98  "txa" => "1",
99  "txs" => "1",
100  "tya" => "1",
101  ".byte" => "2",
102  ".text" => "2",
103  ".word" => "2",
104  ".asc" => "2",
105  ".scrl" => "2",
106  ".scru" => "2",
107  ".include" => "2",
108  ".incbin" => "2",
109  ".label" => "2",
110  ".goto" => "2",
111  ".if" => "2",
112  ".end" => "2",
113  ".enrty" => "2",
114  ".opt" => "2",
115  "*=" => "2");
116 
117 // Special extensions
118 
119 // Each category can specify a PHP function that returns an altered
120 // version of the keyword.
121 
122 
123 
124 $this->linkscripts = array(
125  "1" => "donothing",
126  "2" => "donothing");
127 }
Create styles array
The data for the language used.
Definition: HFile.php:21

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