ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_scheme Class Reference
+ Inheritance diagram for HFile_scheme:
+ Collaboration diagram for HFile_scheme:

Public Member Functions

 HFile_scheme ()
 
 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_scheme.php.

Member Function Documentation

◆ donothing()

HFile_scheme::donothing (   $keywordin)

Definition at line 177 of file HFile_scheme.php.

178  {
179  return $keywordin;
180  }

◆ HFile_scheme()

HFile_scheme::HFile_scheme ( )

Definition at line 9 of file HFile_scheme.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // Scheme
15  /*************************************/
16  // Flags
17 
18  $this->nocase = "0";
19  $this->notrim = "0";
20  $this->perl = "0";
21 
22  // Colours
23 
24  $this->colours = array("blue", "purple", "gray", "blue");
25  $this->quotecolour = "blue";
26  $this->blockcommentcolour = "green";
27  $this->linecommentcolour = "green";
28 
29  // Indent Strings
30 
31  $this->indent = array();
32  $this->unindent = array();
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  "accumulate" => "1",
50  "aling" => "1",
51  "appearances" => "1",
52  "append" => "1",
53  "apply" => "1",
54  "assoc" => "1",
55  "before?" => "1",
56  "begin" => "1",
57  "bf" => "1",
58  "bl" => "1",
59  "butfirst" => "1",
60  "butlast" => "1",
61  "caaar" => "1",
62  "caadr" => "1",
63  "caar" => "1",
64  "cadar" => "1",
65  "caddr" => "1",
66  "cadr" => "1",
67  "car" => "1",
68  "cdaar" => "1",
69  "cdadr" => "1",
70  "cdar" => "1",
71  "cddar" => "1",
72  "cdddr" => "1",
73  "cddr" => "1",
74  "cdr" => "1",
75  "children" => "1",
76  "close-all-ports" => "1",
77  "close-input-port" => "1",
78  "close-output-port" => "1",
79  "cons" => "1",
80  "count" => "1",
81  "datum" => "1",
82  "define" => "1",
83  "display" => "1",
84  "empty?" => "1",
85  "eof-object?" => "1",
86  "error" => "1",
87  "every" => "1",
88  "filter" => "1",
89  "first" => "1",
90  "for-each" => "1",
91  "item" => "1",
92  "keep" => "1",
93  "lambda" => "1",
94  "last" => "1",
95  "length" => "1",
96  "let" => "1",
97  "list" => "1",
98  "list->vector" => "1",
99  "list-ref" => "1",
100  "list?" => "1",
101  "load" => "1",
102  "make-node" => "1",
103  "make-vector" => "1",
104  "map" => "1",
105  "member" => "1",
106  "member?" => "1",
107  "newline" => "1",
108  "null?" => "1",
109  "open-input-file" => "1",
110  "open-output-file" => "1",
111  "procedure?" => "1",
112  "quote" => "1",
113  "read" => "1",
114  "read-line" => "1",
115  "read-string" => "1",
116  "reduce" => "1",
117  "repeated" => "1",
118  "se" => "1",
119  "sentence" => "1",
120  "sentence?" => "1",
121  "show" => "1",
122  "show-line" => "1",
123  "trace" => "1",
124  "untrace" => "1",
125  "vector" => "1",
126  "vector->length" => "1",
127  "vector->list" => "1",
128  "vector-ref" => "1",
129  "vector-set!" => "1",
130  "vector?" => "1",
131  "word" => "1",
132  "word?" => "1",
133  "write" => "1",
134  "abs" => "2",
135  "ceiling" => "2",
136  "cos" => "2",
137  "even?" => "2",
138  "expt" => "2",
139  "floor" => "2",
140  "integer?" => "2",
141  "log" => "2",
142  "max" => "2",
143  "min" => "2",
144  "number?" => "2",
145  "odd?" => "2",
146  "quotient" => "2",
147  "random" => "2",
148  "remainder" => "2",
149  "round" => "2",
150  "sin" => "2",
151  "sqrt" => "2",
152  "and" => "3",
153  "boolean?" => "3",
154  "cond" => "3",
155  "if" => "3",
156  "not" => "3",
157  "or" => "3",
158  "#f" => "5",
159  "#t" => "5",
160  "\'()" => "5");
161 
162  // Special extensions
163 
164  // Each category can specify a PHP function that returns an altered
165  // version of the keyword.
166 
167 
168 
169  $this->linkscripts = array(
170  "1" => "donothing",
171  "2" => "donothing",
172  "3" => "donothing",
173  "5" => "donothing");
174  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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