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

syntax_highlight/php/HFile/HFile_ugapt.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_ugapt extends HFile{
00006    function HFile_ugapt(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // UG/APT Source
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", "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("PPR");
00039 $this->blockcommenton           = array("$");
00040 $this->blockcommentoff          = array("");
00041 
00042 // Keywords (keyword mapping to colour number)
00043 
00044 $this->keywords                 = array(
00045                         "CALL" => "1", 
00046                         "CHOOSE" => "1", 
00047                         "GPOS" => "1", 
00048                         "IDENT" => "1", 
00049                         "LOAD" => "1", 
00050                         "MACRO" => "1", 
00051                         "PARAM" => "1", 
00052                         "TERMAC" => "1", 
00053                         "TEXT" => "1", 
00054                         "RAPID" => "2", 
00055                         "AUXFUN" => "4", 
00056                         "INSERT" => "4", 
00057                         "IF" => "4", 
00058                         "JUMP" => "4", 
00059                         "MODE" => "4", 
00060                         "PLABEL" => "4", 
00061                         "POSTN" => "4", 
00062                         "PREFUN" => "4", 
00063                         "COPY" => "5", 
00064                         "INDEX" => "5", 
00065                         "OPSKIP" => "5", 
00066                         "TRACUT" => "5", 
00067                         "TRANS" => "5", 
00068                         "APPEND" => "6", 
00069                         "CREATE" => "6", 
00070                         "DELIM" => "6", 
00071                         "FILE" => "6", 
00072                         "FETCH" => "6", 
00073                         "FPRINT" => "6", 
00074                         "FTERM" => "6", 
00075                         "READ" => "6", 
00076                         "RESET" => "6", 
00077                         "WRITE" => "6", 
00078                         "LOADTL" => "7", 
00079                         "COOLNT" => "8", 
00080                         "SPINDL" => "8");
00081 
00082 // Special extensions
00083 
00084 // Each category can specify a PHP function that returns an altered
00085 // version of the keyword.
00086         
00087         
00088 
00089 $this->linkscripts      = array(
00090                         "1" => "donothing", 
00091                         "2" => "donothing", 
00092                         "4" => "donothing", 
00093                         "5" => "donothing", 
00094                         "6" => "donothing", 
00095                         "7" => "donothing", 
00096                         "8" => "donothing");
00097 }
00098 
00099 
00100 function donothing($keywordin)
00101 {
00102         return $keywordin;
00103 }
00104 
00105 }?>

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