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

syntax_highlight/php/HFile/HFile_vospl1.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_vospl1 extends HFile{
00006    function HFile_vospl1(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // VOS PL/1
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", "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                         "aligned" => "1", 
00046                         "allocate" => "1", 
00047                         "auto" => "1", 
00048                         "based" => "1", 
00049                         "begin" => "1", 
00050                         "bin" => "1", 
00051                         "binary" => "1", 
00052                         "case" => "1", 
00053                         "call" => "1", 
00054                         "char" => "1", 
00055                         "char_varying" => "1", 
00056                         "character" => "1", 
00057                         "close" => "1", 
00058                         "const" => "1", 
00059                         "continue" => "1", 
00060                         "defined" => "1", 
00061                         "declare" => "1", 
00062                         "dcl" => "1", 
00063                         "default" => "1", 
00064                         "delete" => "1", 
00065                         "do" => "1", 
00066                         "double" => "1", 
00067                         "else" => "1", 
00068                         "end" => "1", 
00069                         "entry" => "1", 
00070                         "enum" => "1", 
00071                         "extern" => "1", 
00072                         "ext" => "1", 
00073                         "fixed" => "1", 
00074                         "float" => "1", 
00075                         "for" => "1", 
00076                         "format" => "1", 
00077                         "free" => "1", 
00078                         "get" => "1", 
00079                         "goto" => "1", 
00080                         "if" => "1", 
00081                         "int" => "1", 
00082                         "like" => "1", 
00083                         "long" => "1", 
00084                         "on" => "1", 
00085                         "open" => "1", 
00086                         "pointer" => "1", 
00087                         "ptr" => "1", 
00088                         "proc" => "1", 
00089                         "procedure" => "1", 
00090                         "put" => "1", 
00091                         "read" => "1", 
00092                         "register" => "1", 
00093                         "return" => "1", 
00094                         "returns" => "1", 
00095                         "revert" => "1", 
00096                         "rewrite" => "1", 
00097                         "short" => "1", 
00098                         "signal" => "1", 
00099                         "signed" => "1", 
00100                         "sizeof" => "1", 
00101                         "static" => "1", 
00102                         "stop" => "1", 
00103                         "struct" => "1", 
00104                         "switch" => "1", 
00105                         "then" => "1", 
00106                         "typedef" => "1", 
00107                         "union" => "1", 
00108                         "unsigned" => "1", 
00109                         "var" => "1", 
00110                         "void" => "1", 
00111                         "volatile" => "1", 
00112                         "while" => "1", 
00113                         "write" => "1", 
00114                         "$if" => "1", 
00115                         "$endif" => "1", 
00116                         "%include" => "2", 
00117                         "%list" => "2", 
00118                         "%nolist" => "2", 
00119                         "%options" => "2", 
00120                         "%page" => "2", 
00121                         "%replace" => "2", 
00122                         "+" => "4", 
00123                         "-" => "4", 
00124                         "=" => "4", 
00125                         "//" => "4", 
00126                         "/" => "4", 
00127                         "%" => "4", 
00128                         "&" => "4", 
00129                         ">" => "4", 
00130                         "<" => "4", 
00131                         "^" => "4", 
00132                         "!" => "4", 
00133                         "|" => "4");
00134 
00135 // Special extensions
00136 
00137 // Each category can specify a PHP function that returns an altered
00138 // version of the keyword.
00139         
00140         
00141 
00142 $this->linkscripts      = array(
00143                         "1" => "donothing", 
00144                         "2" => "donothing", 
00145                         "4" => "donothing");
00146 }
00147 
00148 
00149 function donothing($keywordin)
00150 {
00151         return $keywordin;
00152 }
00153 
00154 }?>

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