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

syntax_highlight/php/HFile/HFile_linker.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_linker extends HFile{
00006    function HFile_linker(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // Linker File
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", "purple", "gray", "brown");
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                         "HD" => "1", 
00046                         "HEADER" => "1", 
00047                         "LISTREGISTERS" => "1", 
00048                         "LISTSYMBOLS" => "1", 
00049                         "LRG" => "1", 
00050                         "LSY" => "1", 
00051                         "MA" => "1", 
00052                         "MAP" => "1", 
00053                         "NOHD" => "1", 
00054                         "NOHEADER" => "1", 
00055                         "NOLISTREGISTERS" => "1", 
00056                         "NOLISTSYMBOLS" => "1", 
00057                         "NOLRG" => "1", 
00058                         "NOLSY" => "1", 
00059                         "NOMA" => "1", 
00060                         "NOMAP" => "1", 
00061                         "NOPR" => "1", 
00062                         "NOPRINT" => "1", 
00063                         "PR" => "1", 
00064                         "PRINT" => "1", 
00065                         "AS" => "2", 
00066                         "ASSIGN" => "2", 
00067                         "CM" => "2", 
00068                         "COMMENTS" => "2", 
00069                         "DB" => "2", 
00070                         "DEBUG" => "2", 
00071                         "EC" => "2", 
00072                         "EX" => "2", 
00073                         "EXCEPT" => "2", 
00074                         "EXTERNS" => "2", 
00075                         "GL" => "2", 
00076                         "GLOBALS" => "2", 
00077                         "GR" => "2", 
00078                         "GROUPS" => "2", 
00079                         "IN" => "2", 
00080                         "INTNRS" => "2", 
00081                         "LC" => "2", 
00082                         "LINES" => "2", 
00083                         "LN" => "2", 
00084                         "LOCALS" => "2", 
00085                         "NOCM" => "2", 
00086                         "NOCOMMENTS" => "2", 
00087                         "NODB" => "2", 
00088                         "NODEBUG" => "2", 
00089                         "NOGL" => "2", 
00090                         "NOGLOBALS" => "2", 
00091                         "NOLC" => "2", 
00092                         "NOLINES" => "2", 
00093                         "NOLN" => "2", 
00094                         "NOLOCALS" => "2", 
00095                         "NOPB" => "2", 
00096                         "NOPU" => "2", 
00097                         "NOPUBLICS" => "2", 
00098                         "NOPURGE" => "2", 
00099                         "NOSB" => "2", 
00100                         "NOSM" => "2", 
00101                         "NOSYMB" => "2", 
00102                         "OBJECTCONTROLS" => "2", 
00103                         "OC" => "2", 
00104                         "PB" => "2", 
00105                         "PC" => "2", 
00106                         "PRINTCONTROLS" => "2", 
00107                         "PU" => "2", 
00108                         "PUBLICS" => "2", 
00109                         "PURGE" => "2", 
00110                         "RENAMESYMBOLS" => "2", 
00111                         "RS" => "2", 
00112                         "SB" => "2", 
00113                         "SC" => "2", 
00114                         "SM" => "2", 
00115                         "SYMB" => "2", 
00116                         "SYMBOLCOLUMNS" => "2", 
00117                         "DA" => "3", 
00118                         "DATE" => "3", 
00119                         "NOPA" => "3", 
00120                         "NOPAGING" => "3", 
00121                         "PA" => "3", 
00122                         "PAGELENGTH" => "3", 
00123                         "PAGEWIDTH" => "3", 
00124                         "PAGING" => "3", 
00125                         "PL" => "3", 
00126                         "PW" => "3", 
00127                         "TITLE" => "3", 
00128                         "TT" => "3", 
00129                         "AD" => "4", 
00130                         "ADDRESSES" => "4", 
00131                         "CL" => "4", 
00132                         "CLASSES" => "4", 
00133                         "FP" => "4", 
00134                         "FPS" => "4", 
00135                         "FPSTACKSIZE" => "4", 
00136                         "HEAPSIZE" => "4", 
00137                         "HP" => "4", 
00138                         "HS" => "4", 
00139                         "INTTBL" => "4", 
00140                         "IR" => "4", 
00141                         "IRAM" => "4", 
00142                         "IRAMSIZE" => "4", 
00143                         "IS" => "4", 
00144                         "IT" => "4", 
00145                         "LINEAR" => "4", 
00146                         "LR" => "4", 
00147                         "ME" => "4", 
00148                         "MEMORY" => "4", 
00149                         "NOIR" => "4", 
00150                         "NOIRAM" => "4", 
00151                         "NOSAL" => "4", 
00152                         "NOSORTALIGN" => "4", 
00153                         "NOVECINIT" => "4", 
00154                         "NOVECTAB" => "4", 
00155                         "NOVI" => "4", 
00156                         "NOVT" => "4", 
00157                         "OR" => "4", 
00158                         "ORDER" => "4", 
00159                         "OVERLAY" => "4", 
00160                         "OVL" => "4", 
00161                         "PECPTR" => "4", 
00162                         "PP" => "4", 
00163                         "RAM" => "4", 
00164                         "RB" => "4", 
00165                         "RBANK" => "4", 
00166                         "RE" => "4", 
00167                         "RESERVE" => "4", 
00168                         "ROM" => "4", 
00169                         "SAL" => "4", 
00170                         "SE" => "4", 
00171                         "SECSIZE" => "4", 
00172                         "SECTIONS" => "4", 
00173                         "SETNOSGDPP" => "4", 
00174                         "SND" => "4", 
00175                         "SORTALIGN" => "4", 
00176                         "SS" => "4", 
00177                         "SY" => "4", 
00178                         "SYSSTACK" => "4", 
00179                         "VECINIT" => "4", 
00180                         "VECTAB" => "4", 
00181                         "VI" => "4", 
00182                         "VT" => "4", 
00183                         "(" => "5", 
00184                         ")" => "5", 
00185                         "+" => "5", 
00186                         "," => "5", 
00187                         "-" => "5", 
00188                         "?" => "5", 
00189                         "CA" => "6", 
00190                         "CASE" => "6", 
00191                         "CC" => "6", 
00192                         "CHECKCLASSES" => "6", 
00193                         "GENERAL" => "6", 
00194                         "GLOBALSONLY" => "6", 
00195                         "GN" => "6", 
00196                         "GO" => "6", 
00197                         "INT" => "6", 
00198                         "INTERRUPT" => "6", 
00199                         "LIBPATH" => "6", 
00200                         "LINK" => "6", 
00201                         "LNK" => "6", 
00202                         "LOC" => "6", 
00203                         "LOCATE" => "6", 
00204                         "LP" => "6", 
00205                         "MODPATH" => "6", 
00206                         "MP" => "6", 
00207                         "NA" => "6", 
00208                         "NAME" => "6", 
00209                         "NOCA" => "6", 
00210                         "NOCASE" => "6", 
00211                         "NOCC" => "6", 
00212                         "NOCHECKCLASSES" => "6", 
00213                         "NOST" => "6", 
00214                         "NOSTRICTTASK" => "6", 
00215                         "NOTY" => "6", 
00216                         "NOTYPE" => "6", 
00217                         "NOWA" => "6", 
00218                         "NOWARNING" => "6", 
00219                         "PO" => "6", 
00220                         "PTOG" => "6", 
00221                         "PUBLICSONLY" => "6", 
00222                         "PUBTOGLB" => "6", 
00223                         "ST" => "6", 
00224                         "STRICTTASK" => "6", 
00225                         "TY" => "6", 
00226                         "TYPE" => "6", 
00227                         "WA" => "6", 
00228                         "WARNING" => "6", 
00229                         "CBITS" => "7", 
00230                         "CBITWORDS" => "7", 
00231                         "CFAR" => "7", 
00232                         "CFARROM" => "7", 
00233                         "CHUGE" => "7", 
00234                         "CHUGEROM" => "7", 
00235                         "CINITROM" => "7", 
00236                         "CIRAM" => "7", 
00237                         "CNEAR" => "7", 
00238                         "CNEAR2" => "7", 
00239                         "CPROGRAM" => "7", 
00240                         "CROM" => "7", 
00241                         "CSHUGE" => "7", 
00242                         "CSHUGEROM" => "7", 
00243                         "CSYSTEM" => "7", 
00244                         "CUSTACK" => "7", 
00245                         "C_INIT" => "7", 
00246                         "CLIBRARY" => "8", 
00247                         "RTLIBRARY" => "8", 
00248                         "SHAREDCLIB" => "8", 
00249                         "SHAREDRTLIB" => "8");
00250 
00251 // Special extensions
00252 
00253 // Each category can specify a PHP function that returns an altered
00254 // version of the keyword.
00255         
00256         
00257 
00258 $this->linkscripts      = array(
00259                         "1" => "donothing", 
00260                         "2" => "donothing", 
00261                         "3" => "donothing", 
00262                         "4" => "donothing", 
00263                         "5" => "donothing", 
00264                         "6" => "donothing", 
00265                         "7" => "donothing", 
00266                         "8" => "donothing");
00267 }
00268 
00269 
00270 function donothing($keywordin)
00271 {
00272         return $keywordin;
00273 }
00274 
00275 }?>

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