ILIAS  release_4-4 Revision
HFile_modula Class Reference
+ Inheritance diagram for HFile_modula:
+ Collaboration diagram for HFile_modula:

Public Member Functions

 HFile_modula ()
 
 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_modula.php.

Member Function Documentation

◆ donothing()

HFile_modula::donothing (   $keywordin)

Definition at line 161 of file HFile_modula.php.

162 {
163  return $keywordin;
164 }

◆ HFile_modula()

HFile_modula::HFile_modula ( )

Definition at line 6 of file HFile_modula.php.

References HFile\HFile().

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // Modula3
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");
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  "AND" => "1",
46  "AS" => "1",
47  "ANY" => "1",
48  "ARRAY" => "1",
49  "BEGIN" => "1",
50  "BITS" => "1",
51  "BRANDED" => "1",
52  "BY" => "1",
53  "CASE" => "1",
54  "CONST" => "1",
55  "DIV" => "1",
56  "DO" => "1",
57  "END" => "1",
58  "EVAL" => "1",
59  "EXCEPT" => "1",
60  "EXCEPTION" => "1",
61  "EXIT" => "1",
62  "EXPORTS" => "1",
63  "ELSIF" => "1",
64  "ELSE" => "1",
65  "FROM" => "1",
66  "FINALLY" => "1",
67  "FOR" => "1",
68  "GENERIC" => "1",
69  "IF" => "1",
70  "IMPORT" => "1",
71  "IN" => "1",
72  "INTERFACE" => "1",
73  "LOCK" => "1",
74  "LOOP" => "1",
75  "METHODS" => "1",
76  "MOD" => "1",
77  "MODULE" => "1",
78  "NOT" => "1",
79  "OBJECT" => "1",
80  "OF" => "1",
81  "OR" => "1",
82  "OVERRIDES" => "1",
83  "PROCEDURE" => "1",
84  "REPEAT" => "1",
85  "RETURN" => "1",
86  "REVEAL" => "1",
87  "RAISE" => "1",
88  "RAISES" => "1",
89  "READONLY" => "1",
90  "RECORD" => "1",
91  "REF" => "1",
92  "ROOT" => "1",
93  "SET" => "1",
94  "THEN" => "1",
95  "TO" => "1",
96  "TRY" => "1",
97  "TYPE" => "1",
98  "TYPECASE" => "1",
99  "UNTIL" => "1",
100  "UNTRACED" => "1",
101  "UNSAFE" => "1",
102  "VALUE" => "1",
103  "VAR" => "1",
104  "WHILE" => "1",
105  "WITH" => "1",
106  "ABS" => "2",
107  "ADDRESS" => "2",
108  "ADR" => "2",
109  "ADRSIZE" => "2",
110  "BITSIZE" => "2",
111  "BOOLEAN" => "2",
112  "BYTESIZE" => "2",
113  "CARDINAL" => "2",
114  "CEILING" => "2",
115  "CHAR" => "2",
116  "DEC" => "2",
117  "DISPOSE" => "2",
118  "EXTENDED" => "2",
119  "FALSE" => "2",
120  "FIRST" => "2",
121  "FLOAT" => "2",
122  "FLOOR" => "2",
123  "INC" => "2",
124  "INTEGER" => "2",
125  "ISTYPE" => "2",
126  "LAST" => "2",
127  "LONGREAL" => "2",
128  "LOOPHOLE" => "2",
129  "MAX" => "2",
130  "MIN" => "2",
131  "MUTEX" => "2",
132  "NARROW" => "2",
133  "NEW" => "2",
134  "NIL" => "2",
135  "NULL" => "2",
136  "NUMBER" => "2",
137  "ORD" => "2",
138  "REAL" => "2",
139  "REFANY" => "2",
140  "ROUND" => "2",
141  "SUBARRAY" => "2",
142  "TEXT" => "2",
143  "TRUE" => "2",
144  "TRUNC" => "2",
145  "TYPECODE" => "2",
146  "VAL" => "2");
147 
148 // Special extensions
149 
150 // Each category can specify a PHP function that returns an altered
151 // version of the keyword.
152 
153 
154 
155 $this->linkscripts = array(
156  "1" => "donothing",
157  "2" => "donothing");
158 }
HFile()
Definition: HFile.php:24
+ Here is the call graph for this function:

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