ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
HFile_neuronc Class Reference
+ Inheritance diagram for HFile_neuronc:
+ Collaboration diagram for HFile_neuronc:

Public Member Functions

 HFile_neuronc ()
 
 donothing ($keywordin)
 

Detailed Description

Definition at line 5 of file HFile_neuronc.php.

Member Function Documentation

◆ donothing()

HFile_neuronc::donothing (   $keywordin)

Definition at line 432 of file HFile_neuronc.php.

433{
434 return $keywordin;
435}

◆ HFile_neuronc()

HFile_neuronc::HFile_neuronc ( )

Definition at line 6 of file HFile_neuronc.php.

6 {
7 $this->HFile();
8/*************************************/
9// Beautifier Highlighting Configuration File
10// Neuron C
11/*************************************/
12// Flags
13
14$this->nocase = "0";
15$this->notrim = "0";
16$this->perl = "0";
17
18// Colours
19
20$this->colours = array("blue", "purple", "gray", "brown", "blue");
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 "used" => "",
46 "in" => "",
47 "programming" => "",
48 "embedded" => "",
49 "Neuron" => "",
50 "(MC3150,3120)" => "",
51 "chips" => "",
52 "for" => "1",
53 "distributed" => "",
54 "control" => "",
55 "applications" => "",
56 "auto" => "1",
57 "break" => "1",
58 "case" => "1",
59 "char" => "1",
60 "const" => "1",
61 "continue" => "1",
62 "default" => "1",
63 "do" => "1",
64 "double" => "1",
65 "else" => "1",
66 "enum" => "1",
67 "extern" => "1",
68 "float" => "1",
69 "float_type" => "1",
70 "goto" => "1",
71 "if" => "1",
72 "int" => "1",
73 "long" => "1",
74 "msg_tag" => "1",
75 "mtimer" => "1",
76 "network" => "1",
77 "quad" => "1",
78 "register" => "1",
79 "return" => "1",
80 "short" => "1",
81 "signed" => "1",
82 "sizeof" => "1",
83 "static" => "1",
84 "stimer" => "1",
85 "struct" => "1",
86 "switch" => "1",
87 "s32_type" => "1",
88 "typedef" => "1",
89 "union" => "1",
90 "unsigned" => "1",
91 "void" => "1",
92 "volatile" => "1",
93 "when" => "1",
94 "while" => "1",
95 "#define" => "1",
96 "#error" => "1",
97 "#include" => "1",
98 "#elif" => "1",
99 "#if" => "1",
100 "#line" => "1",
101 "#else" => "1",
102 "#ifdef" => "1",
103 "#pragma" => "1",
104 "#endif" => "1",
105 "#ifndef" => "1",
106 "#undef" => "1",
107 "addr_table_index" => "2",
108 "bcd2bin" => "2",
109 "bin2bcd" => "2",
110 "eeprom_memcpy" => "2",
111 "flush_completes" => "2",
112 "get_tick_count" => "2",
113 "high_byte" => "2",
114 "io_changes" => "2",
115 "io_change_init" => "2",
116 "io_in" => "2",
117 "io_in_ready" => "2",
118 "io_in_request" => "2",
119 "io_out" => "2",
120 "io_out_ready" => "2",
121 "io_out_request" => "2",
122 "io_preserve_input" => "2",
123 "io_select" => "2",
124 "io_set_clock" => "2",
125 "io_set_direction" => "2",
126 "io_update_occurs" => "2",
127 "is_bound" => "2",
128 "low_byte" => "2",
129 "make_long" => "2",
130 "msg_alloc" => "2",
131 "msg_alloc_priority" => "2",
132 "msg_cancel" => "2",
133 "msg_completes" => "2",
134 "msg_fails" => "2",
135 "msg_free" => "2",
136 "msg_receive" => "2",
137 "msg_send" => "2",
138 "msg_succeeds" => "2",
139 "nv_table_index" => "2",
140 "poll" => "2",
141 "propagate" => "2",
142 "reset" => "2",
143 "resp_alloc" => "2",
144 "resp_arrives" => "2",
145 "resp_cancel" => "2",
146 "resp_free" => "2",
147 "resp_receive" => "2",
148 "resp_send" => "2",
149 "sleep" => "2",
150 "swap_bytes" => "2",
151 "timer_expires" => "2",
152 "touch_bit" => "2",
153 "touch_byte" => "2",
154 "touch_first" => "2",
155 "touch_next" => "2",
156 "touch_reset" => "2",
157 "wink" => "2",
158 "ackd" => "3",
159 "activate_service_led" => "3",
160 "auth" => "3",
161 "authenticated" => "3",
162 "baud" => "3",
163 "bind" => "3",
164 "bit" => "3",
165 "bitshift" => "3",
166 "byte" => "3",
167 "clock" => "3",
168 "clockedge" => "3",
169 "config" => "3",
170 "config_data" => "3",
171 "ded" => "3",
172 "dualslope" => "3",
173 "eeprom" => "3",
174 "edgedivide" => "3",
175 "edgelog" => "3",
176 "far" => "3",
177 "fastaccess" => "3",
178 "frequency" => "3",
179 "infrared" => "3",
180 "input" => "3",
181 "input_is_new" => "3",
182 "input_value" => "3",
183 "invert" => "3",
184 "i2c" => "3",
185 "IO_0" => "3",
186 "IO_1" => "3",
187 "IO_2" => "3",
188 "IO_3" => "3",
189 "IO_4" => "3",
190 "IO_5" => "3",
191 "IO_6" => "3",
192 "IO_7" => "3",
193 "IO_8" => "3",
194 "IO_9" => "3",
195 "kbaud" => "3",
196 "leveldetect" => "3",
197 "magcard" => "3",
198 "magtrack1" => "3",
199 "master" => "3",
200 "max_rate_est" => "3",
201 "msg_arrives" => "3",
202 "msg_in" => "3",
203 "msg_out" => "3",
204 "msg_tag_index" => "3",
205 "mux" => "3",
206 "muxbus" => "3",
207 "neurowire" => "3",
208 "nibble" => "3",
209 "nonbind" => "3",
210 "nonconfig" => "3",
211 "nonpriority" => "3",
212 "numbits" => "3",
213 "nv_array_index" => "3",
214 "nv_in_addr" => "3",
215 "nv_in_index" => "3",
216 "offchip" => "3",
217 "offline" => "3",
218 "onchip" => "3",
219 "oneshot" => "3",
220 "output" => "3",
221 "parallel" => "3",
222 "period" => "3",
223 "polled" => "3",
224 "priority" => "3",
225 "pulsecount" => "3",
226 "pulsewidth" => "3",
227 "quadrature" => "3",
228 "ram" => "3",
229 "rate_est" => "3",
230 "read_only_data" => "3",
231 "read_only_data2" => "3",
232 "resp_in" => "3",
233 "resp_out" => "3",
234 "select" => "3",
235 "serial" => "3",
236 "slave" => "3",
237 "slave_b" => "3",
238 "sync" => "3",
239 "synchronized" => "3",
240 "system" => "3",
241 "totalcount" => "3",
242 "touch" => "3",
243 "triac" => "3",
244 "triggeredcount" => "3",
245 "unackd" => "3",
246 "unackd_rpt" => "3",
247 "uninit" => "3",
248 "wiegand" => "3",
249 "SNVT_address" => "4",
250 "SNVT_alarm" => "4",
251 "SNVT_amp" => "4",
252 "SNVT_amp_f" => "4",
253 "SNVT_amp_mil" => "4",
254 "SNVT_angle" => "4",
255 "SNVT_angle_deg" => "4",
256 "SNVT_angle_f" => "4",
257 "SNVT_angle_vel" => "4",
258 "SNVT_angle_vel_f" => "4",
259 "SNVT_area" => "4",
260 "SNVT_btu_f" => "4",
261 "SNVT_btu_kilo" => "4",
262 "SNVT_btu_mega" => "4",
263 "SNVT_char_ascii" => "4",
264 "SNVT_chlr_status" => "4",
265 "SNVT_color" => "4",
266 "SNVT_config_src" => "4",
267 "SNVT_count" => "4",
268 "SNVT_count_f" => "4",
269 "SNVT_count_inc" => "4",
270 "SNVT_count_inc_f" => "4",
271 "SNVT_currency" => "4",
272 "SNVT_date_cal" => "4",
273 "SNVT_date_day" => "4",
274 "SNVT_date_time" => "4",
275 "SNVT_defr_mode" => "4",
276 "SNVT_defr_state" => "4",
277 "SNVT_term" => "4",
278 "SNVT_density" => "4",
279 "SNVT_density_f" => "4",
280 "SNVT_earth_pos" => "4",
281 "SNVT_elapsed_tm" => "4",
282 "SNVT_elec_kwhr" => "4",
283 "SNVT_elec_whr" => "4",
284 "SNVT_elec_whr_f" => "4",
285 "SNVT_evap_state" => "4",
286 "SNVT_file_pos" => "4",
287 "SNVT_file_req" => "4",
288 "SNVT_file_status" => "4",
289 "SNVT_fire_indcte" => "4",
290 "SNVT_fire_init" => "4",
291 "SNVT_fire_test" => "4",
292 "SNVT_flow" => "4",
293 "SNVT_flow_f" => "4",
294 "SNVT_flow_mil" => "4",
295 "SNVT_freq_f" => "4",
296 "SNVT_freq_hz" => "4",
297 "SNVT_freq_kilohz" => "4",
298 "SNVT_freq_milhz" => "4",
299 "SNVT_grammage" => "4",
300 "SNVT_grammage_f" => "4",
301 "SNVT_hvac_emerg" => "4",
302 "SNVT_hvac_mode" => "4",
303 "SNVT_hvac_overid" => "4",
304 "SNVT_hvac_status" => "4",
305 "SNVT_ISO_7811" => "4",
306 "SNVT_length" => "4",
307 "SNVT_length_f" => "4",
308 "SNVT_length_kilo" => "4",
309 "SNVT_length_micr" => "4",
310 "SNVT_length_mil" => "4",
311 "SNVT_lev_cont" => "4",
312 "SNVT_lev_cont_f" => "4",
313 "SNVT_lev_disc" => "4",
314 "SNVT_lev_percent" => "4",
315 "SNVT_lux" => "4",
316 "SNVT_magcard" => "4",
317 "SNVT_mass" => "4",
318 "SNVT_mass_f" => "4",
319 "SNVT_mass_kilo" => "4",
320 "SNVT_mass_mega" => "4",
321 "SNVT_mass_mil" => "4",
322 "SNVT_muldiv" => "4",
323 "SNVT_multiplier" => "4",
324 "SNVT_obj_request" => "4",
325 "SNVT_obj_status" => "4",
326 "SNVT_occupancy" => "4",
327 "SNVT_override" => "4",
328 "SNVT_ph" => "4",
329 "SNVT_ph_f" => "4",
330 "SNVT_power" => "4",
331 "SNVT_power_f" => "4",
332 "SNVT_power_kilo" => "4",
333 "SNVT_ppm" => "4",
334 "SNVT_ppm_f" => "4",
335 "SNVT_preset" => "4",
336 "SNVT_press" => "4",
337 "SNVT_press_f" => "4",
338 "SNVT_press_p" => "4",
339 "SNVT_pwr_fact" => "4",
340 "SNVT_pwr_fact_f" => "4",
341 "SNVT_res" => "4",
342 "SNVT_res_f" => "4",
343 "SNVT_res_kilo" => "4",
344 "SNVT_rpm" => "4",
345 "SNVT_scene" => "4",
346 "SNVT_scene_cfg" => "4",
347 "SNVT_setting" => "4",
348 "SNVT_smo_ocscur" => "4",
349 "SNVT_sound_db" => "4",
350 "SNVT_sound_db_f" => "4",
351 "SNVT_speed" => "4",
352 "SNVT_speed_f" => "4",
353 "SNVT_speed_mil" => "4",
354 "SNVT_state" => "4",
355 "SNVT_str_asc" => "4",
356 "SNVT_str_int" => "4",
357 "SNVT_switch" => "4",
358 "SNVT_telcom" => "4",
359 "SNVT_temp" => "4",
360 "SNVT_temp_f" => "4",
361 "SNVT_temp_p" => "4",
362 "SNVT_temp_ror" => "4",
363 "SNVT_temp_setpt" => "4",
364 "SNVT_therm_mode" => "4",
365 "SNVT_time_f" => "4",
366 "SNVT_time_hour" => "4",
367 "SNVT_time_min" => "4",
368 "SNVT_time_passed" => "4",
369 "SNVT_time_sec" => "4",
370 "SNVT_time_stamp" => "4",
371 "SNVT_time_zone" => "4",
372 "SNVT_tod_event" => "4",
373 "SNVT_trans_table" => "4",
374 "SNVT_vol" => "4",
375 "SNVT_vol_f" => "4",
376 "SNVT_vol_kilo" => "4",
377 "SNVT_vol_mil" => "4",
378 "SNVT_volt" => "4",
379 "SNVT_volt_dbmv" => "4",
380 "SNVT_volt_f" => "4",
381 "SNVT_volt_kilo" => "4",
382 "SNVT_volt_mil" => "4",
383 "SNVT_zerospan" => "4",
384 "alarm_type_t" => "5",
385 "calendar_type_t" => "5",
386 "chiller_t" => "5",
387 "config_source_t" => "5",
388 "currency_t" => "5",
389 "days_of_week_t" => "5",
390 "defrost_mode_t" => "5",
391 "defrost_state_t" => "5",
392 "defrost_term_t" => "5",
393 "discrete_levels_t" => "5",
394 "emerg_t" => "5",
395 "evap_t" => "5",
396 "file_request_t" => "5",
397 "file_status_t" => "5",
398 "fire_indicator_t" => "5",
399 "fire_init_t" => "5",
400 "fire_test_t" => "5",
401 "hvac_override_t" => "5",
402 "hvac_t" => "5",
403 "interp_t" => "5",
404 "learn_mode_t" => "5",
405 "object_request_t" => "5",
406 "occup_t" => "5",
407 "override_t" => "5",
408 "priority_level_t" => "5",
409 "scene_config_t" => "5",
410 "scene_t" => "5",
411 "setting_t" => "5",
412 "telcom_states_t" => "5",
413 "therm_mode_t" => "5");
414
415// Special extensions
416
417// Each category can specify a PHP function that returns an altered
418// version of the keyword.
419
420
421
422$this->linkscripts = array(
423 "" => "donothing",
424 "1" => "donothing",
425 "2" => "donothing",
426 "3" => "donothing",
427 "4" => "donothing",
428 "5" => "donothing");
429}

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