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

Public Member Functions

 HFile_spin ()
 
 donothing ($keywordin)
 

Detailed Description

Definition at line 7 of file HFile_spin.php.

Member Function Documentation

◆ donothing()

HFile_spin::donothing (   $keywordin)

Definition at line 143 of file HFile_spin.php.

144 {
145 return $keywordin;
146 }

◆ HFile_spin()

HFile_spin::HFile_spin ( )

Definition at line 9 of file HFile_spin.php.

10 {
11 $this->HFile();
12 /*************************************/
13 // Beautifier Highlighting Configuration File
14 // Spin
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", "brown", "blue", "purple", "gray", "brown");
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 "bit" => "1",
50 "bool" => "1",
51 "byte" => "1",
52 "chan" => "1",
53 "int" => "1",
54 "local" => "1",
55 "mtype" => "1",
56 "short" => "1",
57 "typedef" => "1",
58 "unsigned" => "1",
59 "assert" => "2",
60 "init" => "2",
61 "priority" => "2",
62 "proctype" => "2",
63 "provided" => "2",
64 "active" => "3",
65 "break" => "3",
66 "do" => "3",
67 "else" => "3",
68 "empty" => "3",
69 "enabled" => "3",
70 "eval" => "3",
71 "fi" => "3",
72 "full" => "3",
73 "goto" => "3",
74 "if" => "3",
75 "inline" => "3",
76 "len" => "3",
77 "nempty" => "3",
78 "nfull" => "3",
79 "od" => "3",
80 "of" => "3",
81 "printf" => "3",
82 "run" => "3",
83 "skip" => "3",
84 "timeout" => "3",
85 "xr" => "3",
86 "xs" => "3",
87 "?" => "4",
88 "??" => "4",
89 "!" => "4",
90 "!!" => "4",
91 "@" => "4",
92 "!=" => "5",
93 "+" => "5",
94 "-" => "5",
95 "->" => "5",
96 "::" => "5",
97 "<" => "5",
98 "<=" => "5",
99 "==" => "5",
100 ">" => "5",
101 ">=" => "5",
102 "unless" => "5",
103 "_" => "6",
104 "_last" => "6",
105 "_pid" => "6",
106 "cond_expr" => "6",
107 "false" => "6",
108 "np_" => "6",
109 "pc_value" => "6",
110 "STDIN" => "6",
111 "true" => "6",
112 "accept" => "7",
113 "end" => "7",
114 "progress" => "7",
115 "atomic" => "8",
116 "d_step" => "8",
117 "hidden" => "8",
118 "ltl" => "8",
119 "never" => "8",
120 "notrace" => "8",
121 "trace" => "8",
122 "show" => "8");
123
124 // Special extensions
125
126 // Each category can specify a PHP function that returns an altered
127 // version of the keyword.
128
129
130
131 $this->linkscripts = array(
132 "1" => "donothing",
133 "2" => "donothing",
134 "3" => "donothing",
135 "4" => "donothing",
136 "5" => "donothing",
137 "6" => "donothing",
138 "7" => "donothing",
139 "8" => "donothing");
140 }

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