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

Public Member Functions

 HFile_rexx ()
 
 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_rexx.php.

Member Function Documentation

◆ donothing()

HFile_rexx::donothing (   $keywordin)

Definition at line 299 of file HFile_rexx.php.

300  {
301  return $keywordin;
302  }

◆ HFile_rexx()

HFile_rexx::HFile_rexx ( )

Definition at line 9 of file HFile_rexx.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // REXX
15  /*************************************/
16  // Flags
17 
18  $this->nocase = "1";
19  $this->notrim = "0";
20  $this->perl = "0";
21 
22  // Colours
23 
24  $this->colours = array("blue", "purple", "gray");
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  "ADDRESS" => "1",
50  "ADDITIONAL" => "1",
51  "ANY" => "1",
52  "ARG" => "1",
53  "ARGUMENTS" => "1",
54  "ARRAY" => "1",
55  "BY" => "1",
56  "CALL" => "1",
57  "CASELESS" => "1",
58  "CONTINUE" => "1",
59  "CLASS" => "1",
60  "DESCRIPTION" => "1",
61  "DIGITS" => "1",
62  "DO" => "1",
63  "DROP" => "1",
64  "END" => "1",
65  "ENGINEERING" => "1",
66  "ERROR" => "1",
67  "EXIT" => "1",
68  "EXPOSE" => "1",
69  "ELSE" => "1",
70  "FAILURE" => "1",
71  "FOR" => "1",
72  "FOREVER" => "1",
73  "FORM" => "1",
74  "FORWARD" => "1",
75  "FUZZ" => "1",
76  "GUARD" => "1",
77  "HALT" => "1",
78  "IF" => "1",
79  "INTERPRET" => "1",
80  "ITERATE" => "1",
81  "LEAVE" => "1",
82  "LOWER" => "1",
83  "LOSTDIGITS" => "1",
84  "MESSAGE" => "1",
85  "NAME" => "1",
86  "NOP" => "1",
87  "NOMETHOD" => "1",
88  "NOSTRING" => "1",
89  "NOTREADY" => "1",
90  "NOVALUE" => "1",
91  "NUMERIC" => "1",
92  "ON" => "1",
93  "OFF" => "1",
94  "OTHERWISE" => "1",
95  "PARSE" => "1",
96  "PROCEDURE" => "1",
97  "PULL" => "1",
98  "PUSH" => "1",
99  "PROPAGATE" => "1",
100  "QUEUE" => "1",
101  "RAISE" => "1",
102  "REPLY" => "1",
103  "RETURN" => "1",
104  "RET" => "1",
105  "RC" => "1",
106  "SAY" => "1",
107  "SCIENTIFIC" => "1",
108  "SELECT" => "1",
109  "SIGL" => "1",
110  "SIGNAL" => "1",
111  "SOURCE" => "1",
112  "SYNTAX" => "1",
113  "THEN" => "1",
114  "TO" => "1",
115  "TRACE" => "1",
116  "UPPER" => "1",
117  "UNTIL" => "1",
118  "USE" => "1",
119  "USER" => "1",
120  "VERSION" => "1",
121  "WHEN" => "1",
122  "WHILE" => "1",
123  "WITH" => "1",
124  "ABBREV" => "2",
125  "ABS" => "2",
126  "APPEND" => "2",
127  "BEEP" => "2",
128  "BINARY" => "2",
129  "BITAND" => "2",
130  "BITOR" => "2",
131  "BITXOR" => "2",
132  "BOTH" => "2",
133  "B2X" => "2",
134  "CENTER" => "2",
135  "CHANGESTR" => "2",
136  "CHAR" => "2",
137  "CHARIN" => "2",
138  "CHAROUT" => "2",
139  "CHARS" => "2",
140  "COMPARE" => "2",
141  "CONDITION" => "2",
142  "COPIES" => "2",
143  "COUNTSTR" => "2",
144  "CLOSE" => "2",
145  "C2D" => "2",
146  "C2X" => "2",
147  "DATETIME" => "2",
148  "DATATYPE" => "2",
149  "DATE" => "2",
150  "DELSTR" => "2",
151  "DELWORD" => "2",
152  "DIRECTORY" => "2",
153  "D2C" => "2",
154  "D2X" => "2",
155  "ERRORTEXT" => "2",
156  "EXISTS" => "2",
157  "FILESPEC" => "2",
158  "FLUSH" => "2",
159  "FORMAT" => "2",
160  "HANDLE" => "2",
161  "INSERT" => "2",
162  "LASTPOS" => "2",
163  "LEFT" => "2",
164  "LENGTH" => "2",
165  "LINE" => "2",
166  "LINEIN" => "2",
167  "LINEOUT" => "2",
168  "LINES" => "2",
169  "MAX" => "2",
170  "MIN" => "2",
171  "NOBUFFER" => "2",
172  "OPEN" => "2",
173  "OVERLAY" => "2",
174  "POS" => "2",
175  "POSITION" => "2",
176  "QUEUED" => "2",
177  "QUERY" => "2",
178  "RANDOM" => "2",
179  "RECLENGTH" => "2",
180  "READ" => "2",
181  "REPLACE" => "2",
182  "REVERSE" => "2",
183  "RIGHT" => "2",
184  "SEEK" => "2",
185  "SIGN" => "2",
186  "SIZE" => "2",
187  "SHARED" => "2",
188  "SHAREREAD" => "2",
189  "SHAREWRITE" => "2",
190  "SOURCELINE" => "2",
191  "SPACE" => "2",
192  "STREAM" => "2",
193  "STREAMTYPE" => "2",
194  "STRIP" => "2",
195  "SUBWORD" => "2",
196  "SUBSTR" => "2",
197  "SYMBOL" => "2",
198  "SYS" => "2",
199  "TIME" => "2",
200  "TIMESTAMP" => "2",
201  "TRANSLATE" => "2",
202  "TRUNC" => "2",
203  "VAR" => "2",
204  "VALUE" => "2",
205  "VERIFY" => "2",
206  "WORD" => "2",
207  "WORDINDEX" => "2",
208  "WORDLENGTH" => "2",
209  "WORDPOS" => "2",
210  "WORDS" => "2",
211  "WRITE" => "2",
212  "XRANGE" => "2",
213  "X2B" => "2",
214  "X2C" => "2",
215  "X2D" => "2",
216  "PID" => "3",
217  "PPRIO" => "3",
218  "PTIME" => "3",
219  "RxFuncAdd" => "3",
220  "RxFuncDrop" => "3",
221  "RxFuncQuery" => "3",
222  "RxQueue" => "3",
223  "RxMessageBox" => "3",
224  "RxWinExec" => "3",
225  "SysAddRexxMacro" => "3",
226  "SysBootDrive" => "3",
227  "SysClearRexxMacroSpace" => "3",
228  "SysCloseEventSem" => "3",
229  "SysCloseMutexSem" => "3",
230  "SysCls" => "3",
231  "SysCreateEventSem" => "3",
232  "SysCreateMutexSem" => "3",
233  "SysCurPos" => "3",
234  "SysCurState" => "3",
235  "SysDriveInfo" => "3",
236  "SysDriveMap" => "3",
237  "SysDropFuncs" => "3",
238  "SysDropRexxMacro" => "3",
239  "SysDumpVariables" => "3",
240  "SysFileDelete" => "3",
241  "SysFileSearch" => "3",
242  "SysFileSystemType" => "3",
243  "SysGetFileDateTime" => "3",
244  "SysFileTree" => "3",
245  "SysGetKey" => "3",
246  "SysIni" => "3",
247  "SysLoadFuncs" => "3",
248  "SysLoadRexxMacroSpace" => "3",
249  "SysMkDir" => "3",
250  "SysOpenEventSem" => "3",
251  "SysOpenMutexSem" => "3",
252  "SysPostEventSem" => "3",
253  "SysPulseEventSem" => "3",
254  "SysQueryProcess" => "3",
255  "SysQueryRexxMacro" => "3",
256  "SysReleaseMutexSem" => "3",
257  "SysReorderRexxMacro" => "3",
258  "SysRequestMutexSem" => "3",
259  "SysResetEventSem" => "3",
260  "SysRmDir" => "3",
261  "SysSaveRexxMacroSpace" => "3",
262  "SysSearchPath" => "3",
263  "SysSetFileDateTime" => "3",
264  "SysSetPriority" => "3",
265  "SysSleep" => "3",
266  "SysStemCopy" => "3",
267  "SysStemDelete" => "3",
268  "SysStemInsert" => "3",
269  "SysStemSort" => "3",
270  "SysSwitchSession" => "3",
271  "SysSystemDirectory" => "3",
272  "SysTempFileName" => "3",
273  "SysTextScreenRead" => "3",
274  "SysTextScreenSize" => "3",
275  "SysUtilVersion" => "3",
276  "SysVolumeLabel" => "3",
277  "SysWaitEventSem" => "3",
278  "SysWaitNamedPipe" => "3",
279  "SysVersion" => "3",
280  "SysWinVer" => "3",
281  "TID" => "3",
282  "TPRIO" => "3",
283  "TTIME" => "3");
284 
285  // Special extensions
286 
287  // Each category can specify a PHP function that returns an altered
288  // version of the keyword.
289 
290 
291 
292  $this->linkscripts = array(
293  "1" => "donothing",
294  "2" => "donothing",
295  "3" => "donothing");
296  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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