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

syntax_highlight/php/HFile/HFile_asmf240.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_asmf240 extends HFile{
00006    function HFile_asmf240(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // 
00011 /*************************************/
00012 // Flags
00013 
00014 $this->nocase                   = "0";
00015 $this->notrim                   = "0";
00016 $this->perl                     = "0";
00017 
00018 // Colours
00019 
00020 $this->colours          = array("brown", "blue", "purple", "gray", "blue");
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                         "/L10" => "", 
00046                         "\"F240\"" => "", 
00047                         "Line" => "", 
00048                         "Comment" => "", 
00049                         "=" => "4", 
00050                         ";" => "", 
00051                         "Block" => "", 
00052                         "On" => "", 
00053                         "Off" => "", 
00054                         "Escape" => "", 
00055                         "Char" => "", 
00056                         "\\" => "", 
00057                         "String" => "", 
00058                         "Chars" => "", 
00059                         "\"'" => "", 
00060                         "File" => "", 
00061                         "Extensions" => "", 
00062                         "A" => "", 
00063                         "ASM" => "", 
00064                         "ABS" => "1", 
00065                         "ADD" => "1", 
00066                         "ADDC" => "1", 
00067                         "ADDH" => "1", 
00068                         "ADDK" => "1", 
00069                         "ADDS" => "1", 
00070                         "ADDT" => "1", 
00071                         "ADLK" => "1", 
00072                         "ADRK" => "1", 
00073                         "AND" => "1", 
00074                         "ANDK" => "1", 
00075                         "APAC" => "1", 
00076                         "B" => "1", 
00077                         "BACC" => "1", 
00078                         "BANZ" => "1", 
00079                         "BBNZ" => "1", 
00080                         "BBZ" => "1", 
00081                         "BC" => "1", 
00082                         "BCND" => "1", 
00083                         "BGEZ" => "1", 
00084                         "BGZ" => "1", 
00085                         "BIOZ" => "1", 
00086                         "BIT" => "1", 
00087                         "BITT" => "1", 
00088                         "BLDD" => "1", 
00089                         "BLEZ" => "1", 
00090                         "BLKD" => "1", 
00091                         "BLKP" => "1", 
00092                         "BLPD" => "1", 
00093                         "BLZ" => "1", 
00094                         "BNC" => "1", 
00095                         "BNV" => "1", 
00096                         "BNZ" => "1", 
00097                         "BV" => "1", 
00098                         "BZ" => "1", 
00099                         "CALA" => "1", 
00100                         "CALL" => "1", 
00101                         "CC" => "1", 
00102                         "CLRC" => "1", 
00103                         "CMPL" => "1", 
00104                         "CMPR" => "1", 
00105                         "CNFD" => "1", 
00106                         "CNFP" => "1", 
00107                         "DINT" => "1", 
00108                         "DMOV" => "1", 
00109                         "EINT" => "1", 
00110                         "IDLE" => "1", 
00111                         "IN" => "1", 
00112                         "INTR" => "1", 
00113                         "LAC" => "1", 
00114                         "LACC" => "1", 
00115                         "LACL" => "1", 
00116                         "LACT" => "1", 
00117                         "LALK" => "1", 
00118                         "LAR" => "1", 
00119                         "LARP" => "1", 
00120                         "LDP" => "1", 
00121                         "LDPK" => "1", 
00122                         "LPH" => "1", 
00123                         "LRLK" => "1", 
00124                         "LST" => "1", 
00125                         "LST1" => "1", 
00126                         "LT" => "1", 
00127                         "LTA" => "1", 
00128                         "LTD" => "1", 
00129                         "LTP" => "1", 
00130                         "LTS" => "1", 
00131                         "MAC" => "1", 
00132                         "MACD" => "1", 
00133                         "MAR" => "1", 
00134                         "MPY" => "1", 
00135                         "MPYA" => "1", 
00136                         "MPYK" => "1", 
00137                         "MPYS" => "1", 
00138                         "MPYU" => "1", 
00139                         "NEG" => "1", 
00140                         "NMI" => "1", 
00141                         "NOP" => "1", 
00142                         "NORM" => "1", 
00143                         "OR" => "1", 
00144                         "ORK" => "1", 
00145                         "OUT" => "1", 
00146                         "PAC" => "1", 
00147                         "POP" => "1", 
00148                         "POPD" => "1", 
00149                         "BeautifierD" => "1", 
00150                         "PUSH" => "1", 
00151                         "RC" => "1", 
00152                         "RET" => "1", 
00153                         "RETC" => "1", 
00154                         "RHM" => "1", 
00155                         "ROL" => "1", 
00156                         "ROR" => "1", 
00157                         "ROVM" => "1", 
00158                         "RPT" => "1", 
00159                         "RPTK" => "1", 
00160                         "RSXM" => "1", 
00161                         "RTC" => "1", 
00162                         "RXF" => "1", 
00163                         "SACH" => "1", 
00164                         "SACL" => "1", 
00165                         "SAR" => "1", 
00166                         "SBRK" => "1", 
00167                         "SC" => "1", 
00168                         "SETC" => "1", 
00169                         "SFL" => "1", 
00170                         "SFR" => "1", 
00171                         "SHM" => "1", 
00172                         "SOVM" => "1", 
00173                         "SPAC" => "1", 
00174                         "SPH" => "1", 
00175                         "SPL" => "1", 
00176                         "SPLK" => "1", 
00177                         "SPM" => "1", 
00178                         "SQRA" => "1", 
00179                         "SQRS" => "1", 
00180                         "SST" => "1", 
00181                         "SSXM" => "1", 
00182                         "STC" => "1", 
00183                         "SUB" => "1", 
00184                         "SUBB" => "1", 
00185                         "SUBC" => "1", 
00186                         "SUBH" => "1", 
00187                         "SUBK" => "1", 
00188                         "SUBS" => "1", 
00189                         "SUBT" => "1", 
00190                         "SXF" => "1", 
00191                         "TBLR" => "1", 
00192                         "TBLW" => "1", 
00193                         "TRAP" => "1", 
00194                         "XOR" => "1", 
00195                         "ZALR" => "1", 
00196                         ".align" => "2", 
00197                         ".asect" => "2", 
00198                         ".asg" => "2", 
00199                         ".bes" => "2", 
00200                         ".bfloat" => "2", 
00201                         ".blong" => "2", 
00202                         ".break" => "2", 
00203                         ".bss" => "2", 
00204                         ".byte" => "2", 
00205                         ".copy" => "2", 
00206                         ".data" => "2", 
00207                         ".def" => "2", 
00208                         ".double" => "2", 
00209                         ".drlist" => "2", 
00210                         ".drnolist" => "2", 
00211                         ".else" => "2", 
00212                         ".elseif" => "2", 
00213                         ".emsg" => "2", 
00214                         ".end" => "2", 
00215                         ".endif" => "2", 
00216                         ".endm" => "2", 
00217                         ".endloop" => "2", 
00218                         ".endstruct" => "2", 
00219                         ".equ" => "2", 
00220                         ".eval" => "2", 
00221                         ".even" => "2", 
00222                         ".fclist" => "2", 
00223                         ".fcnolist" => "2", 
00224                         ".field" => "2", 
00225                         ".float" => "2", 
00226                         ".global" => "2", 
00227                         ".hword" => "2", 
00228                         ".ieee" => "2", 
00229                         ".if" => "2", 
00230                         ".include" => "2", 
00231                         ".int" => "2", 
00232                         ".label" => "2", 
00233                         ".ldouble" => "2", 
00234                         ".length" => "2", 
00235                         ".list" => "2", 
00236                         ".long" => "2", 
00237                         ".loop" => "2", 
00238                         ".macro" => "2", 
00239                         ".mlib" => "2", 
00240                         ".mlist" => "2", 
00241                         ".mmregs" => "2", 
00242                         ".mmsg" => "2", 
00243                         ".mnolist" => "2", 
00244                         ".newblock" => "2", 
00245                         ".nolist" => "2", 
00246                         ".option" => "2", 
00247                         ".page" => "2", 
00248                         ".port" => "2", 
00249                         ".ref" => "2", 
00250                         ".regalias" => "2", 
00251                         ".sblock" => "2", 
00252                         ".sect" => "2", 
00253                         ".set" => "2", 
00254                         ".sfloat" => "2", 
00255                         ".space" => "2", 
00256                         ".sslist" => "2", 
00257                         ".ssnolist" => "2", 
00258                         ".start" => "2", 
00259                         ".string" => "2", 
00260                         ".struct" => "2", 
00261                         ".tab" => "2", 
00262                         ".tag" => "2", 
00263                         ".text" => "2", 
00264                         ".title" => "2", 
00265                         ".usect" => "2", 
00266                         ".version" => "2", 
00267                         ".width" => "2", 
00268                         ".wmsg" => "2", 
00269                         ".word" => "2", 
00270                         "ACC" => "3", 
00271                         "AR0" => "3", 
00272                         "AR1" => "3", 
00273                         "AR2" => "3", 
00274                         "AR3" => "3", 
00275                         "AR4" => "3", 
00276                         "AR5" => "3", 
00277                         "AR6" => "3", 
00278                         "AR7" => "3", 
00279                         "ARB" => "3", 
00280                         "ARP" => "3", 
00281                         "BIO" => "3", 
00282                         "C" => "3", 
00283                         "CNF" => "3", 
00284                         "DP" => "3", 
00285                         "EQ" => "3", 
00286                         "GEQ" => "3", 
00287                         "GT" => "3", 
00288                         "INTM" => "3", 
00289                         "LEQ" => "3", 
00290                         "NC" => "3", 
00291                         "NEQ" => "3", 
00292                         "NOV" => "3", 
00293                         "NTC" => "3", 
00294                         "OV" => "3", 
00295                         "OVM" => "3", 
00296                         "PM" => "3", 
00297                         "SP" => "3", 
00298                         "ST" => "3", 
00299                         "SXM" => "3", 
00300                         "TC" => "3", 
00301                         "XF" => "3", 
00302                         "+" => "4", 
00303                         "-" => "4", 
00304                         "//" => "4", 
00305                         "/" => "4", 
00306                         "%" => "4", 
00307                         "&" => "4", 
00308                         ">" => "4", 
00309                         "<" => "4", 
00310                         "^" => "4", 
00311                         "!" => "4", 
00312                         "|" => "4", 
00313                         ".cinit" => "5", 
00314                         ".const" => "5", 
00315                         ".stack" => "5", 
00316                         ".switch" => "5", 
00317                         ".sysmem" => "5", 
00318                         ".vector" => "5", 
00319                         ".vectors" => "5");
00320 
00321 // Special extensions
00322 
00323 // Each category can specify a PHP function that returns an altered
00324 // version of the keyword.
00325         
00326         
00327 
00328 $this->linkscripts      = array(
00329                         "" => "donothing", 
00330                         "4" => "donothing", 
00331                         "1" => "donothing", 
00332                         "2" => "donothing", 
00333                         "3" => "donothing", 
00334                         "5" => "donothing");
00335 }
00336 
00337 
00338 function donothing($keywordin)
00339 {
00340         return $keywordin;
00341 }
00342 
00343 }?>

Generated on Fri Dec 13 2013 09:06:39 for ILIAS Release_3_4_x_branch .rev 46804 by  doxygen 1.7.1