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

Public Member Functions

 HFile_pascal ()
 
 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_pascal.php.

Member Function Documentation

◆ donothing()

HFile_pascal::donothing (   $keywordin)

Definition at line 133 of file HFile_pascal.php.

134 {
135  return $keywordin;
136 }

◆ HFile_pascal()

HFile_pascal::HFile_pascal ( )

Definition at line 6 of file HFile_pascal.php.

References HFile\HFile().

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // Pascal
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("Begin");
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  "absolute" => "1",
46  "array" => "1",
47  "assembler" => "1",
48  "const" => "1",
49  "constructor" => "1",
50  "destructor" => "1",
51  "export" => "1",
52  "exports" => "1",
53  "external" => "1",
54  "far" => "1",
55  "file" => "1",
56  "forward" => "1",
57  "function" => "1",
58  "implementation" => "1",
59  "index" => "1",
60  "inherited" => "1",
61  "inline" => "1",
62  "interface" => "1",
63  "interrupt" => "1",
64  "library" => "1",
65  "near" => "1",
66  "nil" => "1",
67  "object" => "1",
68  "of" => "1",
69  "packed" => "1",
70  "private" => "1",
71  "procedure" => "1",
72  "program" => "1",
73  "public" => "1",
74  "record" => "1",
75  "resident" => "1",
76  "set" => "1",
77  "string" => "1",
78  "type" => "1",
79  "unit" => "1",
80  "uses" => "1",
81  "var" => "1",
82  "virtual" => "1",
83  "asm" => "2",
84  "begin" => "2",
85  "case" => "2",
86  "do" => "2",
87  "downto" => "2",
88  "else" => "2",
89  "end" => "2",
90  "for" => "2",
91  "goto" => "2",
92  "if" => "2",
93  "label" => "2",
94  "repeat" => "2",
95  "then" => "2",
96  "to" => "2",
97  "until" => "2",
98  "while" => "2",
99  "with" => "2",
100  "and" => "3",
101  "div" => "3",
102  "in" => "3",
103  "mod" => "3",
104  "not" => "3",
105  "or" => "3",
106  "shl" => "3",
107  "shr" => "3",
108  "xor" => "3",
109  "+" => "3",
110  "-" => "3",
111  "*" => "3",
112  ":" => "3",
113  "=" => "3",
114  "/" => "3",
115  ">" => "3",
116  "<" => "3",
117  "^" => "3");
118 
119 // Special extensions
120 
121 // Each category can specify a PHP function that returns an altered
122 // version of the keyword.
123 
124 
125 
126 $this->linkscripts = array(
127  "1" => "donothing",
128  "2" => "donothing",
129  "3" => "donothing");
130 }
HFile()
Definition: HFile.php:24
+ Here is the call graph for this function:

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