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

Public Member Functions

 HFile_vospl1 ()
 
 donothing ($keywordin)
 

Detailed Description

Definition at line 7 of file HFile_vospl1.php.

Member Function Documentation

◆ donothing()

HFile_vospl1::donothing (   $keywordin)

Definition at line 153 of file HFile_vospl1.php.

154 {
155 return $keywordin;
156 }

◆ HFile_vospl1()

HFile_vospl1::HFile_vospl1 ( )

Definition at line 9 of file HFile_vospl1.php.

10 {
11 $this->HFile();
12 /*************************************/
13 // Beautifier Highlighting Configuration File
14 // VOS PL/1
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", "brown");
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 "aligned" => "1",
50 "allocate" => "1",
51 "auto" => "1",
52 "based" => "1",
53 "begin" => "1",
54 "bin" => "1",
55 "binary" => "1",
56 "case" => "1",
57 "call" => "1",
58 "char" => "1",
59 "char_varying" => "1",
60 "character" => "1",
61 "close" => "1",
62 "const" => "1",
63 "continue" => "1",
64 "defined" => "1",
65 "declare" => "1",
66 "dcl" => "1",
67 "default" => "1",
68 "delete" => "1",
69 "do" => "1",
70 "double" => "1",
71 "else" => "1",
72 "end" => "1",
73 "entry" => "1",
74 "enum" => "1",
75 "extern" => "1",
76 "ext" => "1",
77 "fixed" => "1",
78 "float" => "1",
79 "for" => "1",
80 "format" => "1",
81 "free" => "1",
82 "get" => "1",
83 "goto" => "1",
84 "if" => "1",
85 "int" => "1",
86 "like" => "1",
87 "long" => "1",
88 "on" => "1",
89 "open" => "1",
90 "pointer" => "1",
91 "ptr" => "1",
92 "proc" => "1",
93 "procedure" => "1",
94 "put" => "1",
95 "read" => "1",
96 "register" => "1",
97 "return" => "1",
98 "returns" => "1",
99 "revert" => "1",
100 "rewrite" => "1",
101 "short" => "1",
102 "signal" => "1",
103 "signed" => "1",
104 "sizeof" => "1",
105 "static" => "1",
106 "stop" => "1",
107 "struct" => "1",
108 "switch" => "1",
109 "then" => "1",
110 "typedef" => "1",
111 "union" => "1",
112 "unsigned" => "1",
113 "var" => "1",
114 "void" => "1",
115 "volatile" => "1",
116 "while" => "1",
117 "write" => "1",
118 "$if" => "1",
119 "$endif" => "1",
120 "%include" => "2",
121 "%list" => "2",
122 "%nolist" => "2",
123 "%options" => "2",
124 "%page" => "2",
125 "%replace" => "2",
126 "+" => "4",
127 "-" => "4",
128 "=" => "4",
129 "//" => "4",
130 "/" => "4",
131 "%" => "4",
132 "&" => "4",
133 ">" => "4",
134 "<" => "4",
135 "^" => "4",
136 "!" => "4",
137 "|" => "4");
138
139 // Special extensions
140
141 // Each category can specify a PHP function that returns an altered
142 // version of the keyword.
143
144
145
146 $this->linkscripts = array(
147 "1" => "donothing",
148 "2" => "donothing",
149 "4" => "donothing");
150 }

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