ILIAS  release_5-2 Revision v5.2.25-18-g3f80b82851
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 6 of file HFile_mumps.php.

Member Function Documentation

◆ donothing()

HFile_mumps::donothing (   $keywordin)

Definition at line 193 of file HFile_mumps.php.

194 {
195  return $keywordin;
196 }

◆ HFile_mumps()

HFile_mumps::HFile_mumps ( )

Definition at line 7 of file HFile_mumps.php.

References array.

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

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