ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5
HFile_idl Class Reference
+ Inheritance diagram for HFile_idl:
+ Collaboration diagram for HFile_idl:

Public Member Functions

 HFile_idl ()
 
 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_idl.php.

Member Function Documentation

◆ donothing()

HFile_idl::donothing (   $keywordin)

Definition at line 156 of file HFile_idl.php.

157 {
158  return $keywordin;
159 }

◆ HFile_idl()

HFile_idl::HFile_idl ( )

Definition at line 6 of file HFile_idl.php.

References HFile\HFile().

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // IDL
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", "brown");
21 $this->quotecolour = "blue";
22 $this->blockcommentcolour = "green";
23 $this->linecommentcolour = "green";
24 
25 // Indent Strings
26 
27 $this->indent = array("{");
28 $this->unindent = array("}");
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  "any" => "1",
46  "attribute" => "1",
47  "boolean" => "1",
48  "context" => "1",
49  "exception" => "1",
50  "FALSE" => "1",
51  "in" => "1",
52  "inout" => "1",
53  "Object" => "1",
54  "octet" => "1",
55  "oneway" => "1",
56  "out" => "1",
57  "raises" => "1",
58  "readonly" => "1",
59  "sequence" => "1",
60  "string" => "1",
61  "TRUE" => "1",
62  "auto" => "2",
63  "break" => "2",
64  "case" => "2",
65  "char" => "2",
66  "const" => "2",
67  "continue" => "2",
68  "default" => "2",
69  "do" => "2",
70  "double" => "2",
71  "else" => "2",
72  "enum" => "2",
73  "extern" => "2",
74  "float" => "2",
75  "for" => "2",
76  "goto" => "2",
77  "if" => "2",
78  "int" => "2",
79  "long" => "2",
80  "register" => "2",
81  "return" => "2",
82  "short" => "2",
83  "signed" => "2",
84  "sizeof" => "2",
85  "static" => "2",
86  "struct" => "2",
87  "switch" => "2",
88  "typedef" => "2",
89  "union" => "2",
90  "unsigned" => "2",
91  "void" => "2",
92  "volatile" => "2",
93  "while" => "2",
94  "__asm" => "2",
95  "__fastcall" => "2",
96  "__self" => "2",
97  "__segment" => "2",
98  "__based" => "2",
99  "__segname" => "2",
100  "__fortran" => "2",
101  "__cdecl" => "2",
102  "__huge" => "2",
103  "__far" => "2",
104  "__saveregs" => "2",
105  "__export" => "2",
106  "__pascal" => "2",
107  "__near" => "2",
108  "__loadds" => "2",
109  "__interrupt" => "2",
110  "__inline" => "2",
111  "#define" => "2",
112  "#error" => "2",
113  "#include" => "2",
114  "#elif" => "2",
115  "#if" => "2",
116  "#line" => "2",
117  "#else" => "2",
118  "#ifdef" => "2",
119  "#pragma" => "2",
120  "#endif" => "2",
121  "#ifndef" => "2",
122  "#undef" => "2",
123  "class" => "3",
124  "delete" => "3",
125  "friend" => "3",
126  "inline" => "3",
127  "new" => "3",
128  "operator" => "3",
129  "private" => "3",
130  "protected" => "3",
131  "public" => "3",
132  "this" => "3",
133  "try" => "3",
134  "virtual" => "3",
135  "__multiple_inheritance" => "3",
136  "__single_inheritance" => "3",
137  "__virtual_inheritance" => "3",
138  "interface" => "4",
139  "module" => "4");
140 
141 // Special extensions
142 
143 // Each category can specify a PHP function that returns an altered
144 // version of the keyword.
145 
146 
147 
148 $this->linkscripts = array(
149  "1" => "donothing",
150  "2" => "donothing",
151  "3" => "donothing",
152  "4" => "donothing");
153 }
HFile()
Definition: HFile.php:24
+ Here is the call graph for this function:

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