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

Public Member Functions

 HFile_vbdotnet ()
 
 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_vbdotnet.php.

Member Function Documentation

◆ donothing()

HFile_vbdotnet::donothing (   $keywordin)

Definition at line 529 of file HFile_vbdotnet.php.

530  {
531  return $keywordin;
532  }

◆ HFile_vbdotnet()

HFile_vbdotnet::HFile_vbdotnet ( )

Definition at line 10 of file HFile_vbdotnet.php.

References array.

11  {
12  $this->HFile();
13 
14  /*************************************/
15  // Beautifier Highlighting Configuration File
16  // VB.NET
17  /*************************************/
18  // Flags
19 
20  $this->nocase = "1";
21  $this->notrim = "0";
22  $this->perl = "0";
23 
24  // Colours
25 
26  $this->colours = array("blue", "gray", "purple", "gray", "brown", "blue", "purple", "brown");
27  $this->quotecolour = "blue";
28  $this->blockcommentcolour = "green";
29  $this->linecommentcolour = "green";
30 
31  // Indent Strings
32 
33  $this->indent = array("Public Sub", "Private Sub", "Sub", "Public Class", "Private Class", "Public Module", "Try");
34  $this->unindent = array("End Sub", "End Class", "End Module", "End Try");
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  "3DDKSHADOW" => "1",
52  "3DHIGHLIGHT" => "1",
53  "3DLIGHT" => "1",
54  "ABORT" => "1",
55  "ABORTRETRYIGNORE" => "1",
56  "ACTIVEBORDER" => "1",
57  "ACTIVETITLEBAR" => "1",
58  "ALIAS" => "1",
59  "APPLICATIONMODAL" => "1",
60  "APPLICATIONWORKSPACE" => "1",
61  "ARCHIVE" => "1",
62  "BACK" => "1",
63  "BINARYCOMPARE" => "1",
64  "BLACK" => "1",
65  "BLUE" => "1",
66  "BUTTONFACE" => "1",
67  "BUTTONSHADOW" => "1",
68  "BUTTONTEXT" => "1",
69  "CANCEL" => "1",
70  "CDROM" => "1",
71  "CR" => "1",
72  "CRITICAL" => "1",
73  "CRLF" => "1",
74  "CYAN" => "1",
75  "DEFAULT" => "1",
76  "DEFAULTBUTTON1" => "1",
77  "DEFAULTBUTTON2" => "1",
78  "DEFAULTBUTTON3" => "1",
79  "DESKTOP" => "1",
80  "DIRECTORY" => "1",
81  "EXCLAMATION" => "1",
82  "FALSE" => "1",
83  "FIXED" => "1",
84  "FORAPPENDING" => "1",
85  "FORMFEED" => "1",
86  "FORREADING" => "1",
87  "FORWRITING" => "1",
88  "FROMUNICODE" => "1",
89  "GRAYTEXT" => "1",
90  "GREEN" => "1",
91  "HIDDEN" => "1",
92  "HIDE" => "1",
93  "HIGHLIGHT" => "1",
94  "HIGHLIGHTTEXT" => "1",
95  "HIRAGANA" => "1",
96  "IGNORE" => "1",
97  "INACTIVEBORDER" => "1",
98  "INACTIVECAPTIONTEXT" => "1",
99  "INACTIVETITLEBAR" => "1",
100  "INFOBACKGROUND" => "1",
101  "INFORMATION" => "1",
102  "INFOTEXT" => "1",
103  "KATAKANA" => "1",
104  "LF" => "1",
105  "LOWERCASE" => "1",
106  "MAGENTA" => "1",
107  "MAXIMIZEDFOCUS" => "1",
108  "MENUBAR" => "1",
109  "MENUTEXT" => "1",
110  "METHOD" => "1",
111  "MINIMIZEDFOCUS" => "1",
112  "MINIMIZEDNOFOCUS" => "1",
113  "MSGBOXRIGHT" => "1",
114  "MSGBOXRTLREADING" => "1",
115  "MSGBOXSETFOREGROUND" => "1",
116  "NARROW" => "1",
117  "NEWLINE" => "1",
118  "NO" => "1",
119  "NORMAL" => "1",
120  "NORMALFOCUS" => "1",
121  "NORMALNOFOCUS" => "1",
122  "NULLSTRING" => "1",
123  "OBJECTERROR" => "1",
124  "OK" => "1",
125  "OKCANCEL" => "1",
126  "OKONLY" => "1",
127  "PROPERCASE" => "1",
128  "QUESTION" => "1",
129  "RAMDISK" => "1",
130  "READONLY" => "1",
131  "RED" => "1",
132  "REMOTE" => "1",
133  "REMOVABLE" => "1",
134  "RETRY" => "1",
135  "RETRYCANCEL" => "1",
136  "SCROLLBARS" => "1",
137  "SYSTEMFOLDER" => "1",
138  "SYSTEMMODAL" => "1",
139  "TAB" => "7",
140  "TEMPORARYFOLDER" => "1",
141  "TEXTCOMPARE" => "1",
142  "TITLEBARTEXT" => "1",
143  "TRUE" => "1",
144  "UNICODE" => "1",
145  "UNKNOWN" => "1",
146  "UPPERCASE" => "1",
147  "VERTICALTAB" => "1",
148  "VOLUME" => "1",
149  "WHITE" => "1",
150  "WIDE" => "1",
151  "WIN16" => "1",
152  "WIN32" => "1",
153  "WINDOWBACKGROUND" => "1",
154  "WINDOWFRAME" => "1",
155  "WINDOWSFOLDER" => "1",
156  "WINDOWTEXT" => "1",
157  "YELLOW" => "1",
158  "YES" => "1",
159  "YESNO" => "1",
160  "YESNOCANCEL" => "1",
161  "BOOLEAN" => "2",
162  "BYTE" => "2",
163  "DATE" => "2",
164  "DECIMIAL" => "2",
165  "DOUBLE" => "2",
166  "INTEGER" => "2",
167  "LONG" => "2",
168  "OBJECT" => "2",
169  "SINGLE" => "2",
170  "STRING" => "2",
171  "As" => "3",
172  "ADDHANDLER" => "3",
173  "ASSEMBLY" => "3",
174  "AUTO" => "3",
175  "Binary" => "3",
176  "ByRef" => "3",
177  "ByVal" => "3",
178  "BEGINEPILOGUE" => "3",
179  "Else" => "3",
180  "Empty" => "3",
181  "Error" => "3",
182  "ENDPROLOGUE" => "3",
183  "EXTERNALSOURCE" => "3",
184  "ENVIRON" => "3",
185  "For" => "3",
186  "Friend" => "3",
187  "GET" => "3",
188  "HANDLES" => "3",
189  "Input" => "3",
190  "Is" => "3",
191  "Len" => "3",
192  "Lock" => "3",
193  "Me" => "3",
194  "Mid" => "3",
195  "MUSTINHERIT" => "3",
196  "MYBASE" => "3",
197  "MYCLASS" => "3",
198  "New" => "3",
199  "Next" => "3",
200  "Nothing" => "3",
201  "Null" => "3",
202  "NOTINHERITABLE" => "3",
203  "NOTOVERRIDABLE" => "3",
204  "OFF" => "3",
205  "On" => "3",
206  "Option" => "3",
207  "Optional" => "3",
208  "OVERRIDABLE" => "3",
209  "ParamArray" => "3",
210  "Print" => "3",
211  "Private" => "3",
212  "Property" => "3",
213  "Public" => "3",
214  "Resume" => "3",
215  "Seek" => "3",
216  "Static" => "3",
217  "Step" => "3",
218  "String" => "3",
219  "SHELL" => "3",
220  "SENDKEYS" => "3",
221  "SET" => "3",
222  "Then" => "3",
223  "Time" => "3",
224  "To" => "3",
225  "THROW" => "3",
226  "WithEvents" => "3",
227  "COLLECTION" => "4",
228  "DEBUG" => "4",
229  "DICTIONARY" => "4",
230  "DRIVE" => "4",
231  "DRIVES" => "4",
232  "ERR" => "4",
233  "FILE" => "4",
234  "FILES" => "4",
235  "FILESYSTEMOBJECT" => "4",
236  "FOLDER" => "4",
237  "FOLDERS" => "4",
238  "TEXTSTREAM" => "4",
239  "&" => "5",
240  "&=" => "5",
241  "*" => "5",
242  "*=" => "5",
243  "+" => "5",
244  "+=" => "5",
245  "-" => "5",
246  "-=" => "5",
247  "//" => "5",
248  "/" => "5",
249  "/=" => "5",
250  "=" => "5",
251  "\\" => "5",
252  "\\=" => "5",
253  "^" => "5",
254  "^=" => "5",
255  "ADDRESSOF" => "5",
256  "AND" => "5",
257  "BITAND" => "5",
258  "BITNOT" => "5",
259  "BITOR" => "5",
260  "BITXOR" => "5",
261  "GETTYPE" => "5",
262  "LIKE" => "5",
263  "MOD" => "5",
264  "NOT" => "5",
265  "OR" => "5",
266  "XOR" => "5",
267  "APPACTIVATE" => "6",
268  "BEEP" => "6",
269  "CALL" => "6",
270  "CHDIR" => "6",
271  "CHDRIVE" => "6",
272  "CLASS" => "6",
273  "CASE" => "6",
274  "CATCH" => "6",
275  "DECLARE" => "6",
276  "DELEGATE" => "6",
277  "DELETESETTING" => "6",
278  "DIM" => "6",
279  "DO" => "6",
280  "DOEVENTS" => "6",
281  "END" => "6",
282  "ENUM" => "6",
283  "EVENT" => "6",
284  "EXIT" => "6",
285  "EACH" => "6",
286  "FUNCTION" => "6",
287  "FINALLY" => "6",
288  "IF" => "6",
289  "IMPORTS" => "6",
290  "INHERITS" => "6",
291  "INTERFACE" => "6",
292  "IMPLEMENTS" => "6",
293  "KILL" => "6",
294  "LOOP" => "6",
295  "MIDB" => "7",
296  "MODULE" => "6",
297  "NAMESPACE" => "6",
298  "OPEN" => "6",
299  "PUT" => "6",
300  "RAISEEVENT" => "6",
301  "RANDOMIZE" => "6",
302  "REDIM" => "6",
303  "REM" => "6",
304  "RESET" => "6",
305  "SAVESETTING" => "6",
306  "SELECT" => "6",
307  "SETATTR" => "6",
308  "STOP" => "6",
309  "SUB" => "6",
310  "SYNCLOCK" => "6",
311  "STRUCTURE" => "6",
312  "SHADOWS" => "6",
313  "SWITCH" => "6",
314  "TIMEOFDAY" => "7",
315  "TODAY" => "7",
316  "TRY" => "6",
317  "WIDTH" => "6",
318  "WITH" => "6",
319  "WRITE" => "6",
320  "WHILE" => "6",
321  "ABS" => "7",
322  "ARRAY" => "7",
323  "ASC" => "7",
324  "ASCB" => "7",
325  "ASCW" => "7",
326  "CALLBYNAME" => "7",
327  "CBOOL" => "7",
328  "CBYTE" => "7",
329  "CCHAR" => "7",
330  "CCHR" => "7",
331  "CDATE" => "7",
332  "CDBL" => "7",
333  "CDEC" => "7",
334  "CHOOSE" => "7",
335  "CHR" => "7",
336  "CHR$" => "7",
337  "CHRB" => "7",
338  "CHRB$" => "7",
339  "CHRW" => "7",
340  "CINT" => "7",
341  "CLNG" => "7",
342  "CLNG8" => "7",
343  "CLOSE" => "7",
344  "COBJ" => "7",
345  "COMMAND" => "7",
346  "COMMAND$" => "7",
347  "CONVERSION" => "7",
348  "COS" => "7",
349  "CREATEOBJECT" => "7",
350  "CSHORT" => "7",
351  "CSTR" => "7",
352  "CURDIR" => "7",
353  "CTYPE" => "7",
354  "CVDATE" => "7",
355  "DATEADD" => "7",
356  "DATEDIFF" => "7",
357  "DATEPART" => "7",
358  "DATESERIAL" => "7",
359  "DATEVALUE" => "7",
360  "DAY" => "7",
361  "DDB" => "7",
362  "DIR" => "7",
363  "DIR$" => "7",
364  "EOF" => "7",
365  "ERROR$" => "7",
366  "EXP" => "7",
367  "FILEATTR" => "7",
368  "FILECOPY" => "7",
369  "FILEDATATIME" => "7",
370  "FILELEN" => "7",
371  "FILTER" => "7",
372  "FIX" => "7",
373  "FORMAT" => "7",
374  "FORMAT$" => "7",
375  "FORMATCURRENCY" => "7",
376  "FORMATDATETIME" => "7",
377  "FORMATNUMBER" => "7",
378  "FORMATPERCENT" => "7",
379  "FREEFILE" => "7",
380  "FV" => "7",
381  "GETALLSETTINGS" => "7",
382  "GETATTRGETOBJECT" => "7",
383  "GETSETTING" => "7",
384  "HEX" => "7",
385  "HEX$" => "7",
386  "HOUR" => "7",
387  "IIF" => "7",
388  "IMESTATUS" => "7",
389  "INPUT$" => "7",
390  "INPUTB" => "7",
391  "INPUTB$" => "7",
392  "INPUTBOX" => "7",
393  "INSTR" => "7",
394  "INSTRB" => "7",
395  "INSTRREV" => "7",
396  "INT" => "7",
397  "IPMT" => "7",
398  "IRR" => "7",
399  "ISARRAY" => "7",
400  "ISDATE" => "7",
401  "ISEMPTY" => "7",
402  "ISERROR" => "7",
403  "ISNULL" => "7",
404  "ISNUMERIC" => "7",
405  "ISOBJECT" => "7",
406  "JOIN" => "7",
407  "LBOUND" => "7",
408  "LCASE" => "7",
409  "LCASE$" => "7",
410  "LEFT" => "7",
411  "LEFT$" => "7",
412  "LEFTB" => "7",
413  "LEFTB$" => "7",
414  "LENB" => "7",
415  "LINEINPUT" => "7",
416  "LOC" => "7",
417  "LOF" => "7",
418  "LOG" => "7",
419  "LTRIM" => "7",
420  "LTRIM$" => "7",
421  "MID$" => "7",
422  "MIDB$" => "7",
423  "MINUTE" => "7",
424  "MIRR" => "7",
425  "MKDIR" => "7",
426  "MONTH" => "7",
427  "MONTHNAME" => "7",
428  "MSGBOX" => "7",
429  "NOW" => "7",
430  "NPER" => "7",
431  "NPV" => "7",
432  "OCT" => "7",
433  "OCT$" => "7",
434  "PARTITION" => "7",
435  "PMT" => "7",
436  "PPMT" => "7",
437  "PV" => "7",
438  "RATE" => "7",
439  "REPLACE" => "7",
440  "RIGHT" => "7",
441  "RIGHT$" => "7",
442  "RIGHTB" => "7",
443  "RIGHTB$" => "7",
444  "RMDIR" => "7",
445  "RND" => "7",
446  "RTRIM" => "7",
447  "RTRIM$" => "7",
448  "SECOND" => "7",
449  "SIN" => "7",
450  "SLN" => "7",
451  "SPACE" => "7",
452  "SPACE$" => "7",
453  "SPC" => "7",
454  "SPLIT" => "7",
455  "STR" => "7",
456  "STR$" => "7",
457  "STRCOMP" => "7",
458  "STRCONV" => "7",
459  "STRING$" => "7",
460  "STRREVERSE" => "7",
461  "SYD" => "7",
462  "TAN" => "7",
463  "TIMER" => "7",
464  "TIMESERIAL" => "7",
465  "TIMEVALUE" => "7",
466  "TRIM" => "7",
467  "TRIM$" => "7",
468  "TYPENAME" => "7",
469  "UBOUND" => "7",
470  "UCASE" => "7",
471  "UCASE$" => "7",
472  "VAL" => "7",
473  "WEEKDAY" => "7",
474  "WEEKDAYNAME" => "7",
475  "YEAR" => "7",
476  "ANY" => "8",
477  "ATN" => "8",
478  "CALENDAR" => "8",
479  "CIRCLE" => "8",
480  "CURRENCY" => "8",
481  "DEFBOOL" => "8",
482  "DEFBYTE" => "8",
483  "DEFCUR" => "8",
484  "DEFDATE" => "8",
485  "DEFDBL" => "8",
486  "DEFDEC" => "8",
487  "DEFINT" => "8",
488  "DEFLNG" => "8",
489  "DEFOBJ" => "8",
490  "DEFSNG" => "8",
491  "DEFSTR" => "8",
492  "DEFVAR" => "8",
493  "EQV" => "8",
494  "GOSUB" => "8",
495  "IMP" => "8",
496  "INITIALIZE" => "8",
497  "ISMISSING" => "8",
498  "LET" => "8",
499  "LINE" => "8",
500  "LSET" => "8",
501  "RSET" => "8",
502  "SGN" => "8",
503  "SQR" => "8",
504  "TERMINATE" => "8",
505  "VARIANT" => "8",
506  "VARTYPE" => "8",
507  "WEND" => "8");
508 
509  // Special extensions
510 
511  // Each category can specify a PHP function that returns an altered
512  // version of the keyword.
513 
514 
515 
516  $this->linkscripts = array(
517  "1" => "donothing",
518  "7" => "donothing",
519  "2" => "donothing",
520  "3" => "donothing",
521  "4" => "donothing",
522  "5" => "donothing",
523  "6" => "donothing",
524  "8" => "donothing");
525  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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