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

Public Member Functions

 HFile_csharp ()
 
 donothing ($keywordin)
 

Detailed Description

Definition at line 8 of file HFile_csharp.php.

Member Function Documentation

◆ donothing()

HFile_csharp::donothing (   $keywordin)

Definition at line 172 of file HFile_csharp.php.

173 {
174 return $keywordin;
175 }

◆ HFile_csharp()

HFile_csharp::HFile_csharp ( )

Definition at line 10 of file HFile_csharp.php.

11 {
12 $this->HFile();
13 /*************************************/
14 // Beautifier Highlighting Configuration File
15 // C#
16 /*************************************/
17 // Flags
18
19 $this->nocase = "0";
20 $this->notrim = "0";
21 $this->perl = "0";
22
23 // Colours
24
25 $this->colours = array("blue", "purple", "gray", "brown");
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 "as" => "1",
51 "auto" => "1",
52 "base" => "1",
53 "break" => "1",
54 "case" => "1",
55 "catch" => "1",
56 "const" => "1",
57 "continue" => "1",
58 "default" => "1",
59 "do" => "1",
60 "else" => "1",
61 "event" => "1",
62 "explicit" => "1",
63 "extern" => "1",
64 "false" => "1",
65 "finally" => "1",
66 "fixed" => "1",
67 "for" => "1",
68 "foreach" => "1",
69 "goto" => "1",
70 "if" => "1",
71 "implicit" => "1",
72 "in" => "1",
73 "internal" => "1",
74 "lock" => "1",
75 "namespace" => "1",
76 "null" => "1",
77 "operator" => "1",
78 "out" => "1",
79 "override" => "1",
80 "params" => "1",
81 "private" => "1",
82 "protected" => "1",
83 "public" => "1",
84 "readonly" => "1",
85 "ref" => "1",
86 "return" => "1",
87 "sealed" => "1",
88 "stackalloc" => "1",
89 "static" => "1",
90 "switch" => "1",
91 "this" => "1",
92 "throw" => "1",
93 "true" => "1",
94 "try" => "1",
95 "unsafe" => "1",
96 "using" => "1",
97 "virtual" => "1",
98 "void" => "1",
99 "while" => "1",
100 "bool" => "2",
101 "byte" => "2",
102 "char" => "2",
103 "class" => "2",
104 "decimal" => "2",
105 "delegate" => "2",
106 "double" => "2",
107 "enum" => "2",
108 "float" => "2",
109 "int" => "2",
110 "interface" => "2",
111 "long" => "2",
112 "object" => "2",
113 "sbyte" => "2",
114 "short" => "2",
115 "string" => "2",
116 "struct" => "2",
117 "uint" => "2",
118 "ulong" => "2",
119 "ushort" => "2",
120 "#elif" => "3",
121 "#endif" => "3",
122 "#endregion" => "3",
123 "#else" => "3",
124 "#error" => "3",
125 "#define" => "3",
126 "#if" => "3",
127 "#line" => "3",
128 "#region" => "3",
129 "#undef" => "3",
130 "#warning" => "3",
131 "+" => "4",
132 "-" => "4",
133 "*" => "4",
134 "?" => "4",
135 "=" => "4",
136 "//" => "4",
137 "/" => "4",
138 "%" => "4",
139 "&" => "4",
140 ">" => "4",
141 "<" => "4",
142 "^" => "4",
143 "!" => "4",
144 "|" => "4",
145 ":" => "4",
146 "checked" => "4",
147 "is" => "4",
148 "new" => "4",
149 "sizeof" => "4",
150 "typeof" => "4",
151 "unchecked" => "4");
152
153 // Special extensions
154
155
156 // Each category can specify a PHP function that returns an altered
157 // version of the keyword.
158
159
160
161
162
163 $this->linkscripts = array(
164 "1" => "donothing",
165 "2" => "donothing",
166 "3" => "donothing",
167 "4" => "donothing");
168 }

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