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

Public Member Functions

 HFile_rebol ()
 
 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_rebol.php.

Member Function Documentation

◆ donothing()

HFile_rebol::donothing (   $keywordin)

Definition at line 246 of file HFile_rebol.php.

247  {
248  return $keywordin;
249  }

◆ HFile_rebol()

HFile_rebol::HFile_rebol ( )

Definition at line 9 of file HFile_rebol.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // REBOL
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");
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  "about" => "1",
50  "absolute" => "1",
51  "add" => "1",
52  "alias" => "1",
53  "all" => "1",
54  "and" => "1",
55  "any" => "1",
56  "append" => "1",
57  "arccosine" => "1",
58  "arcsine" => "1",
59  "arctangent" => "1",
60  "array" => "1",
61  "ask" => "1",
62  "at" => "1",
63  "back" => "1",
64  "break" => "1",
65  "bind" => "1",
66  "catch" => "1",
67  "change" => "1",
68  "change-dir" => "1",
69  "charset" => "1",
70  "checksum" => "1",
71  "clear" => "1",
72  "close" => "1",
73  "comment" => "1",
74  "complement" => "1",
75  "compress" => "1",
76  "confirm" => "1",
77  "copy" => "1",
78  "cosine" => "1",
79  "debase" => "1",
80  "decompress" => "1",
81  "dehex" => "1",
82  "delete" => "1",
83  "detab" => "1",
84  "disarm" => "1",
85  "divide" => "1",
86  "do" => "1",
87  "echo" => "1",
88  "either" => "1",
89  "enbase" => "1",
90  "entab" => "1",
91  "exit" => "1",
92  "exp" => "1",
93  "false" => "1",
94  "fifth" => "1",
95  "find" => "1",
96  "first" => "1",
97  "for" => "1",
98  "forall" => "1",
99  "foreach" => "1",
100  "form" => "1",
101  "forskip" => "1",
102  "fourth" => "1",
103  "func" => "1",
104  "function" => "1",
105  "get" => "1",
106  "halt" => "1",
107  "head" => "1",
108  "help" => "1",
109  "if" => "1",
110  "in" => "1",
111  "input" => "1",
112  "insert" => "1",
113  "intersect" => "1",
114  "join" => "1",
115  "last" => "1",
116  "less" => "1",
117  "third" => "1",
118  "throw" => "1",
119  "to-binary" => "1",
120  "to-bitset" => "1",
121  "to-block" => "1",
122  "to-char" => "1",
123  "to-date" => "1",
124  "to-decimal" => "1",
125  "to-email" => "1",
126  "to-file" => "1",
127  "to-get-word" => "1",
128  "to-hash" => "1",
129  "to-hex" => "1",
130  "to-idate" => "1",
131  "to-integer" => "1",
132  "to-issue" => "1",
133  "to-list" => "1",
134  "to-lit-word" => "1",
135  "to-logic" => "1",
136  "to-money" => "1",
137  "to-none" => "1",
138  "to-paren" => "1",
139  "to-refinement" => "1",
140  "to-set-path" => "1",
141  "to-set-word" => "1",
142  "to-string" => "1",
143  "to-tag" => "1",
144  "to-time" => "1",
145  "to-tuple" => "1",
146  "to-url" => "1",
147  "to-word" => "1",
148  "trace" => "1",
149  "trim" => "1",
150  "true" => "1",
151  "try" => "1",
152  "union" => "1",
153  "unset" => "1",
154  "until" => "1",
155  "update" => "1",
156  "uppercase" => "1",
157  "usage" => "1",
158  "use" => "1",
159  "wait" => "1",
160  "what" => "1",
161  "what-dir" => "1",
162  "while" => "1",
163  "write" => "1",
164  "xor" => "1",
165  "yes" => "1",
166  "any-block!" => "2",
167  "any-function!" => "2",
168  "any-string!" => "2",
169  "any-type!" => "2",
170  "any-word!" => "2",
171  "binary!" => "2",
172  "bitset!" => "2",
173  "block!" => "2",
174  "char!" => "2",
175  "datatype!" => "2",
176  "date!" => "2",
177  "decimal!" => "2",
178  "email!" => "2",
179  "error!" => "2",
180  "file!" => "2",
181  "function!" => "2",
182  "get-word!" => "2",
183  "hash!" => "2",
184  "integer!" => "2",
185  "issue!" => "2",
186  "time!" => "2",
187  "tuple!" => "2",
188  "url!" => "2",
189  "word!" => "2",
190  "any-block?" => "3",
191  "any-function?" => "3",
192  "any-string?" => "3",
193  "any-type?" => "3",
194  "any-word?" => "3",
195  "binary?" => "3",
196  "bitset?" => "3",
197  "block?" => "3",
198  "char?" => "3",
199  "datatype?" => "3",
200  "date?" => "3",
201  "decimal?" => "3",
202  "dir?" => "3",
203  "email?" => "3",
204  "empty?" => "3",
205  "equal?" => "3",
206  "error?" => "3",
207  "even?" => "3",
208  "exists?" => "3",
209  "file?" => "3",
210  "found?" => "3",
211  "function?" => "3",
212  "get-word?" => "3",
213  "greater?" => "3",
214  "greater-or-equal?" => "3",
215  "hash?" => "3",
216  "head?" => "3",
217  "index?" => "3",
218  "info?" => "3",
219  "input?" => "3",
220  "integer?" => "3",
221  "issue?" => "3",
222  "length?" => "3",
223  "time?" => "3",
224  "tuple?" => "3",
225  "type?" => "3",
226  "unset?" => "3",
227  "url?" => "3",
228  "value?" => "3",
229  "word?" => "3",
230  "zero?" => "3");
231 
232  // Special extensions
233 
234  // Each category can specify a PHP function that returns an altered
235  // version of the keyword.
236 
237 
238 
239  $this->linkscripts = array(
240  "1" => "donothing",
241  "2" => "donothing",
242  "3" => "donothing");
243  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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