2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
 
    4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
 
   20 $this->colours          = array(
"blue", 
"purple", 
"gray", 
"brown", 
"blue");
 
   21 $this->quotecolour              = 
"blue";
 
   22 $this->blockcommentcolour       = 
"green";
 
   23 $this->linecommentcolour        = 
"green";
 
   27 $this->indent                   = array(
"{");
 
   28 $this->unindent                 = array(
"}");
 
   32 $this->stringchars              = array(
"\"", 
"'");
 
   33 $this->delimiters               = array(
"~", 
"!", 
"@", 
"%", 
"^", 
"&", 
"*", 
"(", 
")", 
"-", 
"+", 
"=", 
"|", 
"\\", 
"/", 
"{", 
"}", 
"[", 
"]", 
":", 
";", 
"\"", 
"'", 
"<", 
">", 
" ", 
",", 
"      ", 
".", 
"?");
 
   38 $this->linecommenton            = array(
"//");
 
   39 $this->blockcommenton           = array(
"/*");
 
   40 $this->blockcommentoff          = array(
"*/");
 
   44 $this->keywords                 = array(
 
   50                         "(MC3150,3120)" => 
"", 
 
  107                         "addr_table_index" => 
"2", 
 
  110                         "eeprom_memcpy" => 
"2", 
 
  111                         "flush_completes" => 
"2", 
 
  112                         "get_tick_count" => 
"2", 
 
  115                         "io_change_init" => 
"2", 
 
  117                         "io_in_ready" => 
"2", 
 
  118                         "io_in_request" => 
"2", 
 
  120                         "io_out_ready" => 
"2", 
 
  121                         "io_out_request" => 
"2", 
 
  122                         "io_preserve_input" => 
"2", 
 
  124                         "io_set_clock" => 
"2", 
 
  125                         "io_set_direction" => 
"2", 
 
  126                         "io_update_occurs" => 
"2", 
 
  131                         "msg_alloc_priority" => 
"2", 
 
  133                         "msg_completes" => 
"2", 
 
  136                         "msg_receive" => 
"2", 
 
  138                         "msg_succeeds" => 
"2", 
 
  139                         "nv_table_index" => 
"2", 
 
  144                         "resp_arrives" => 
"2", 
 
  145                         "resp_cancel" => 
"2", 
 
  147                         "resp_receive" => 
"2", 
 
  151                         "timer_expires" => 
"2", 
 
  154                         "touch_first" => 
"2", 
 
  156                         "touch_reset" => 
"2", 
 
  159                         "activate_service_led" => 
"3", 
 
  161                         "authenticated" => 
"3", 
 
  170                         "config_data" => 
"3", 
 
  181                         "input_is_new" => 
"3", 
 
  182                         "input_value" => 
"3", 
 
  196                         "leveldetect" => 
"3", 
 
  200                         "max_rate_est" => 
"3", 
 
  201                         "msg_arrives" => 
"3", 
 
  204                         "msg_tag_index" => 
"3", 
 
  211                         "nonpriority" => 
"3", 
 
  213                         "nv_array_index" => 
"3", 
 
  215                         "nv_in_index" => 
"3", 
 
  230                         "read_only_data" => 
"3", 
 
  231                         "read_only_data2" => 
"3", 
 
  239                         "synchronized" => 
"3", 
 
  244                         "triggeredcount" => 
"3", 
 
  249                         "SNVT_address" => 
"4", 
 
  253                         "SNVT_amp_mil" => 
"4", 
 
  255                         "SNVT_angle_deg" => 
"4", 
 
  256                         "SNVT_angle_f" => 
"4", 
 
  257                         "SNVT_angle_vel" => 
"4", 
 
  258                         "SNVT_angle_vel_f" => 
"4", 
 
  261                         "SNVT_btu_kilo" => 
"4", 
 
  262                         "SNVT_btu_mega" => 
"4", 
 
  263                         "SNVT_char_ascii" => 
"4", 
 
  264                         "SNVT_chlr_status" => 
"4", 
 
  266                         "SNVT_config_src" => 
"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", 
 
  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", 
 
  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", 
 
  316                         "SNVT_magcard" => 
"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", 
 
  331                         "SNVT_power_f" => 
"4", 
 
  332                         "SNVT_power_kilo" => 
"4", 
 
  335                         "SNVT_preset" => 
"4", 
 
  337                         "SNVT_press_f" => 
"4", 
 
  338                         "SNVT_press_p" => 
"4", 
 
  339                         "SNVT_pwr_fact" => 
"4", 
 
  340                         "SNVT_pwr_fact_f" => 
"4", 
 
  343                         "SNVT_res_kilo" => 
"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", 
 
  352                         "SNVT_speed_f" => 
"4", 
 
  353                         "SNVT_speed_mil" => 
"4", 
 
  355                         "SNVT_str_asc" => 
"4", 
 
  356                         "SNVT_str_int" => 
"4", 
 
  357                         "SNVT_switch" => 
"4", 
 
  358                         "SNVT_telcom" => 
"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", 
 
  376                         "SNVT_vol_kilo" => 
"4", 
 
  377                         "SNVT_vol_mil" => 
"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", 
 
  387                         "config_source_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", 
 
  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", 
 
  404                         "learn_mode_t" => 
"5", 
 
  405                         "object_request_t" => 
"5", 
 
  408                         "priority_level_t" => 
"5", 
 
  409                         "scene_config_t" => 
"5", 
 
  412                         "telcom_states_t" => 
"5", 
 
  413                         "therm_mode_t" => 
"5");
 
  422 $this->linkscripts      = array(