• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

syntax_highlight/php/HFile/HFile_scenix.php

Go to the documentation of this file.
00001 <?php
00002 $BEAUT_PATH = realpath(".")."/syntax_highlight/php";
00003 if (!isset ($BEAUT_PATH)) return;
00004 require_once("$BEAUT_PATH/Beautifier/HFile.php");
00005   class HFile_scenix extends HFile{
00006    function HFile_scenix(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // Scenix
00011 /*************************************/
00012 // Flags
00013 
00014 $this->nocase                   = "0";
00015 $this->notrim                   = "0";
00016 $this->perl                     = "0";
00017 
00018 // Colours
00019 
00020 $this->colours          = array("blue", "purple", "gray", "brown", "blue", "purple");
00021 $this->quotecolour              = "blue";
00022 $this->blockcommentcolour       = "green";
00023 $this->linecommentcolour        = "green";
00024 
00025 // Indent Strings
00026 
00027 $this->indent                   = array();
00028 $this->unindent                 = array();
00029 
00030 // String characters and delimiters
00031 
00032 $this->stringchars              = array();
00033 $this->delimiters               = array(".", "  ", ",", "!", "#", ">", "<", "%", "$", "+", "(", ")", "*", "-", "/", "@");
00034 $this->escchar                  = "";
00035 
00036 // Comment settings
00037 
00038 $this->linecommenton            = array("");
00039 $this->blockcommenton           = array("");
00040 $this->blockcommentoff          = array("");
00041 
00042 // Keywords (keyword mapping to colour number)
00043 
00044 $this->keywords                 = array(
00045                         "add" => "1", 
00046                         "addb" => "1", 
00047                         "and" => "1", 
00048                         "bank" => "1", 
00049                         "call" => "1", 
00050                         "cja" => "1", 
00051                         "cjae" => "1", 
00052                         "cjb" => "1", 
00053                         "cjbe" => "1", 
00054                         "cje" => "1", 
00055                         "cjne" => "1", 
00056                         "clc" => "1", 
00057                         "clr" => "1", 
00058                         "clrb" => "1", 
00059                         "clz" => "1", 
00060                         "dec" => "1", 
00061                         "djnz" => "1", 
00062                         "ijnz" => "1", 
00063                         "inc" => "1", 
00064                         "iread" => "1", 
00065                         "jb" => "1", 
00066                         "jc" => "1", 
00067                         "jmp" => "1", 
00068                         "jnb" => "1", 
00069                         "jnc" => "1", 
00070                         "jnz" => "1", 
00071                         "jz" => "1", 
00072                         "lcall" => "1", 
00073                         "ljmp" => "1", 
00074                         "lset" => "1", 
00075                         "mov" => "1", 
00076                         "movb" => "1", 
00077                         "nop" => "1", 
00078                         "not" => "1", 
00079                         "or" => "1", 
00080                         "page" => "1", 
00081                         "ret" => "1", 
00082                         "reti" => "1", 
00083                         "retiw" => "1", 
00084                         "retp" => "1", 
00085                         "retw" => "1", 
00086                         "rl" => "1", 
00087                         "rr" => "1", 
00088                         "setb" => "1", 
00089                         "sleep" => "1", 
00090                         "stc" => "1", 
00091                         "stz" => "1", 
00092                         "sub" => "1", 
00093                         "subb" => "1", 
00094                         "swap" => "1", 
00095                         "test" => "1", 
00096                         "xor" => "1", 
00097                         "\"[0123456789aAbBcCdDeEfF]\"" => "2", 
00098                         "fsr" => "3", 
00099                         "ind" => "3", 
00100                         "indf" => "3", 
00101                         "m" => "3", 
00102                         "option" => "3", 
00103                         "pc" => "3", 
00104                         "ra" => "3", 
00105                         "rb" => "3", 
00106                         "rc" => "3", 
00107                         "rd" => "3", 
00108                         "re" => "3", 
00109                         "w" => "3", 
00110                         "!" => "4", 
00111                         "#" => "4", 
00112                         "$" => "4", 
00113                         "%" => "4", 
00114                         "+" => "4", 
00115                         "<" => "4", 
00116                         "=" => "4", 
00117                         ">" => "4", 
00118                         "@" => "4", 
00119                         "banks1" => "4", 
00120                         "banks2" => "4", 
00121                         "banks3" => "4", 
00122                         "banks8" => "4", 
00123                         "device" => "4", 
00124                         "ds" => "4", 
00125                         "equ" => "4", 
00126                         "freq" => "4", 
00127                         "id" => "4", 
00128                         "optionx" => "4", 
00129                         "org" => "4", 
00130                         "oschs" => "4", 
00131                         "oschs1" => "4", 
00132                         "oschs2" => "4", 
00133                         "oschs3" => "4", 
00134                         "oschs4" => "4", 
00135                         "oschs5" => "4", 
00136                         "oscin" => "4", 
00137                         "oscxtmax" => "4", 
00138                         "pages1" => "4", 
00139                         "pages2" => "4", 
00140                         "pages4" => "4", 
00141                         "pins18" => "4", 
00142                         "pins28" => "4", 
00143                         "reset" => "4", 
00144                         "stackx" => "4", 
00145                         "stackx_optionx" => "4", 
00146                         "sx18" => "4", 
00147                         "sx28" => "4", 
00148                         "sx28l" => "4", 
00149                         "sx52" => "4", 
00150                         "turbo" => "4", 
00151                         "watchdog" => "4", 
00152                         "csa" => "5", 
00153                         "csae" => "5", 
00154                         "csb" => "5", 
00155                         "csbe" => "5", 
00156                         "cse" => "5", 
00157                         "csne" => "5", 
00158                         "decsz" => "5", 
00159                         "incsz" => "5", 
00160                         "movsz" => "5", 
00161                         "sb" => "5", 
00162                         "sc" => "5", 
00163                         "skip" => "5", 
00164                         "snb" => "5", 
00165                         "snc" => "5", 
00166                         "snz" => "5", 
00167                         "sz" => "5", 
00168                         "else" => "6", 
00169                         "endif" => "6", 
00170                         "endm" => "6", 
00171                         "endr" => "6", 
00172                         "error" => "6", 
00173                         "exitm" => "6", 
00174                         "if" => "6", 
00175                         "ifdef" => "6", 
00176                         "ifndef" => "6", 
00177                         "macro" => "6", 
00178                         "rept" => "6");
00179 
00180 // Special extensions
00181 
00182 // Each category can specify a PHP function that returns an altered
00183 // version of the keyword.
00184         
00185         
00186 
00187 $this->linkscripts      = array(
00188                         "1" => "donothing", 
00189                         "2" => "donothing", 
00190                         "3" => "donothing", 
00191                         "4" => "donothing", 
00192                         "5" => "donothing", 
00193                         "6" => "donothing");
00194 }
00195 
00196 
00197 function donothing($keywordin)
00198 {
00199         return $keywordin;
00200 }
00201 
00202 }?>

Generated on Fri Dec 13 2013 13:52:16 for ILIAS Release_3_7_x_branch .rev 46817 by  doxygen 1.7.1