ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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
 __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_modula.php.

Member Function Documentation

◆ donothing()

HFile_modula::donothing (   $keywordin)

Definition at line 165 of file HFile_modula.php.

166  {
167  return $keywordin;
168  }

◆ HFile_modula()

HFile_modula::HFile_modula ( )

Definition at line 9 of file HFile_modula.php.

References array.

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

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