ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f87
HFile_winrex Class Reference
+ Inheritance diagram for HFile_winrex:
+ Collaboration diagram for HFile_winrex:

Public Member Functions

 HFile_winrex ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 HFile ()
 
 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 5 of file HFile_winrex.php.

Member Function Documentation

◆ donothing()

HFile_winrex::donothing (   $keywordin)

Definition at line 139 of file HFile_winrex.php.

140 {
141  return $keywordin;
142 }

◆ HFile_winrex()

HFile_winrex::HFile_winrex ( )

Definition at line 6 of file HFile_winrex.php.

References HFile\HFile().

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // WinRexx
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "1";
15 $this->notrim = "0";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("blue", "purple", "gray");
21 $this->quotecolour = "blue";
22 $this->blockcommentcolour = "green";
23 $this->linecommentcolour = "green";
24 
25 // Indent Strings
26 
27 $this->indent = array("do");
28 $this->unindent = array("end");
29 
30 // String characters and delimiters
31 
32 $this->stringchars = array("\"", "'");
33 $this->delimiters = array("~", "!", "@", "$", "%", "^", "&", "*", "(", ")", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", ".", "?", "/", " ", " ", " ", " ");
34 $this->escchar = "";
35 
36 // Comment settings
37 
38 $this->linecommenton = array("//");
39 $this->blockcommenton = array("/*");
40 $this->blockcommentoff = array("*/");
41 
42 // Keywords (keyword mapping to colour number)
43 
44 $this->keywords = array(
45  "ABBREV" => "1",
46  "ABS" => "1",
47  "ADDRESS" => "1",
48  "ARG" => "1",
49  "BITAND" => "1",
50  "BITOR" => "1",
51  "BITXOR" => "1",
52  "B2X" => "1",
53  "CENTER" => "1",
54  "CHARIN" => "1",
55  "CHAROUT" => "1",
56  "CHARS" => "1",
57  "COMPARE" => "1",
58  "CONDITION" => "1",
59  "COPIES" => "1",
60  "C2D" => "1",
61  "C2X" => "1",
62  "DATATYPE" => "1",
63  "DATE" => "1",
64  "DELSTR" => "1",
65  "DELWORD" => "1",
66  "DIGITS" => "1",
67  "D2C" => "1",
68  "D2X" => "1",
69  "ERRORTEXT" => "1",
70  "FORM" => "1",
71  "FORMAT" => "1",
72  "FUZZ" => "1",
73  "filespec" => "1",
74  "INSERT" => "1",
75  "LASTPOS" => "1",
76  "LEFT" => "1",
77  "LENGTH" => "1",
78  "LINEIN" => "1",
79  "LINEOUT" => "1",
80  "LINES" => "1",
81  "MAX" => "1",
82  "MIN" => "1",
83  "nop" => "1",
84  "OVERLAY" => "1",
85  "POS" => "1",
86  "QUEUED" => "1",
87  "RANDOM" => "1",
88  "REVERSE" => "1",
89  "RIGHT" => "1",
90  "SIGN" => "1",
91  "SOURCELINE" => "1",
92  "SPACE" => "1",
93  "STREAM" => "1",
94  "STRIP" => "1",
95  "SUBSTR" => "1",
96  "SUBWORD" => "1",
97  "SYMBOL" => "1",
98  "TIME" => "1",
99  "TRACE" => "1",
100  "TRANSLATE" => "1",
101  "TRUNC" => "1",
102  "VALUE" => "1",
103  "VERIFY" => "1",
104  "WORD" => "1",
105  "WORDINDEX" => "1",
106  "WORDLENGTH" => "1",
107  "WORDPOS" => "1",
108  "WORDS" => "1",
109  "XRANGE" => "1",
110  "X2B" => "1",
111  "X2C" => "1",
112  "X2D" => "1",
113  "say" => "2",
114  "signal" => "2",
115  "call" => "3",
116  "do" => "3",
117  "end" => "3",
118  "exit" => "3",
119  "if" => "3",
120  "otherwise" => "3",
121  "select" => "3",
122  "then" => "3",
123  "when" => "3");
124 
125 // Special extensions
126 
127 // Each category can specify a PHP function that returns an altered
128 // version of the keyword.
129 
130 
131 
132 $this->linkscripts = array(
133  "1" => "donothing",
134  "2" => "donothing",
135  "3" => "donothing");
136 }
HFile()
Definition: HFile.php:24
+ Here is the call graph for this function:

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