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

Public Member Functions

 HFile_flisp ()
 
 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_flisp.php.

Member Function Documentation

◆ donothing()

HFile_flisp::donothing (   $keywordin)

Definition at line 354 of file HFile_flisp.php.

355  {
356  return $keywordin;
357  }

◆ HFile_flisp()

HFile_flisp::HFile_flisp ( )

Definition at line 9 of file HFile_flisp.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // FLISP
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  "boxed_column" => "1",
50  "boxed_radio_column" => "1",
51  "boxed_radio_row" => "1",
52  "boxed_row" => "1",
53  "button" => "1",
54  "column" => "1",
55  "concatenation" => "1",
56  "dialog" => "1",
57  "edit_box" => "1",
58  "errtile" => "1",
59  "image" => "1",
60  "image_button" => "1",
61  "list_box" => "1",
62  "ok_only" => "1",
63  "ok_cancel" => "1",
64  "ok_cancel_help" => "1",
65  "ok_cancel_help_errtile" => "1",
66  "ok_cancel_help_info" => "1",
67  "paragraph" => "1",
68  "popup_list" => "1",
69  "radio_button" => "1",
70  "radio_column" => "1",
71  "radio_row" => "1",
72  "row" => "1",
73  "slider" => "1",
74  "spacer" => "1",
75  "spacer_0" => "1",
76  "spacer_1" => "1",
77  "text" => "1",
78  "text_part" => "1",
79  "toggle" => "1",
80  "@include" => "2",
81  "action" => "3",
82  "alignment" => "3",
83  "allow_accept" => "3",
84  "aspect_ratio" => "3",
85  "big_increment" => "3",
86  "children_alignment" => "3",
87  "children_fixed_height" => "3",
88  "children_fixed_width" => "3",
89  "color" => "3",
90  "edit_limit" => "3",
91  "edit_width" => "3",
92  "fixed_height" => "3",
93  "fixed_width" => "3",
94  "height" => "3",
95  "initial_focus" => "3",
96  "is_bold" => "3",
97  "is_cancel" => "3",
98  "is_default" => "3",
99  "is_enabled" => "3",
100  "is_tab_stop" => "3",
101  "key" => "3",
102  "label" => "3",
103  "layout" => "3",
104  "list" => "3",
105  "max_value" => "3",
106  "min_value" => "3",
107  "mnemonic" => "3",
108  "multiple_select" => "3",
109  "small_increment" => "3",
110  "tabs" => "3",
111  "value" => "3",
112  "width" => "3",
113  "abs" => "4",
114  "acad_colordlg" => "4",
115  "acad_helpdlg" => "4",
116  "acad_strlsort" => "4",
117  "action_tile" => "4",
118  "add_list" => "4",
119  "ads" => "4",
120  "alert" => "4",
121  "alloc" => "4",
122  "and" => "4",
123  "angle" => "4",
124  "angtof" => "4",
125  "angtos" => "4",
126  "append" => "4",
127  "apply" => "4",
128  "arx" => "4",
129  "arxload" => "4",
130  "arxunload" => "4",
131  "ascii" => "4",
132  "assoc" => "4",
133  "atan" => "4",
134  "atof" => "4",
135  "atoi" => "4",
136  "atom" => "4",
137  "atoms_family" => "4",
138  "autoarxload" => "4",
139  "autoload" => "4",
140  "autoxload" => "4",
141  "boole" => "4",
142  "boundp" => "4",
143  "car" => "4",
144  "cdr" => "4",
145  "caar" => "4",
146  "cadr" => "4",
147  "cddr" => "4",
148  "caaar" => "4",
149  "caadr" => "4",
150  "cadar" => "4",
151  "caddr" => "4",
152  "cdaar" => "4",
153  "cdadr" => "4",
154  "cddar" => "4",
155  "cdddr" => "4",
156  "caaadr" => "4",
157  "caadar" => "4",
158  "cadaar" => "4",
159  "cdaaar" => "4",
160  "caaddr" => "4",
161  "caddar" => "4",
162  "cddaar" => "4",
163  "cadadr" => "4",
164  "caaaar" => "4",
165  "cdadar" => "4",
166  "cdaadr" => "4",
167  "cadddr" => "4",
168  "cdaddr" => "4",
169  "cddadr" => "4",
170  "cdddar" => "4",
171  "cddddr" => "4",
172  "chr" => "4",
173  "client_data_tile" => "4",
174  "close" => "4",
175  "command" => "4",
176  "cond" => "4",
177  "cons" => "4",
178  "cos" => "4",
179  "cvunit" => "4",
180  "dictnext" => "4",
181  "dictsearch" => "4",
182  "dimx_tile" => "4",
183  "dimy_tile" => "4",
184  "distance" => "4",
185  "distof" => "4",
186  "done_dialog" => "4",
187  "end_image" => "4",
188  "end_list" => "4",
189  "entdel" => "4",
190  "entget" => "4",
191  "entlast" => "4",
192  "entmake" => "4",
193  "entmod" => "4",
194  "entnext" => "4",
195  "entsel" => "4",
196  "entupd" => "4",
197  "eq" => "4",
198  "equal" => "4",
199  "eval" => "4",
200  "exit" => "4",
201  "exp" => "4",
202  "expand" => "4",
203  "expt" => "4",
204  "fill_image" => "4",
205  "findfile" => "4",
206  "fix" => "4",
207  "float" => "4",
208  "foreach" => "4",
209  "gc" => "4",
210  "gcd" => "4",
211  "get_attr" => "4",
212  "get_tile" => "4",
213  "getangle" => "4",
214  "getcfg" => "4",
215  "getcorner" => "4",
216  "getdist" => "4",
217  "getenv" => "4",
218  "getfiled" => "4",
219  "getint" => "4",
220  "getkword" => "4",
221  "getorient" => "4",
222  "getpoint" => "4",
223  "getreal" => "4",
224  "getstring" => "4",
225  "getvar" => "4",
226  "graphscr" => "4",
227  "grclear" => "4",
228  "grdraw" => "4",
229  "grread" => "4",
230  "grtext" => "4",
231  "grvecs" => "4",
232  "handent" => "4",
233  "help" => "4",
234  "if" => "4",
235  "initget" => "4",
236  "inters" => "4",
237  "itoa" => "4",
238  "lambda" => "4",
239  "last" => "4",
240  "length" => "4",
241  "listp" => "4",
242  "load_dialog" => "4",
243  "load" => "4",
244  "log" => "4",
245  "logand" => "4",
246  "logior" => "4",
247  "lsh" => "4",
248  "mapcar" => "4",
249  "max" => "4",
250  "mem" => "4",
251  "member" => "4",
252  "menucmd" => "4",
253  "min" => "4",
254  "minusp" => "4",
255  "mode_tile" => "4",
256  "namedobjdict" => "4",
257  "nentsel" => "4",
258  "nentselp" => "4",
259  "new_dialog" => "4",
260  "not" => "4",
261  "nth" => "4",
262  "null" => "4",
263  "numberp" => "4",
264  "open" => "4",
265  "or" => "4",
266  "osnap" => "4",
267  "polar" => "4",
268  "prin1" => "4",
269  "princ" => "4",
270  "print" => "4",
271  "progn" => "4",
272  "prompt" => "4",
273  "quit" => "4",
274  "quote" => "4",
275  "read" => "4",
276  "read_char" => "4",
277  "read_line" => "4",
278  "redraw" => "4",
279  "regapp" => "4",
280  "rem" => "4",
281  "repeat" => "4",
282  "reverse" => "4",
283  "rtos" => "4",
284  "set" => "4",
285  "set_tile" => "4",
286  "setcfg" => "4",
287  "setfunhelp" => "4",
288  "setq" => "4",
289  "setvar" => "4",
290  "sin" => "4",
291  "slide_image" => "4",
292  "snvalid" => "4",
293  "sqrt" => "4",
294  "ssadd" => "4",
295  "ssdel" => "4",
296  "ssget" => "4",
297  "sslength" => "4",
298  "ssmemb" => "4",
299  "ssname" => "4",
300  "startapp" => "4",
301  "start_dialog" => "4",
302  "start_image" => "4",
303  "start_list" => "4",
304  "strcase" => "4",
305  "strcat" => "4",
306  "strlen" => "4",
307  "subst" => "4",
308  "substr" => "4",
309  "tablet" => "4",
310  "tblnext" => "4",
311  "tblobjname" => "4",
312  "tblsearch" => "4",
313  "term_dialog" => "4",
314  "terpri" => "4",
315  "textbox" => "4",
316  "textpage" => "4",
317  "textscr" => "4",
318  "trace" => "4",
319  "trans" => "4",
320  "type" => "4",
321  "unload_dialog" => "4",
322  "untrace" => "4",
323  "vector_image" => "4",
324  "ver" => "4",
325  "vmon" => "4",
326  "vports" => "4",
327  "wcmatch" => "4",
328  "while" => "4",
329  "write_char" => "4",
330  "write_line" => "4",
331  "xdroom" => "4",
332  "xdsize" => "4",
333  "xload" => "4",
334  "xunload" => "4",
335  "zerop" => "4",
336  "defun" => "5");
337 
338  // Special extensions
339 
340  // Each category can specify a PHP function that returns an altered
341  // version of the keyword.
342 
343 
344 
345  $this->linkscripts = array(
346  "1" => "donothing",
347  "2" => "donothing",
348  "3" => "donothing",
349  "4" => "donothing",
350  "5" => "donothing");
351  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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