ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f87
HFile_inform6 Class Reference
+ Inheritance diagram for HFile_inform6:
+ Collaboration diagram for HFile_inform6:

Public Member Functions

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

Member Function Documentation

◆ donothing()

HFile_inform6::donothing (   $keywordin)

Definition at line 754 of file HFile_inform6.php.

755 {
756  return $keywordin;
757 }

◆ HFile_inform6()

HFile_inform6::HFile_inform6 ( )

Definition at line 6 of file HFile_inform6.php.

References HFile\HFile().

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // Inform 6
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "0";
15 $this->notrim = "0";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("blue", "purple", "blue", "gray", "brown", "purple", "gray", "brown");
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  "Below" => "",
46  "is" => "",
47  "a" => "",
48  "brand-new" => "",
49  "UltraEdit" => "",
50  "word" => "",
51  "file" => "",
52  "for" => "1",
53  "Inform" => "",
54  "6." => "",
55  "Since" => "",
56  "doesn\'t" => "",
57  "yet" => "",
58  "support" => "",
59  "multi-line" => "",
60  "string" => "1",
61  "coloring," => "",
62  "I" => "",
63  "have" => "",
64  "hacked" => "",
65  "around" => "",
66  "that" => "",
67  "by" => "",
68  "defining" => "",
69  "strings" => "",
70  "as" => "",
71  "the" => "6",
72  "default" => "5",
73  "block" => "",
74  "comment," => "",
75  "which" => "",
76  "lacks" => "",
77  "anyway." => "",
78  "However," => "",
79  "this" => "",
80  "means" => "",
81  "any" => "",
82  "enclosed" => "",
83  "\"" => "",
84  "must" => "",
85  "be" => "",
86  "preceded" => "",
87  "with" => "1",
88  "space," => "",
89  "i.e." => "",
90  "print" => "1",
91  "\"Hello," => "",
92  "world^^" => "",
93  "You" => "",
94  "died\";" => "",
95  "will" => "",
96  "work," => "",
97  "but" => "",
98  "Format(\"Hello" => "",
99  "World\");" => "",
100  "not." => "",
101  "To" => "",
102  "use" => "",
103  "syntax" => "",
104  "coloring" => "",
105  "mode," => "",
106  "cut-and-paste" => "",
107  "all" => "",
108  "below" => "",
109  "\"dotted" => "",
110  "line\"" => "",
111  "and" => "",
112  "drop" => "",
113  "it" => "",
114  "into" => "",
115  "your" => "",
116  "WORDFILE.TXT." => "",
117  "Depending" => "",
118  "on" => "3",
119  "how" => "",
120  "few/many" => "",
121  "languages" => "",
122  "you" => "",
123  "defined," => "",
124  "might" => "",
125  "to" => "1",
126  "change" => "",
127  "\"/L10\"" => "",
128  "an" => "",
129  "unused" => "",
130  "number." => "",
131  "Also" => "",
132  "note" => "",
133  "definition" => "",
134  "(starting" => "",
135  "\"/L10\")" => "",
136  "*all*" => "",
137  "*on*" => "",
138  "*one*" => "",
139  "*line*" => "",
140  "up" => "",
141  "including" => "",
142  "\"File" => "",
143  "Extensions" => "",
144  "=" => "4",
145  "H" => "",
146  "INF" => "",
147  "INC\"" => "",
148  "or" => "1",
149  "won\'t" => "",
150  "work." => "",
151  "Starting" => "",
152  "7.0," => "",
153  "possible" => "",
154  "bold/italic" => "",
155  "text" => "",
156  "highlighting." => "",
157  "For" => "",
158  "reference," => "",
159  "following" => "",
160  "settings" => "",
161  "in" => "1",
162  "itself," => "",
163  "white:" => "",
164  "Normal" => "",
165  "Text" => "",
166  "RGB" => "",
167  "000/000/000" => "",
168  "Comments" => "",
169  "128/128/128," => "",
170  "italic" => "",
171  "(that\'s" => "",
172  "comments" => "",
173  "\"\"-Strings)" => "",
174  "Strings" => "",
175  "\'\'-Strings)" => "",
176  "Numbers" => "",
177  "255/000/000" => "",
178  "Statemts/Routines" => "",
179  "000/000/255" => "",
180  "Directives" => "",
181  "Attributes" => "",
182  "255/128/000" => "",
183  "Properties/Ops" => "",
184  "000/128/000" => "",
185  "Verb" => "2",
186  "actions" => "",
187  "128/064/064" => "",
188  "Grammar" => "",
189  "Assembler" => "",
190  "128/128/000" => "",
191  "Miscellaneous" => "",
192  "128/000/255" => "",
193  "Alt" => "",
194  "Block" => "",
195  "(not" => "",
196  "used)" => "",
197  "If" => "",
198  "find" => "",
199  "useful" => "",
200  "library" => "",
201  "routines," => "",
202  "constants" => "",
203  "anything" => "",
204  "else" => "1",
205  "I\'ve" => "",
206  "missed," => "",
207  "if" => "1",
208  "at" => "",
209  "all," => "",
210  "contact" => "",
211  "me!" => "",
212  "Version" => "2",
213  "2.19991202" => "",
214  "Gunther" => "",
215  "Schmidl" => "",
216  "<gschmidl@gmx.at>" => "",
217  "history:" => "",
218  "Minor" => "",
219  "additions" => "",
220  "(AfterRoutines," => "",
221  "ValueOrRun," => "",
222  "RunRoutines)" => "",
223  "fixes" => "",
224  "(moved" => "",
225  "\'NULL\'" => "",
226  "C8," => "",
227  "removed" => "",
228  "\'a\')" => "",
229  "1.19991201" => "",
230  "Initial" => "",
231  "release;" => "",
232  "statements," => "",
233  "routines" => "",
234  "etc." => "",
235  "culled" => "",
236  "from" => "",
237  "DM." => "",
238  "---cut" => "",
239  "here---cut" => "",
240  "here---" => "",
241  "AfterLife" => "1",
242  "AfterPrompt" => "1",
243  "Amusing" => "1",
244  "Achieved" => "1",
245  "AddToScope" => "1",
246  "AllowPushDir" => "1",
247  "AfterRoutines" => "1",
248  "box" => "1",
249  "break" => "1",
250  "bold" => "1",
251  "BeforeParsing" => "1",
252  "class" => "1",
253  "continue" => "1",
254  "child" => "1",
255  "children" => "1",
256  "ChangePlayer" => "1",
257  "ChangeDefault" => "1",
258  "ChooseObjects" => "1",
259  "CDefArt" => "1",
260  "do" => "1",
261  "DeathMessage" => "1",
262  "DarkToDark" => "1",
263  "DoMenu" => "1",
264  "DefArt" => "1",
265  "EnglishNumber" => "1",
266  "font" => "1",
267  "fixed" => "1",
268  "give" => "1",
269  "GamePostRoutine" => "1",
270  "GamePreRoutine" => "1",
271  "has" => "1",
272  "hasnt" => "1",
273  "HasLightSource" => "1",
274  "indirect" => "1",
275  "inversion" => "1",
276  "InScope" => "1",
277  "InDefArt" => "1",
278  "Initialise" => "1",
279  "jump" => "1",
280  "LookRoutine" => "1",
281  "Locale" => "1",
282  "LoopOverScope" => "1",
283  "metaclass" => "1",
284  "move" => "1",
285  "new_line" => "1",
286  "near" => "1",
287  "notin" => "1",
288  "nothing" => "1",
289  "NextWord" => "1",
290  "NextWordStopped" => "1",
291  "NounDomain" => "1",
292  "NewRoom" => "1",
293  "objectloop" => "1",
294  "ofclass" => "1",
295  "ObjectIsUntouchable" => "1",
296  "OffersLight" => "1",
297  "print_ret" => "1",
298  "print_to_array" => "1",
299  "parent" => "1",
300  "provides" => "1",
301  "PlayerTo" => "1",
302  "PrintRank" => "1",
303  "PrintTaskName" => "1",
304  "ParseNoun" => "1",
305  "ParseNumber" => "1",
306  "PlaceInScope" => "1",
307  "PrononValue" => "1",
308  "PronounNotice" => "1",
309  "ParserError" => "1",
310  "PrintShortName" => "1",
311  "PrintVerb" => "1",
312  "quit" => "1",
313  "random" => "1",
314  "read" => "1",
315  "remove" => "1",
316  "restore" => "1",
317  "return" => "1",
318  "rfalse" => "1",
319  "rtrue" => "1",
320  "roman" => "1",
321  "reverse" => "1",
322  "RunRoutines" => "1",
323  "save" => "1",
324  "spaces" => "1",
325  "style" => "1",
326  "switch" => "1",
327  "sibling" => "1",
328  "sender" => "1",
329  "StartDaemon" => "1",
330  "StopDaemon" => "1",
331  "StartTimer" => "1",
332  "StopTimer" => "1",
333  "Statusline" => "1",
334  "SetTime" => "1",
335  "ScopeWithin" => "1",
336  "SetPronoun" => "1",
337  "The" => "1",
338  "TestScope" => "1",
339  "TryNumber" => "1",
340  "TimePasses" => "1",
341  "until" => "1",
342  "underline" => "1",
343  "UnknownVerb" => "1",
344  "UnsignedCompare" => "1",
345  "ValueOrRun" => "1",
346  "while" => "1",
347  "WriteListFrom" => "1",
348  "WordAddress" => "1",
349  "WordLength" => "1",
350  "YesOrNo" => "1",
351  "ZRegion" => "1",
352  "**" => "7",
353  "#" => "2",
354  "Abbreviate" => "2",
355  "Array" => "2",
356  "Attribute" => "2",
357  "Class" => "2",
358  "Constant" => "2",
359  "Default" => "2",
360  "Dictionary" => "2",
361  "End" => "2",
362  "Endif" => "2",
363  "Extend" => "2",
364  "endif" => "2",
365  "Fake_action" => "2",
366  "Global" => "2",
367  "Ifdef" => "2",
368  "Ifndef" => "2",
369  "Ifnot" => "2",
370  "Iftrue" => "2",
371  "Iffalse" => "2",
372  "Import" => "2",
373  "Include" => "2",
374  "Ifv3" => "2",
375  "Ifv5" => "2",
376  "ifdef" => "2",
377  "ifndef" => "2",
378  "ifnot" => "2",
379  "iftrue" => "2",
380  "iffalse" => "2",
381  "ifv3" => "2",
382  "ifv5" => "2",
383  "Link" => "2",
384  "Lowstring" => "2",
385  "Message" => "2",
386  "Nearby" => "2",
387  "Object" => "2",
388  "Property" => "2",
389  "Release" => "2",
390  "Replace" => "2",
391  "Routine" => "2",
392  "Serial" => "2",
393  "Switches" => "2",
394  "System_file" => "2",
395  "Stub" => "2",
396  "String" => "2",
397  "Trace" => "2",
398  "absent" => "3",
399  "animate" => "3",
400  "creature" => "3",
401  "clothing" => "3",
402  "concealed" => "3",
403  "container" => "3",
404  "edible" => "3",
405  "enterable" => "3",
406  "female" => "3",
407  "general" => "3",
408  "held" => "3",
409  "light" => "3",
410  "lockable" => "3",
411  "locked" => "3",
412  "male" => "3",
413  "moved" => "3",
414  "neuter" => "3",
415  "open" => "3",
416  "openable" => "3",
417  "pluralname" => "3",
418  "proper" => "3",
419  "scenery" => "3",
420  "scored" => "3",
421  "static" => "3",
422  "supporter" => "3",
423  "switchable" => "3",
424  "talkable" => "3",
425  "transparent" => "3",
426  "visited" => "3",
427  "workflag" => "3",
428  "worn" => "3",
429  "~" => "4",
430  "." => "4",
431  ":" => "4",
432  ";" => "4",
433  "," => "4",
434  "-" => "4",
435  ">" => "4",
436  "<" => "4",
437  "&" => "4",
438  "|" => "4",
439  "(" => "4",
440  ")" => "4",
441  "[" => "4",
442  "]" => "4",
443  "{" => "4",
444  "}" => "4",
445  "+" => "4",
446  "*" => "4",
447  "//" => "4",
448  "/" => "4",
449  "add_to_scope" => "4",
450  "after" => "4",
451  "article" => "4",
452  "articles" => "4",
453  "before" => "4",
454  "cant_go" => "4",
455  "capacity" => "4",
456  "create" => "4",
457  "copy" => "4",
458  "call" => "4",
459  "door" => "4",
460  "daemon" => "4",
461  "describe" => "4",
462  "description" => "4",
463  "door_dir" => "4",
464  "door_to" => "4",
465  "d_to" => "4",
466  "destroy" => "4",
467  "each_turn" => "4",
468  "e_to" => "4",
469  "found_in" => "4",
470  "initial" => "4",
471  "inside_description" => "4",
472  "invent" => "4",
473  "in_to" => "4",
474  "grammar" => "4",
475  "life" => "4",
476  "list_together" => "4",
477  "name" => "4",
478  "number" => "4",
479  "n_to" => "4",
480  "nw_to" => "4",
481  "ne_to" => "4",
482  "orders" => "4",
483  "out_to" => "4",
484  "parse_name" => "4",
485  "plural" => "4",
486  "private" => "4",
487  "react_after" => "4",
488  "react_before" => "4",
489  "recreate" => "4",
490  "remaining" => "4",
491  "short_name" => "4",
492  "short_name_indef" => "4",
493  "s_to" => "4",
494  "se_to" => "4",
495  "sw_to" => "4",
496  "time_left" => "4",
497  "time_out" => "4",
498  "u_to" => "4",
499  "when_closed" => "4",
500  "when_open" => "4",
501  "when_off" => "4",
502  "when_on" => "4",
503  "with_key" => "4",
504  "w_to" => "4",
505  "##" => "5",
506  "ActionsOn" => "5",
507  "ActionsOff" => "5",
508  "Attack" => "5",
509  "Answer" => "5",
510  "Ask" => "5",
511  "AskFor" => "5",
512  "Burn" => "5",
513  "Blow" => "5",
514  "Buy" => "5",
515  "CommandsOn" => "5",
516  "CommandsOff" => "5",
517  "CommandsRead" => "5",
518  "Close" => "5",
519  "Consult" => "5",
520  "Cut" => "5",
521  "Climb" => "5",
522  "Drop" => "5",
523  "Disrobe" => "5",
524  "Dig" => "5",
525  "Drink" => "5",
526  "Empty" => "5",
527  "Enter" => "5",
528  "Exit" => "5",
529  "Examine" => "5",
530  "Eat" => "5",
531  "Fullscore" => "5",
532  "Fill" => "5",
533  "Goto" => "5",
534  "Gonear" => "5",
535  "GetOff" => "5",
536  "Go" => "5",
537  "GoIn" => "5",
538  "Give" => "5",
539  "Inv" => "5",
540  "InvTall" => "5",
541  "InvWide" => "5",
542  "Insert" => "5",
543  "Jump" => "5",
544  "JumpOver" => "5",
545  "Kiss" => "5",
546  "LMode1" => "5",
547  "LMode2" => "5",
548  "LMode3" => "5",
549  "Look" => "5",
550  "Lock" => "5",
551  "Listen" => "5",
552  "LookUnder" => "5",
553  "LetGo" => "5",
554  "Mild" => "5",
555  "Miscellany" => "5",
556  "NotifyOn" => "5",
557  "NotifyOff" => "5",
558  "No" => "5",
559  "NotUnderstood" => "5",
560  "Objects" => "5",
561  "Open" => "5",
562  "Order" => "5",
563  "Pronouns" => "5",
564  "Places" => "5",
565  "Predictable" => "5",
566  "PutOn" => "5",
567  "Pray" => "5",
568  "Pull" => "5",
569  "Push" => "5",
570  "PushDir" => "5",
571  "PluralFound" => "5",
572  "Prompt" => "5",
573  "Quit" => "5",
574  "Restart" => "5",
575  "Restore" => "5",
576  "RoutinesOn" => "5",
577  "RoutinesOff" => "5",
578  "Read" => "5",
579  "Remove" => "5",
580  "Rub" => "5",
581  "Receive" => "5",
582  "Save" => "5",
583  "SciptOn" => "5",
584  "ScriptOff" => "5",
585  "Score" => "5",
586  "Scope" => "5",
587  "Search" => "5",
588  "Show" => "5",
589  "SwitchOn" => "5",
590  "SwitchOff" => "5",
591  "Smell" => "5",
592  "Sorry" => "5",
593  "Strong" => "5",
594  "Swim" => "5",
595  "Swing" => "5",
596  "Set" => "5",
597  "SetTo" => "5",
598  "Squeeze" => "5",
599  "Sing" => "5",
600  "Sleep" => "5",
601  "TraceOn" => "5",
602  "TraceOff" => "5",
603  "TraceLevel" => "5",
604  "TimersOn" => "5",
605  "TimersOff" => "5",
606  "Transfer" => "5",
607  "Think" => "5",
608  "Taste" => "5",
609  "Touch" => "5",
610  "Tie" => "5",
611  "Turn" => "5",
612  "ThrowAt" => "5",
613  "ThrownAt" => "5",
614  "TheSame" => "5",
615  "Take" => "5",
616  "Tell" => "5",
617  "Unlock" => "5",
618  "VagueGo" => "5",
619  "VagueSay" => "5",
620  "Verify" => "5",
621  "Wear" => "5",
622  "Wake" => "5",
623  "WakeOther" => "5",
624  "Wave" => "5",
625  "WaveHands" => "5",
626  "Wait" => "5",
627  "Xpurloin" => "5",
628  "Xabstract" => "5",
629  "Xtree" => "5",
630  "Yes" => "5",
631  "first" => "6",
632  "last" => "6",
633  "multi" => "6",
634  "multiheld" => "6",
635  "multiexcept" => "6",
636  "multiinside" => "6",
637  "meta" => "6",
638  "noun" => "6",
639  "only" => "6",
640  "replace" => "6",
641  "scope" => "6",
642  "special" => "6",
643  "second" => "6",
644  "topic" => "6",
645  "@" => "7",
646  "action" => "8",
647  "AMUSING_PROVIDED" => "8",
648  "ALWAYS_BIT" => "8",
649  "ANIMA_PE" => "8",
650  "ASKSCOPE_PE" => "8",
651  "compass" => "8",
652  "CONCEAL_BIT" => "8",
653  "CANTSEE_PE" => "8",
654  "d_obj" => "8",
655  "deadflag" => "8",
656  "DEFART_BIT" => "8",
657  "DEBUG" => "8",
658  "e_obj" => "8",
659  "ENGLISH_BIT" => "8",
660  "EACHTURN_REASON" => "8",
661  "EXCEPT_PE" => "8",
662  "FULLINV_BIT" => "8",
663  "Headline" => "8",
664  "in_obj" => "8",
665  "inventory_stage" => "8",
666  "item_name" => "8",
667  "item_width" => "8",
668  "INDENT_BIT" => "8",
669  "ISARE_BIT" => "8",
670  "ITGONE_PE" => "8",
671  "InformLibrary" => "8",
672  "InformParser" => "8",
673  "JUNKAFTER_PE" => "8",
674  "LibraryMessages" => "8",
675  "LOOPOVERSCOPE_REASON" => "8",
676  "moves" => "8",
677  "menu_item" => "8",
678  "MAX_CARRIED" => "8",
679  "MAX_SCORE" => "8",
680  "MAX_TIMERS" => "8",
681  "MANUAL_PRONOUNS" => "8",
682  "MULTI_PE" => "8",
683  "MMULTI_PE" => "8",
684  "n_obj" => "8",
685  "ne_obj" => "8",
686  "nw_obj" => "8",
687  "NULL" => "8",
688  "NUMBER_TASKS" => "8",
689  "NO_PLACES" => "8",
690  "NEWLINE_BIT" => "8",
691  "NUMBER_PE" => "8",
692  "NOTHELD_PE" => "8",
693  "NOTHING_PE" => "8",
694  "out_obj" => "8",
695  "OBJECT_SCORE" => "8",
696  "player" => "8",
697  "parser_action" => "8",
698  "parser_one" => "8",
699  "parser_two" => "8",
700  "parsed_number" => "8",
701  "PARTINV_BIT" => "8",
702  "PARSING_REASON" => "8",
703  "real_location" => "8",
704  "ROOM_SCORE" => "8",
705  "RECURSE_BIT" => "8",
706  "REACT_BEFORE_REASON" => "8",
707  "REACT_AFTER_REASON" => "8",
708  "s_obj" => "8",
709  "sw_obj" => "8",
710  "se_obj" => "8",
711  "score" => "8",
712  "self" => "8",
713  "selfobj" => "8",
714  "SACK_OBJECT" => "8",
715  "STUCK_PE" => "8",
716  "SCENERY_PE" => "8",
717  "Story" => "8",
718  "time" => "8",
719  "thedark" => "8",
720  "TASKS_PROVIDED" => "8",
721  "TERSE_BIT" => "8",
722  "TALKING_REASON" => "8",
723  "TESTSCOPE_REASON" => "8",
724  "TOOLIT_PE" => "8",
725  "TOOFEW_PE" => "8",
726  "u_obj" => "8",
727  "UPTO_PE" => "8",
728  "VAGUE_PE" => "8",
729  "VERB_PE" => "8",
730  "w_obj" => "8",
731  "WORKFLAG_BIT" => "8",
732  "WITHOUT_DIRECTIONS" => "8");
733 
734 // Special extensions
735 
736 // Each category can specify a PHP function that returns an altered
737 // version of the keyword.
738 
739 
740 
741 $this->linkscripts = array(
742  "" => "donothing",
743  "1" => "donothing",
744  "6" => "donothing",
745  "5" => "donothing",
746  "3" => "donothing",
747  "4" => "donothing",
748  "2" => "donothing",
749  "7" => "donothing",
750  "8" => "donothing");
751 }
HFile()
Definition: HFile.php:24
+ Here is the call graph for this function:

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