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

Public Member Functions

 HFile_mumps ()
 
 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 8 of file HFile_mumps.php.

Member Function Documentation

◆ donothing()

HFile_mumps::donothing (   $keywordin)

Definition at line 196 of file HFile_mumps.php.

197  {
198  return $keywordin;
199  }

◆ HFile_mumps()

HFile_mumps::HFile_mumps ( )

Definition at line 10 of file HFile_mumps.php.

References array.

11  {
12  $this->HFile();
13 
14  /*************************************/
15  // Beautifier Highlighting Configuration File
16  // Mumps
17  /*************************************/
18  // Flags
19 
20  $this->nocase = "0";
21  $this->notrim = "0";
22  $this->perl = "0";
23 
24  // Colours
25 
26  $this->colours = array("blue", "purple", "gray", "brown", "blue", "purple", "gray");
27  $this->quotecolour = "blue";
28  $this->blockcommentcolour = "green";
29  $this->linecommentcolour = "green";
30 
31  // Indent Strings
32 
33  $this->indent = array();
34  $this->unindent = array();
35 
36  // String characters and delimiters
37 
38  $this->stringchars = array("\"");
39  $this->delimiters = array("+", "&", "_", "/", "=", "*", "*", ">", "#", "@", "\\", "<", "-", "*", ".", "!", "?", " ", "[", "]", "\"", " ", ",", ".", "?", "(", ")", "|", ":", ";");
40  $this->escchar = "";
41 
42  // Comment settings
43 
44  $this->linecommenton = array(";");
45  $this->blockcommenton = array("");
46  $this->blockcommentoff = array("");
47 
48  // Keywords (keyword mapping to colour number)
49 
50  $this->keywords = array(
51  "B" => "1",
52  "C" => "1",
53  "D" => "1",
54  "E" => "1",
55  "F" => "1",
56  "G" => "1",
57  "H" => "1",
58  "I" => "1",
59  "J" => "1",
60  "K" => "1",
61  "L" => "1",
62  "M" => "1",
63  "N" => "1",
64  "O" => "1",
65  "Q" => "1",
66  "R" => "1",
67  "S" => "1",
68  "TC" => "1",
69  "TRE" => "1",
70  "TRO" => "1",
71  "TS" => "1",
72  "U" => "1",
73  "V" => "1",
74  "W" => "1",
75  "X" => "1",
76  "ZA" => "1",
77  "ZD" => "1",
78  "ZF" => "1",
79  "ZG" => "1",
80  "ZHOROLOG" => "1",
81  "ZI" => "1",
82  "ZL" => "1",
83  "ZM" => "1",
84  "ZN" => "1",
85  "ZP" => "1",
86  "ZQ" => "1",
87  "ZR" => "1",
88  "ZS" => "1",
89  "ZSY" => "1",
90  "ZT" => "1",
91  "ZU" => "1",
92  "ZW" => "1",
93  "$$" => "2",
94  "$A" => "2",
95  "$C" => "2",
96  "$D" => "2",
97  "$E" => "2",
98  "$F" => "2",
99  "$FN" => "2",
100  "$G" => "2",
101  "$L" => "2",
102  "$NA" => "2",
103  "$N" => "2",
104  "$O" => "2",
105  "$P" => "2",
106  "$Q" => "2",
107  "$R" => "2",
108  "$RE" => "2",
109  "$S" => "2",
110  "$T" => "2",
111  "$TR" => "2",
112  "$V" => "2",
113  "$ZB" => "2",
114  "$ZBN" => "2",
115  "$ZCR" => "2",
116  "$ZD" => "2",
117  "$ZDE" => "2",
118  "$ZH" => "2",
119  "$ZN" => "2",
120  "$ZO" => "2",
121  "$ZOS" => "2",
122  "$ZP" => "2",
123  "$ZS" => "2",
124  "$ZSE" => "2",
125  "$ZU" => "2",
126  "$ZV" => "2",
127  "$H" => "3",
128  "$I" => "3",
129  "$IO" => "3",
130  "$J" => "3",
131  "$K" => "3",
132  "$SY" => "3",
133  "$TL" => "3",
134  "$X" => "3",
135  "$Y" => "3",
136  "$ZA" => "3",
137  "$ZC" => "3",
138  "$ZE" => "3",
139  "$ZL" => "3",
140  "$ZR" => "3",
141  "$ZT" => "3",
142  "^$DEVICE" => "4",
143  "^$GLOBAL" => "4",
144  "^$JOB" => "4",
145  "^$LOCK" => "4",
146  "^$ROUTINE" => "4",
147  "=" => "5",
148  "+" => "5",
149  "-" => "5",
150  "*" => "5",
151  "_" => "5",
152  "\\" => "5",
153  "/" => "5",
154  ":" => "5",
155  "." => "5",
156  "," => "5",
157  "[" => "5",
158  "]" => "5",
159  "'" => "5",
160  "<" => "5",
161  ">" => "5",
162  "@" => "5",
163  "#" => "5",
164  "^" => "6",
165  "^(" => "6",
166  "^;" => "6",
167  "^," => "6",
168  "(" => "6",
169  ")" => "6",
170  "APPEND" => "7",
171  "NEWVERSION" => "7",
172  "OVERWRITE" => "7");
173 
174  // Special extensions
175 
176 
177  // Each category can specify a PHP function that returns an altered
178  // version of the keyword.
179 
180 
181 
182 
183 
184  $this->linkscripts = array(
185  "1" => "donothing",
186  "2" => "donothing",
187  "3" => "donothing",
188  "4" => "donothing",
189  "5" => "donothing",
190  "6" => "donothing",
191  "7" => "donothing");
192  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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