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

Public Member Functions

 HFile_inform ()
 
 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_inform.php.

Member Function Documentation

◆ donothing()

HFile_inform::donothing (   $keywordin)

Definition at line 367 of file HFile_inform.php.

368  {
369  return $keywordin;
370  }

◆ HFile_inform()

HFile_inform::HFile_inform ( )

Definition at line 9 of file HFile_inform.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14 //
15  /*************************************/
16  // Flags
17 
18  $this->nocase = "0";
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  "/L10" => "",
50  "\"Inform\"" => "",
51  "Line" => "",
52  "Comment" => "",
53  "=" => "",
54  "!" => "",
55  "String" => "",
56  "Chars" => "",
57  "\"'" => "",
58  "File" => "",
59  "Extensions" => "",
60  "H" => "",
61  "INF" => "",
62  "box" => "1",
63  "break" => "1",
64  "bold" => "1",
65  "continue" => "1",
66  "do" => "1",
67  "else" => "1",
68  "font" => "1",
69  "for" => "1",
70  "fixed" => "1",
71  "give" => "1",
72  "if" => "1",
73  "inversion" => "1",
74  "jump" => "1",
75  "move" => "1",
76  "new_line" => "1",
77  "objectloop" => "1",
78  "print" => "1",
79  "print_ret" => "1",
80  "quit" => "1",
81  "read" => "1",
82  "remove" => "1",
83  "restore" => "1",
84  "return" => "1",
85  "rfalse" => "1",
86  "rtrue" => "1",
87  "roman" => "1",
88  "reverse" => "1",
89  "save" => "1",
90  "spaces" => "1",
91  "string" => "1",
92  "style" => "1",
93  "switch" => "1",
94  "until" => "1",
95  "underline" => "1",
96  "while" => "1",
97  "Abbreviate" => "2",
98  "Array" => "2",
99  "Attribute" => "2",
100  "Class" => "2",
101  "Constant" => "2",
102  "Default" => "2",
103  "Dictionary" => "2",
104  "End" => "2",
105  "Endif" => "2",
106  "Extend" => "2",
107  "Fake_action" => "2",
108  "Global" => "2",
109  "Ifdef" => "2",
110  "Ifndef" => "2",
111  "Ifnot" => "2",
112  "Iftrue" => "2",
113  "Iffalse" => "2",
114  "Import" => "2",
115  "Include" => "2",
116  "Ifv3" => "2",
117  "Ifv5" => "2",
118  "Link" => "2",
119  "Lowstring" => "2",
120  "Message" => "2",
121  "Nearby" => "2",
122  "Object" => "2",
123  "Property" => "2",
124  "Release" => "2",
125  "Replace" => "2",
126  "Serial" => "2",
127  "Switches" => "2",
128  "Statusline" => "2",
129  "System_file" => "2",
130  "Stub" => "2",
131  "score" => "2",
132  "time" => "2",
133  "Trace" => "2",
134  "Verb" => "2",
135  "Version" => "2",
136  "creature" => "3",
137  "first" => "3",
138  "held" => "3",
139  "last" => "3",
140  "meta" => "3",
141  "multi" => "3",
142  "multiheld" => "3",
143  "multiexcept" => "3",
144  "multiinside" => "3",
145  "noun" => "3",
146  "number" => "3",
147  "only" => "3",
148  "replace" => "3",
149  "scope" => "3",
150  "special" => "3",
151  "topic" => "3",
152  "absent" => "4",
153  "animate" => "4",
154  "add_to_scope" => "4",
155  "after" => "4",
156  "article" => "4",
157  "articles" => "4",
158  "before" => "4",
159  "clothing" => "4",
160  "conealed" => "4",
161  "container" => "4",
162  "cant_go" => "4",
163  "capacity" => "4",
164  "door" => "4",
165  "daemon" => "4",
166  "describe" => "4",
167  "description" => "4",
168  "door_dir" => "4",
169  "door_to" => "4",
170  "d_to" => "4",
171  "edible" => "4",
172  "enterable" => "4",
173  "each_turn" => "4",
174  "e_to" => "4",
175  "female" => "4",
176  "found_in" => "4",
177  "initial" => "4",
178  "inside_description" => "4",
179  "invent" => "4",
180  "in_to" => "4",
181  "general" => "4",
182  "grammar" => "4",
183  "light" => "4",
184  "lockable" => "4",
185  "locked" => "4",
186  "life" => "4",
187  "list_together" => "4",
188  "male" => "4",
189  "moved" => "4",
190  "neuter" => "4",
191  "name" => "4",
192  "n_to" => "4",
193  "nw_to" => "4",
194  "ne_to" => "4",
195  "on" => "4",
196  "open" => "4",
197  "openable" => "4",
198  "orders" => "4",
199  "out_to" => "4",
200  "pluralname" => "4",
201  "proper" => "4",
202  "parse_name" => "4",
203  "plural" => "4",
204  "react_after" => "4",
205  "react_before" => "4",
206  "scenery" => "4",
207  "scored" => "4",
208  "static" => "4",
209  "supporter" => "4",
210  "switchable" => "4",
211  "short_name" => "4",
212  "short_name_indef" => "4",
213  "s_to" => "4",
214  "se_to" => "4",
215  "sw_to" => "4",
216  "talkable" => "4",
217  "transparent" => "4",
218  "time_left" => "4",
219  "time_out" => "4",
220  "visited" => "4",
221  "u_to" => "4",
222  "workflag" => "4",
223  "worn" => "4",
224  "when_closed" => "4",
225  "when_open" => "4",
226  "when_off" => "4",
227  "when_on" => "4",
228  "with_key" => "4",
229  "w_to" => "4",
230  "ActionsOn" => "5",
231  "ActionsOff" => "5",
232  "Attack" => "5",
233  "Answer" => "5",
234  "Ask" => "5",
235  "AskFor" => "5",
236  "Burn" => "5",
237  "Blow" => "5",
238  "Buy" => "5",
239  "CommandsOn" => "5",
240  "CommandsOff" => "5",
241  "CommandsRead" => "5",
242  "Close" => "5",
243  "Consult" => "5",
244  "Cut" => "5",
245  "Climb" => "5",
246  "Drop" => "5",
247  "Disrobe" => "5",
248  "Dig" => "5",
249  "Drink" => "5",
250  "Empty" => "5",
251  "Enter" => "5",
252  "Exit" => "5",
253  "Examine" => "5",
254  "Eat" => "5",
255  "Fullscore" => "5",
256  "Fill" => "5",
257  "Goto" => "5",
258  "Gonear" => "5",
259  "GetOff" => "5",
260  "Go" => "5",
261  "GoIn" => "5",
262  "Give" => "5",
263  "Inv" => "5",
264  "InvTall" => "5",
265  "InvWide" => "5",
266  "Insert" => "5",
267  "Jump" => "5",
268  "JumpOver" => "5",
269  "Kiss" => "5",
270  "LMode1" => "5",
271  "LMode2" => "5",
272  "LMode3" => "5",
273  "Look" => "5",
274  "Lock" => "5",
275  "Listen" => "5",
276  "LookUnder" => "5",
277  "LetGo" => "5",
278  "Mild" => "5",
279  "Miscellany" => "5",
280  "NotifyOn" => "5",
281  "NotifyOff" => "5",
282  "No" => "5",
283  "Objects" => "5",
284  "Open" => "5",
285  "Order" => "5",
286  "Pronouns" => "5",
287  "Places" => "5",
288  "Predictable" => "5",
289  "PutOn" => "5",
290  "Pray" => "5",
291  "Pull" => "5",
292  "Push" => "5",
293  "PushDir" => "5",
294  "PluralFound" => "5",
295  "Prompt" => "5",
296  "Quit" => "5",
297  "Restart" => "5",
298  "Restore" => "5",
299  "RoutinesOn" => "5",
300  "RoutinesOff" => "5",
301  "Remove" => "5",
302  "Rub" => "5",
303  "Receive" => "5",
304  "Save" => "5",
305  "SciptOn" => "5",
306  "ScriptOff" => "5",
307  "Score" => "5",
308  "Scope" => "5",
309  "Search" => "5",
310  "Show" => "5",
311  "SwitchOn" => "5",
312  "SwitchOff" => "5",
313  "Smell" => "5",
314  "Sorry" => "5",
315  "Strong" => "5",
316  "Swim" => "5",
317  "Swing" => "5",
318  "Set" => "5",
319  "SetTo" => "5",
320  "Squeeze" => "5",
321  "Sing" => "5",
322  "Sleep" => "5",
323  "TraceOn" => "5",
324  "TraceOff" => "5",
325  "TraceLevel" => "5",
326  "TimersOn" => "5",
327  "TimersOff" => "5",
328  "Transfer" => "5",
329  "Think" => "5",
330  "Taste" => "5",
331  "Touch" => "5",
332  "Tie" => "5",
333  "Turn" => "5",
334  "ThrowAt" => "5",
335  "ThrownAt" => "5",
336  "TheSame" => "5",
337  "Unlock" => "5",
338  "Verify" => "5",
339  "Xpurloin" => "5",
340  "Xabstract" => "5",
341  "Xtree" => "5",
342  "Yes" => "5",
343  "Wear" => "5",
344  "Wake" => "5",
345  "WakeOther" => "5",
346  "Wave" => "5",
347  "WaveHands" => "5",
348  "Wait" => "5");
349 
350  // Special extensions
351 
352  // Each category can specify a PHP function that returns an altered
353  // version of the keyword.
354 
355 
356 
357  $this->linkscripts = array(
358  "" => "donothing",
359  "1" => "donothing",
360  "2" => "donothing",
361  "3" => "donothing",
362  "4" => "donothing",
363  "5" => "donothing");
364  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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