ILIAS  release_5-2 Revision v5.2.25-18-g3f80b82851
HFile_ada95 Class Reference
+ Inheritance diagram for HFile_ada95:
+ Collaboration diagram for HFile_ada95:

Public Member Functions

 HFile_ada95 ()
 
 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 6 of file HFile_ada95.php.

Member Function Documentation

◆ donothing()

HFile_ada95::donothing (   $keywordin)

Definition at line 143 of file HFile_ada95.php.

144 {
145  return $keywordin;
146 }

◆ HFile_ada95()

HFile_ada95::HFile_ada95 ( )

Definition at line 9 of file HFile_ada95.php.

References array.

10 {
11 $this->HFile();
12 
13 /*************************************/
14 // Beautifier Highlighting Configuration File
15 // Ada95
16 /*************************************/
17 // Flags
18 
19 $this->nocase = "1";
20 $this->notrim = "0";
21 $this->perl = "0";
22 
23 // Colours
24 
25 $this->colours = array("blue", "purple", "gray");
26 $this->quotecolour = "blue";
27 $this->blockcommentcolour = "green";
28 $this->linecommentcolour = "green";
29 
30 // Indent Strings
31 
32 $this->indent = array();
33 $this->unindent = array();
34 
35 // String characters and delimiters
36 
37 $this->stringchars = array("\"", "'");
38 $this->delimiters = array();
39 $this->escchar = "";
40 
41 // Comment settings
42 
43 $this->linecommenton = array("--");
44 $this->blockcommenton = array("");
45 $this->blockcommentoff = array("");
46 
47 // Keywords (keyword mapping to colour number)
48 
49 $this->keywords = array(
50  "abort" => "1",
51  "abs" => "1",
52  "abstract" => "1",
53  "accept" => "1",
54  "access" => "1",
55  "aliased" => "1",
56  "all" => "1",
57  "and" => "1",
58  "array" => "1",
59  "at" => "1",
60  "begin" => "1",
61  "body" => "1",
62  "case" => "1",
63  "constant" => "1",
64  "declare" => "1",
65  "delay" => "1",
66  "delta" => "1",
67  "digits" => "1",
68  "do" => "1",
69  "else" => "1",
70  "elsif" => "1",
71  "end" => "1",
72  "entry" => "1",
73  "exception" => "1",
74  "exit" => "1",
75  "for" => "1",
76  "function" => "1",
77  "goto" => "1",
78  "generic" => "1",
79  "if" => "1",
80  "in" => "1",
81  "is" => "1",
82  "limited" => "1",
83  "loop" => "1",
84  "mod" => "1",
85  "new" => "1",
86  "not" => "1",
87  "null" => "1",
88  "of" => "1",
89  "or" => "1",
90  "others" => "1",
91  "out" => "1",
92  "package" => "1",
93  "pragma" => "1",
94  "private" => "1",
95  "procedure" => "1",
96  "protected" => "1",
97  "raise" => "1",
98  "range" => "1",
99  "record" => "1",
100  "rem" => "1",
101  "renames" => "1",
102  "requeue" => "1",
103  "return" => "1",
104  "reverse" => "1",
105  "select" => "1",
106  "separate" => "1",
107  "subtype" => "1",
108  "tagged" => "1",
109  "task" => "1",
110  "terminate" => "1",
111  "then" => "1",
112  "type" => "1",
113  "until" => "1",
114  "use" => "1",
115  "when" => "1",
116  "while" => "1",
117  "with" => "1",
118  "xor" => "1",
119  "boolean" => "2",
120  "integer" => "2",
121  "false" => "2",
122  "float" => "2",
123  "natural" => "2",
124  "positive" => "2",
125  "real" => "2",
126  "true" => "2",
127  "vector" => "2",
128  ".." => "3");
129 
130 // Special extensions
131 
132 // Each category can specify a PHP function that takes in the function name, and returns an alternative.
133 // This is great for doing links to manuals, etc.
134 
135 $this->linkscripts = array(
136  "1" => "donothing",
137  "2" => "donothing",
138  "3" => "donothing");
139 }
Create styles array
The data for the language used.
Definition: HFile.php:21

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