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

syntax_highlight/php/HFile/HFile_adsp2181.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_adsp2181 extends HFile{
00006    function HFile_adsp2181(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // ADSP2181
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", "gray");
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                         ".adsp2181" => "1", 
00046                         ".const" => "1", 
00047                         ".endmod" => "1", 
00048                         ".endsys" => "1", 
00049                         ".entry" => "1", 
00050                         ".external" => "1", 
00051                         ".global" => "1", 
00052                         ".include" => "1", 
00053                         ".init" => "1", 
00054                         ".mmap0" => "1", 
00055                         ".module" => "1", 
00056                         ".seg" => "1", 
00057                         ".system" => "1", 
00058                         ".var" => "1", 
00059                         "abs" => "1", 
00060                         "circ" => "1", 
00061                         "code" => "1", 
00062                         "data" => "1", 
00063                         "%" => "2", 
00064                         "^" => "2", 
00065                         "and" => "2", 
00066                         "ashift" => "2", 
00067                         "by" => "2", 
00068                         "call" => "2", 
00069                         "clrbit" => "2", 
00070                         "dis" => "2", 
00071                         "do" => "2", 
00072                         "ena" => "2", 
00073                         "exp" => "2", 
00074                         "expadj" => "2", 
00075                         "if" => "2", 
00076                         "jump" => "2", 
00077                         "lo" => "2", 
00078                         "lshift" => "2", 
00079                         "modify" => "2", 
00080                         "none" => "2", 
00081                         "nop" => "2", 
00082                         "norm" => "2", 
00083                         "of" => "2", 
00084                         "or" => "2", 
00085                         "pass" => "2", 
00086                         "pop" => "2", 
00087                         "push" => "2", 
00088                         "reset" => "2", 
00089                         "rnd" => "2", 
00090                         "rti" => "2", 
00091                         "rts" => "2", 
00092                         "sat" => "2", 
00093                         "sec_regset" => "2", 
00094                         "setbit" => "2", 
00095                         "ss" => "2", 
00096                         "su" => "3", 
00097                         "tglbit" => "2", 
00098                         "toggle" => "2", 
00099                         "toppcstack" => "2", 
00100                         "tstbit" => "2", 
00101                         "until" => "2", 
00102                         "us" => "2", 
00103                         "uu" => "2", 
00104                         "xor" => "2", 
00105                         "af" => "3", 
00106                         "ar" => "3", 
00107                         "astat" => "3", 
00108                         "ax0" => "3", 
00109                         "ax1" => "3", 
00110                         "ay0" => "3", 
00111                         "ay1" => "3", 
00112                         "cntr" => "3", 
00113                         "divq" => "3", 
00114                         "divs" => "3", 
00115                         "i0" => "3", 
00116                         "i1" => "3", 
00117                         "i2" => "3", 
00118                         "i3" => "3", 
00119                         "i4" => "3", 
00120                         "i5" => "3", 
00121                         "i6" => "3", 
00122                         "i7" => "3", 
00123                         "icntl" => "3", 
00124                         "ifc" => "3", 
00125                         "imask" => "3", 
00126                         "l0" => "3", 
00127                         "l1" => "3", 
00128                         "l2" => "3", 
00129                         "l3" => "3", 
00130                         "l4" => "3", 
00131                         "l5" => "3", 
00132                         "l6" => "3", 
00133                         "l7" => "3", 
00134                         "loop" => "3", 
00135                         "m0" => "3", 
00136                         "m1" => "3", 
00137                         "m2" => "3", 
00138                         "m3" => "3", 
00139                         "m4" => "3", 
00140                         "m5" => "3", 
00141                         "m6" => "3", 
00142                         "m7" => "3", 
00143                         "mf" => "3", 
00144                         "mr" => "3", 
00145                         "mr0" => "3", 
00146                         "mr1" => "3", 
00147                         "mr2" => "3", 
00148                         "mstat" => "3", 
00149                         "mx0" => "3", 
00150                         "mx1" => "3", 
00151                         "my0" => "3", 
00152                         "my1" => "3", 
00153                         "pc" => "3", 
00154                         "sb" => "3", 
00155                         "sesi" => "3", 
00156                         "sr" => "3", 
00157                         "sr0" => "3", 
00158                         "sr1" => "3", 
00159                         "sts" => "3", 
00160                         "bm" => "4", 
00161                         "dm" => "4", 
00162                         "im" => "4", 
00163                         "io" => "4", 
00164                         "pm" => "4", 
00165                         "ram" => "4", 
00166                         "rom" => "4", 
00167                         "ac" => "5", 
00168                         "av" => "5", 
00169                         "eq" => "5", 
00170                         "ge" => "5", 
00171                         "gt" => "5", 
00172                         "le" => "5", 
00173                         "lt" => "5", 
00174                         "mv" => "5", 
00175                         "ne" => "5", 
00176                         "neg" => "5", 
00177                         "not" => "5", 
00178                         "pos" => "5", 
00179                         "c" => "6", 
00180                         "ce" => "6", 
00181                         "fl0" => "6", 
00182                         "fl1" => "6", 
00183                         "fl2" => "6", 
00184                         "flag_in" => "6", 
00185                         "flag_out" => "6", 
00186                         "m_mode" => "6", 
00187                         "!" => "7", 
00188                         "$" => "7", 
00189                         "&" => "7", 
00190                         "(" => "7", 
00191                         ")" => "7", 
00192                         "*" => "7", 
00193                         "+" => "7", 
00194                         "," => "7", 
00195                         "-" => "7", 
00196                         "." => "7", 
00197                         "//" => "7", 
00198                         "/" => "7", 
00199                         ":" => "7", 
00200                         ";" => "7", 
00201                         "<" => "7", 
00202                         "=" => "7", 
00203                         ">" => "7", 
00204                         "[" => "7", 
00205                         "]" => "7", 
00206                         "|" => "7");
00207 
00208 // Special extensions
00209 
00210 // Each category can specify a PHP function that returns an altered
00211 // version of the keyword.
00212         
00213         
00214 
00215 $this->linkscripts      = array(
00216                         "1" => "donothing", 
00217                         "2" => "donothing", 
00218                         "3" => "donothing", 
00219                         "4" => "donothing", 
00220                         "5" => "donothing", 
00221                         "6" => "donothing", 
00222                         "7" => "donothing");
00223 }
00224 
00225 
00226 function donothing($keywordin)
00227 {
00228         return $keywordin;
00229 }
00230 
00231 }?>

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