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

syntax_highlight/php/HFile/HFile_plm.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_plm extends HFile{
00006    function HFile_plm(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // PLM
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");
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                         "BLOCKINPUT" => "1", 
00047                         "BLOCKINWORD" => "1", 
00048                         "BLOCKOUTPUT" => "1", 
00049                         "BLOCKOUTWORD" => "1", 
00050                         "CALL" => "1", 
00051                         "CASE" => "1", 
00052                         "CMPB" => "1", 
00053                         "CMPW" => "1", 
00054                         "DECLARE" => "1", 
00055                         "DISABLE" => "1", 
00056                         "DO" => "1", 
00057                         "ELSE" => "1", 
00058                         "ENABLE" => "1", 
00059                         "END" => "1", 
00060                         "EXTERNAL" => "1", 
00061                         "GOTO" => "1", 
00062                         "HALT" => "1", 
00063                         "IF" => "1", 
00064                         "INPUT" => "1", 
00065                         "INTERRUPT" => "1", 
00066                         "INWORD" => "1", 
00067                         "OUTPUT" => "1", 
00068                         "OUTWORD" => "1", 
00069                         "PROCEDURE" => "1", 
00070                         "PUBLIC" => "1", 
00071                         "REENTRANT" => "1", 
00072                         "RETURN" => "1", 
00073                         "SIZE" => "1", 
00074                         "STRUCTURE" => "1", 
00075                         "THEN" => "1", 
00076                         "WHILE" => "1", 
00077                         "." => "2", 
00078                         "*" => "2", 
00079                         "+" => "2", 
00080                         "-" => "2", 
00081                         "=" => "2", 
00082                         "//" => "2", 
00083                         "/" => "2", 
00084                         "%" => "2", 
00085                         "&" => "2", 
00086                         ">" => "2", 
00087                         "<" => "2", 
00088                         "^" => "2", 
00089                         "!" => "2", 
00090                         "|" => "2", 
00091                         "ABS" => "2", 
00092                         "AND" => "2", 
00093                         "CARRY" => "2", 
00094                         "DEC" => "2", 
00095                         "FINDB" => "2", 
00096                         "FINDRB" => "2", 
00097                         "FINDRW" => "2", 
00098                         "FINDW" => "2", 
00099                         "FLAGS" => "2", 
00100                         "IABS" => "2", 
00101                         "LAST" => "2", 
00102                         "LENGTH" => "2", 
00103                         "MINUS" => "2", 
00104                         "MOVB" => "2", 
00105                         "MOVE" => "2", 
00106                         "MOVRB" => "2", 
00107                         "MOVRW" => "2", 
00108                         "MOVW" => "2", 
00109                         "NOT" => "2", 
00110                         "OR" => "2", 
00111                         "PARITY" => "2", 
00112                         "PLUS" => "2", 
00113                         "ROL" => "2", 
00114                         "ROR" => "2", 
00115                         "SAL" => "2", 
00116                         "SAR" => "2", 
00117                         "SCL" => "2", 
00118                         "SCR" => "2", 
00119                         "SETB" => "2", 
00120                         "SETW" => "2", 
00121                         "SHL" => "2", 
00122                         "SHR" => "2", 
00123                         "SIGN" => "2", 
00124                         "SKIPB" => "2", 
00125                         "SKIPRB" => "2", 
00126                         "SKIPRW" => "2", 
00127                         "SKIPW" => "2", 
00128                         "TIME" => "2", 
00129                         "XLAT" => "2", 
00130                         "XOR" => "2", 
00131                         "ZERO" => "2", 
00132                         "BYTE" => "3", 
00133                         "DWORD" => "3", 
00134                         "DOUBLE" => "3", 
00135                         "FLOAT" => "3", 
00136                         "FIX" => "3", 
00137                         "HIGH" => "3", 
00138                         "INTEGER" => "3", 
00139                         "INT" => "3", 
00140                         "LOW" => "3", 
00141                         "POINTER" => "3", 
00142                         "REAL" => "3", 
00143                         "SIGNED" => "3", 
00144                         "UNSIGNED" => "3", 
00145                         "WORD" => "3", 
00146                         "$" => "4", 
00147                         "COMPACT" => "4", 
00148                         "CODE" => "4", 
00149                         "COND" => "4", 
00150                         "DEBUG" => "4", 
00151                         "EJECT" => "4", 
00152                         "INTVECTOR" => "4", 
00153                         "INCLUDE" => "4", 
00154                         "LARGE" => "4", 
00155                         "LEFTMARGIN" => "4", 
00156                         "LIST" => "4", 
00157                         "MOD86" => "4", 
00158                         "MOD186" => "4", 
00159                         "MEDIUM" => "4", 
00160                         "NODEBUG" => "4", 
00161                         "NONINTVECTOR" => "4", 
00162                         "NOOBJECT" => "4", 
00163                         "NOPAGING" => "4", 
00164                         "NOPRINT" => "4", 
00165                         "NOSYMBOLS" => "4", 
00166                         "NOTYPE" => "4", 
00167                         "NOXREF" => "4", 
00168                         "NOCODE" => "4", 
00169                         "NOCOND" => "4", 
00170                         "NOLIST" => "4", 
00171                         "NOOVERFLOW" => "4", 
00172                         "OBJECT" => "4", 
00173                         "OPTIMIZE" => "4", 
00174                         "OVERFLOW" => "4", 
00175                         "PAGING" => "4", 
00176                         "PAGELENGTH" => "4", 
00177                         "PAGEWIDTH" => "4", 
00178                         "PRINT" => "4", 
00179                         "RAM" => "4", 
00180                         "ROM" => "4", 
00181                         "RESTORE" => "4", 
00182                         "RESET" => "4", 
00183                         "SMALL" => "4", 
00184                         "SYMBOLS" => "4", 
00185                         "SAVE" => "4", 
00186                         "SET" => "4", 
00187                         "SUBTITLE" => "4", 
00188                         "TITLE" => "4", 
00189                         "TYPE" => "4", 
00190                         "XREF" => "4");
00191 
00192 // Special extensions
00193 
00194 // Each category can specify a PHP function that returns an altered
00195 // version of the keyword.
00196         
00197         
00198 
00199 $this->linkscripts      = array(
00200                         "1" => "donothing", 
00201                         "2" => "donothing", 
00202                         "3" => "donothing", 
00203                         "4" => "donothing");
00204 }
00205 
00206 
00207 function donothing($keywordin)
00208 {
00209         return $keywordin;
00210 }
00211 
00212 }?>

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