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

Public Member Functions

 HFile_dibol ()
 
 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 7 of file HFile_dibol.php.

Member Function Documentation

◆ donothing()

HFile_dibol::donothing (   $keywordin)

Definition at line 289 of file HFile_dibol.php.

290  {
291  return $keywordin;
292  }

◆ HFile_dibol()

HFile_dibol::HFile_dibol ( )

Definition at line 9 of file HFile_dibol.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // DiBoL
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", "gray", "purple", "brown");
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  "AP" => "",
50  "AR" => "",
51  "DEF" => "",
52  "RBP" => "",
53  ".align" => "1",
54  ".define" => "1",
55  ".else" => "1",
56  ".end" => "1",
57  ".endc" => "1",
58  ".function" => "1",
59  ".ifdef" => "1",
60  ".ifndef" => "1",
61  ".include" => "1",
62  ".proc" => "1",
63  ".subroutine" => "1",
64  "accept" => "1",
65  "begin" => "1",
66  "begincase" => "1",
67  "byte" => "1",
68  "call" => "1",
69  "case" => "1",
70  "clear" => "1",
71  "close" => "1",
72  "common" => "1",
73  "decr" => "1",
74  "delet" => "3",
75  "delete" => "1",
76  "display" => "1",
77  "do" => "1",
78  "else" => "1",
79  "end" => "1",
80  "endcase" => "1",
81  "endglobal" => "1",
82  "endgroup" => "1",
83  "endusing" => "1",
84  "exit" => "1",
85  "exitloop" => "1",
86  "find" => "1",
87  "flush" => "1",
88  "for" => "1",
89  "forever" => "1",
90  "forms" => "1",
91  "freturn" => "1",
92  "from" => "1",
93  "function" => "1",
94  "get" => "1",
95  "gets" => "1",
96  "global" => "1",
97  "goto" => "1",
98  "group" => "1",
99  "if" => "1",
100  "incr" => "1",
101  "locase" => "1",
102  "long" => "1",
103  "lpque" => "1",
104  "merge" => "1",
105  "nextloop" => "1",
106  "nop" => "1",
107  "of" => "1",
108  "offerror" => "1",
109  "on" => "1",
110  "onerror" => "1",
111  "open" => "1",
112  "proc" => "1",
113  "purge" => "1",
114  "put" => "1",
115  "puts" => "1",
116  "quad" => "1",
117  "range" => "1",
118  "read" => "1",
119  "reads" => "1",
120  "record" => "1",
121  "renam" => "3",
122  "repeat" => "1",
123  "return" => "1",
124  "send" => "1",
125  "set" => "1",
126  "sleep" => "1",
127  "sort" => "1",
128  "stop" => "1",
129  "store" => "1",
130  "subroutine" => "1",
131  "then" => "1",
132  "thru" => "1",
133  "unlock" => "1",
134  "until" => "1",
135  "upcase" => "1",
136  "using" => "1",
137  "while" => "1",
138  "word" => "1",
139  "write" => "1",
140  "writes" => "1",
141  "xcall" => "1",
142  "xreturn" => "1",
143  ".and." => "2",
144  ".band." => "2",
145  ".bnand." => "2",
146  ".bnot." => "2",
147  ".bor." => "2",
148  ".bxor." => "2",
149  ".eq." => "2",
150  ".eqs." => "2",
151  ".ge." => "2",
152  ".ges." => "2",
153  ".gt." => "2",
154  ".gts." => "2",
155  ".le." => "2",
156  ".les." => "2",
157  ".lt." => "2",
158  ".lts." => "2",
159  ".ne." => "2",
160  ".nes." => "2",
161  ".not." => "2",
162  ".or." => "2",
163  ".xor." => "2",
164  "%abs" => "3",
165  "%atrim" => "3",
166  "%bkstr" => "3",
167  "%char" => "3",
168  "%chopen" => "3",
169  "%date" => "3",
170  "%datecompiled" => "3",
171  "%datetime" => "3",
172  "%decml" => "3",
173  "%erlin" => "3",
174  "%ernum" => "3",
175  "%error" => "3",
176  "%false" => "3",
177  "%instr" => "3",
178  "%int" => "3",
179  "%integer" => "3",
180  "%len" => "3",
181  "%line" => "3",
182  "%rdlen" => "3",
183  "%recnum" => "3",
184  "%round" => "3",
185  "%rsize" => "3",
186  "%rvstr" => "3",
187  "%string" => "3",
188  "%syserr" => "3",
189  "%tnmbr" => "3",
190  "%trim" => "3",
191  "%true" => "3",
192  "%zoned" => "3",
193  "ascii" => "3",
194  "atrim" => "3",
195  "cmdlin" => "3",
196  "date" => "3",
197  "decml" => "3",
198  "envrn" => "3",
199  "error" => "3",
200  "ertxt" => "3",
201  "exec" => "3",
202  "execute" => "3",
203  "fatal" => "3",
204  "fill" => "3",
205  "filnm" => "3",
206  "flags" => "3",
207  "free" => "3",
208  "getlog" => "3",
209  "instr" => "3",
210  "isamc" => "3",
211  "isclr" => "3",
212  "iskey" => "3",
213  "issts" => "3",
214  "len" => "3",
215  "randm" => "3",
216  "shell" => "3",
217  "size" => "3",
218  "spawn" => "3",
219  "time" => "3",
220  "tnmbr" => "3",
221  "trim" => "3",
222  "versn" => "3",
223  "wait" => "3",
224  "wkday" => "3",
225  "w_area" => "3",
226  "w_brdr" => "3",
227  "w_caption" => "3",
228  "w_disp" => "3",
229  "w_exit" => "3",
230  "w_flds" => "3",
231  "w_info" => "3",
232  "w_init" => "3",
233  "w_proc" => "3",
234  "w_restore" => "3",
235  "w_save" => "3",
236  "w_updt" => "3",
237  "^a" => "3",
238  "^d" => "3",
239  "^defined" => "3",
240  "^i" => "3",
241  "^len" => "3",
242  "^passed" => "3",
243  "^size" => "3",
244  "input" => "4",
245  "lpoff" => "4",
246  "lpon" => "4",
247  "lpout" => "4",
248  "mesag" => "4",
249  "outpt" => "4",
250  "rdate" => "4",
251  "terid" => "4",
252  "vim_bad_stknum_ok" => "4",
253  "vim_close" => "4",
254  "vim_comp_id" => "4",
255  "vim_delete" => "4",
256  "vim_find" => "4",
257  "vim_get_file" => "4",
258  "vim_get_stknum" => "4",
259  "vim_init" => "4",
260  "vim_open" => "4",
261  "vim_override_cost" => "4",
262  "vim_read" => "4",
263  "vim_reads" => "4",
264  "vim_set_prompt" => "4",
265  "vim_squeeze_key" => "4",
266  "vim_store" => "4",
267  "vim_unlock" => "4",
268  "vim_vendor" => "4",
269  "vim_write" => "4",
270  "vim_writes" => "4",
271  "wate" => "4");
272 
273  // Special extensions
274 
275  // Each category can specify a PHP function that returns an altered
276  // version of the keyword.
277 
278 
279 
280  $this->linkscripts = array(
281  "" => "donothing",
282  "1" => "donothing",
283  "3" => "donothing",
284  "2" => "donothing",
285  "4" => "donothing");
286  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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