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

Member Function Documentation

◆ donothing()

HFile_pascal::donothing (   $keywordin)

Definition at line 137 of file HFile_pascal.php.

138  {
139  return $keywordin;
140  }

◆ HFile_pascal()

HFile_pascal::HFile_pascal ( )

Definition at line 9 of file HFile_pascal.php.

References array.

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

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