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

syntax_highlight/php/HFile/HFile_6809.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_6809 extends HFile{
00006    function HFile_6809(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // 
00011 /*************************************/
00012 // Flags
00013 
00014 $this->nocase                   = "1";
00015 $this->notrim                   = "0";
00016 $this->perl                     = "0";
00017 
00018 // Colours
00019 
00020 $this->colours          = array("blue", "purple", "gray", "brown", "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                         "#$" => "1", 
00046                         "#%" => "1", 
00047                         "&(" => "1", 
00048                         "ABX" => "2", 
00049                         "ADCA" => "2", 
00050                         "ADCB" => "2", 
00051                         "ADDA" => "2", 
00052                         "ADDB" => "2", 
00053                         "ADDD" => "2", 
00054                         "ANDA" => "2", 
00055                         "ANDB" => "2", 
00056                         "ANDCC" => "2", 
00057                         "ASLA" => "2", 
00058                         "ASLB" => "2", 
00059                         "ASL" => "2", 
00060                         "ASRA" => "2", 
00061                         "ASR" => "2", 
00062                         "BCC" => "2", 
00063                         "BCS" => "2", 
00064                         "BEQ" => "2", 
00065                         "BGE" => "2", 
00066                         "BGT" => "2", 
00067                         "BHI" => "2", 
00068                         "BHS" => "2", 
00069                         "BLE" => "2", 
00070                         "BLO" => "2", 
00071                         "BLS" => "2", 
00072                         "BLT" => "2", 
00073                         "BMI" => "2", 
00074                         "BNE" => "2", 
00075                         "BPL" => "2", 
00076                         "BRA" => "2", 
00077                         "BRN" => "2", 
00078                         "BSR" => "2", 
00079                         "BVC" => "2", 
00080                         "BVS" => "2", 
00081                         "BITA" => "2", 
00082                         "BITB" => "2", 
00083                         "CLRA" => "2", 
00084                         "CLRB" => "2", 
00085                         "CLR" => "2", 
00086                         "CMPA" => "2", 
00087                         "CMPB" => "2", 
00088                         "CMPD" => "2", 
00089                         "CMPS" => "2", 
00090                         "CMPU" => "2", 
00091                         "CMPX" => "2", 
00092                         "CMPY" => "2", 
00093                         "COMA" => "2", 
00094                         "COMB" => "2", 
00095                         "COM" => "2", 
00096                         "CWAI" => "2", 
00097                         "DAA" => "2", 
00098                         "DECA" => "2", 
00099                         "DECB" => "2", 
00100                         "DEC" => "2", 
00101                         "EORA" => "2", 
00102                         "EORB" => "2", 
00103                         "EXG" => "2", 
00104                         "INCA" => "2", 
00105                         "INCB" => "2", 
00106                         "INC" => "2", 
00107                         "JMP" => "2", 
00108                         "JSR" => "2", 
00109                         "LDA" => "2", 
00110                         "LDB" => "2", 
00111                         "LDD" => "2", 
00112                         "LDS" => "2", 
00113                         "LDU" => "2", 
00114                         "LDX" => "2", 
00115                         "LDY" => "2", 
00116                         "LEAS" => "2", 
00117                         "LEAU" => "2", 
00118                         "LEAX" => "2", 
00119                         "LEAY" => "2", 
00120                         "LSLA" => "2", 
00121                         "LSLB" => "2", 
00122                         "LSL" => "2", 
00123                         "LSRA" => "2", 
00124                         "LSRB" => "2", 
00125                         "LSR" => "2", 
00126                         "LBCC" => "2", 
00127                         "LBCS" => "2", 
00128                         "LBEQ" => "2", 
00129                         "LBGE" => "2", 
00130                         "LBGT" => "2", 
00131                         "LBHI" => "2", 
00132                         "LBHS" => "2", 
00133                         "LBLE" => "2", 
00134                         "LBLO" => "2", 
00135                         "LBLS" => "2", 
00136                         "LBLT" => "2", 
00137                         "LBMI" => "2", 
00138                         "LBNE" => "2", 
00139                         "LBPL" => "2", 
00140                         "LBRA" => "2", 
00141                         "LBRN" => "2", 
00142                         "LBSR" => "2", 
00143                         "LBVC" => "2", 
00144                         "LBVS" => "2", 
00145                         "MUL" => "2", 
00146                         "NEGA" => "2", 
00147                         "NEGB" => "2", 
00148                         "NEG" => "2", 
00149                         "NOP" => "2", 
00150                         "ORA" => "2", 
00151                         "ORB" => "2", 
00152                         "ORCC" => "2", 
00153                         "BeautifierS" => "2", 
00154                         "BeautifierU" => "2", 
00155                         "PULS" => "2", 
00156                         "PULU" => "2", 
00157                         "ROLA" => "2", 
00158                         "ROLB" => "2", 
00159                         "ROL" => "2", 
00160                         "RORA" => "2", 
00161                         "RORB" => "2", 
00162                         "ROR" => "2", 
00163                         "RTI" => "2", 
00164                         "RTS" => "2", 
00165                         "SBCA" => "2", 
00166                         "SBCB" => "2", 
00167                         "SEX" => "2", 
00168                         "STA" => "2", 
00169                         "STB" => "2", 
00170                         "STD" => "2", 
00171                         "STS" => "2", 
00172                         "STU" => "2", 
00173                         "STX" => "2", 
00174                         "STY" => "2", 
00175                         "SUBA" => "2", 
00176                         "SUBB" => "2", 
00177                         "SUBD" => "2", 
00178                         "SWI" => "2", 
00179                         "SWI2" => "2", 
00180                         "SWI3" => "2", 
00181                         "SYNC" => "2", 
00182                         "TFR" => "2", 
00183                         "TSTA" => "2", 
00184                         "TSTB" => "2", 
00185                         "TST" => "2", 
00186                         "FCB" => "3", 
00187                         "FDB" => "3", 
00188                         "FCC" => "3", 
00189                         "RMB" => "3", 
00190                         "END" => "4", 
00191                         "LIB" => "4", 
00192                         "EQU" => "5", 
00193                         "ENDM" => "5", 
00194                         "MACRO" => "5", 
00195                         "ORG" => "5", 
00196                         "SETDP" => "5");
00197 
00198 // Special extensions
00199 
00200 // Each category can specify a PHP function that returns an altered
00201 // version of the keyword.
00202         
00203         
00204 
00205 $this->linkscripts      = array(
00206                         "1" => "donothing", 
00207                         "2" => "donothing", 
00208                         "3" => "donothing", 
00209                         "4" => "donothing", 
00210                         "5" => "donothing");
00211 }
00212 
00213 
00214 function donothing($keywordin)
00215 {
00216         return $keywordin;
00217 }
00218 
00219 }?>

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