ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
All Data Structures Namespaces Files Functions Variables Typedefs Modules Pages
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 8 of file HFile_ada95.php.

Member Function Documentation

◆ donothing()

HFile_ada95::donothing (   $keywordin)

Definition at line 144 of file HFile_ada95.php.

145  {
146  return $keywordin;
147  }

◆ HFile_ada95()

HFile_ada95::HFile_ada95 ( )

Definition at line 10 of file HFile_ada95.php.

References array.

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

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