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

Public Member Functions

 HFile_abb ()
 
 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_abb.php.

Member Function Documentation

◆ donothing()

HFile_abb::donothing (   $keywordin)

Definition at line 168 of file HFile_abb.php.

169  {
170  return $keywordin;
171  }

◆ HFile_abb()

HFile_abb::HFile_abb ( )

Definition at line 9 of file HFile_abb.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // ABB Rapid Command
15  /*************************************/
16  // Flags
17 
18  $this->nocase = "0";
19  $this->notrim = "0";
20  $this->perl = "0";
21 
22  // Colours
23 
24  $this->colours = array("blue", "purple", "gray", "brown", "blue", "purple", "gray", "brown");
25  $this->quotecolour = "blue";
26  $this->blockcommentcolour = "green";
27  $this->linecommentcolour = "green";
28 
29  // Indent Strings
30 
31  $this->indent = array("ELSE", "ELSEIF", "THEN", "DO");
32  $this->unindent = array("ENDIF", "ELSE", "ENDFOR", "ENDPROC", "ENDMODULE", "ENDWHILE", "ENDFOR", "ENDTEST");
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  "AccSet" => "1",
50  "Color1" => "1",
51  "DOutput" => "1",
52  "ERROR" => "1",
53  "GInput" => "1",
54  "GripLoad" => "1",
55  "MoveAbsJ" => "1",
56  "MoveC" => "1",
57  "MoveJ" => "1",
58  "MoveJDO" => "1",
59  "MoveL" => "1",
60  "MoveLDO" => "1",
61  "MotionSup" => "1",
62  "OpMode" => "1",
63  "PDispOff" => "1",
64  "PDispOn" => "1",
65  "PulseDO" => "1",
66  "Reset" => "1",
67  "SearchL" => "1",
68  "Set" => "1",
69  "SetGO" => "1",
70  "SpotL" => "1",
71  "SpotL_P1" => "1",
72  "SpotL_Z1" => "1",
73  "SpotL_Z2" => "1",
74  "TPErase" => "1",
75  "TPReadFK" => "1",
76  "TPWrite" => "1",
77  "TPWriteP1" => "1",
78  "TriggIO" => "1",
79  "TriggJ" => "1",
80  "TriggL" => "1",
81  "WaitTime" => "1",
82  "WaitUntil" => "1",
83  "Color2" => "2",
84  "Color3" => "3",
85  "bool" => "4",
86  "Color4" => "4",
87  "errnum" => "4",
88  "extjoint" => "4",
89  "jointtarget" => "4",
90  "loaddata" => "4",
91  "num" => "4",
92  "robjoint" => "4",
93  "robtarget" => "4",
94  "string" => "4",
95  "tooldata" => "4",
96  "triggdata" => "4",
97  "Color5" => "5",
98  "EXIT" => "5",
99  "GOTO" => "5",
100  "RETURN" => "5",
101  "RETRY" => "5",
102  "Stop" => "5",
103  "TRYNEXT" => "5",
104  "AND" => "6",
105  "CASE" => "6",
106  "Color6" => "6",
107  "CONST" => "6",
108  "DEFAULT" => "6",
109  "DO" => "6",
110  "ELSE" => "6",
111  "ELSEIF" => "6",
112  "ENDFOR" => "6",
113  "ENDIF" => "6",
114  "ENDMODULE" => "6",
115  "ENDPROC" => "6",
116  "ENDTEST" => "6",
117  "ENDWHILE" => "6",
118  "FOR" => "6",
119  "FROM" => "6",
120  "IF" => "6",
121  "MODULE" => "6",
122  "OR" => "6",
123  "PERS" => "6",
124  "PROC" => "6",
125  "TEST" => "6",
126  "THEN" => "6",
127  "TO" => "6",
128  "VAR" => "6",
129  "WHILE" => "6",
130  "Color7" => "7",
131  "Color8" => "8",
132  "*" => "8",
133  "#" => "8",
134  ";" => "8",
135  "," => "8",
136  "+" => "8",
137  "-" => "8",
138  "=" => "8",
139  "//" => "8",
140  "/" => "8",
141  "%" => "8",
142  "&" => "8",
143  ">" => "8",
144  "<" => "8",
145  "^" => "8",
146  "!" => "8",
147  "|" => "8");
148 
149  // Special extensions
150 
151  // Each category can specify a PHP function that returns an altered
152  // version of the keyword.
153 
154 
155 
156  $this->linkscripts = array(
157  "1" => "donothing",
158  "2" => "donothing",
159  "3" => "donothing",
160  "4" => "donothing",
161  "5" => "donothing",
162  "6" => "donothing",
163  "7" => "donothing",
164  "8" => "donothing");
165  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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