ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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
 __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_winrex.php.

Member Function Documentation

◆ donothing()

HFile_winrex::donothing (   $keywordin)

Definition at line 143 of file HFile_winrex.php.

144  {
145  return $keywordin;
146  }

◆ HFile_winrex()

HFile_winrex::HFile_winrex ( )

Definition at line 9 of file HFile_winrex.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // WinRexx
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("do");
32  $this->unindent = array("end");
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  "ABBREV" => "1",
50  "ABS" => "1",
51  "ADDRESS" => "1",
52  "ARG" => "1",
53  "BITAND" => "1",
54  "BITOR" => "1",
55  "BITXOR" => "1",
56  "B2X" => "1",
57  "CENTER" => "1",
58  "CHARIN" => "1",
59  "CHAROUT" => "1",
60  "CHARS" => "1",
61  "COMPARE" => "1",
62  "CONDITION" => "1",
63  "COPIES" => "1",
64  "C2D" => "1",
65  "C2X" => "1",
66  "DATATYPE" => "1",
67  "DATE" => "1",
68  "DELSTR" => "1",
69  "DELWORD" => "1",
70  "DIGITS" => "1",
71  "D2C" => "1",
72  "D2X" => "1",
73  "ERRORTEXT" => "1",
74  "FORM" => "1",
75  "FORMAT" => "1",
76  "FUZZ" => "1",
77  "filespec" => "1",
78  "INSERT" => "1",
79  "LASTPOS" => "1",
80  "LEFT" => "1",
81  "LENGTH" => "1",
82  "LINEIN" => "1",
83  "LINEOUT" => "1",
84  "LINES" => "1",
85  "MAX" => "1",
86  "MIN" => "1",
87  "nop" => "1",
88  "OVERLAY" => "1",
89  "POS" => "1",
90  "QUEUED" => "1",
91  "RANDOM" => "1",
92  "REVERSE" => "1",
93  "RIGHT" => "1",
94  "SIGN" => "1",
95  "SOURCELINE" => "1",
96  "SPACE" => "1",
97  "STREAM" => "1",
98  "STRIP" => "1",
99  "SUBSTR" => "1",
100  "SUBWORD" => "1",
101  "SYMBOL" => "1",
102  "TIME" => "1",
103  "TRACE" => "1",
104  "TRANSLATE" => "1",
105  "TRUNC" => "1",
106  "VALUE" => "1",
107  "VERIFY" => "1",
108  "WORD" => "1",
109  "WORDINDEX" => "1",
110  "WORDLENGTH" => "1",
111  "WORDPOS" => "1",
112  "WORDS" => "1",
113  "XRANGE" => "1",
114  "X2B" => "1",
115  "X2C" => "1",
116  "X2D" => "1",
117  "say" => "2",
118  "signal" => "2",
119  "call" => "3",
120  "do" => "3",
121  "end" => "3",
122  "exit" => "3",
123  "if" => "3",
124  "otherwise" => "3",
125  "select" => "3",
126  "then" => "3",
127  "when" => "3");
128 
129  // Special extensions
130 
131  // Each category can specify a PHP function that returns an altered
132  // version of the keyword.
133 
134 
135 
136  $this->linkscripts = array(
137  "1" => "donothing",
138  "2" => "donothing",
139  "3" => "donothing");
140  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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