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

syntax_highlight/php/HFile/HFile_sacs4.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_sacs4 extends HFile{
00006    function HFile_sacs4(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // SACS IV
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");
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                         "AMOD" => "1", 
00046                         "DEAD" => "1", 
00047                         "END" => "1", 
00048                         "GRUP" => "1", 
00049                         "HYDRO" => "1", 
00050                         "JOINT" => "1", 
00051                         "LDCASE" => "1", 
00052                         "LDCOMB" => "1", 
00053                         "LDOPT" => "1", 
00054                         "LOAD" => "1", 
00055                         "LOADCN" => "1", 
00056                         "MEMBER" => "1", 
00057                         "OPTIONS" => "1", 
00058                         "PGRUP" => "1", 
00059                         "PLATE" => "1", 
00060                         "PSTIF" => "1", 
00061                         "REDESIGN" => "1", 
00062                         "SECT" => "1", 
00063                         "SECS" => "1", 
00064                         "SHELL" => "1", 
00065                         "SOLID" => "1", 
00066                         "UCPART" => "1", 
00067                         "CONC" => "2", 
00068                         "ELASTI" => "2", 
00069                         "F" => "2", 
00070                         "JOIN" => "2", 
00071                         "MOMT" => "2", 
00072                         "MN" => "2", 
00073                         "MT" => "2", 
00074                         "N" => "2", 
00075                         "OFFSET" => "2", 
00076                         "OFFSETS" => "2", 
00077                         "PERSET" => "2", 
00078                         "PRI" => "2", 
00079                         "SPC" => "2", 
00080                         "SPG" => "2", 
00081                         "STB" => "2", 
00082                         "STC" => "2", 
00083                         "STM" => "2", 
00084                         "STT" => "2", 
00085                         "TEE" => "2", 
00086                         "TEMP" => "2", 
00087                         "THICK" => "2", 
00088                         "TUB" => "2", 
00089                         "UNIF" => "2", 
00090                         "WF" => "2", 
00091                         "X" => "2", 
00092                         "Y" => "2", 
00093                         "Z" => "2");
00094 
00095 // Special extensions
00096 
00097 // Each category can specify a PHP function that returns an altered
00098 // version of the keyword.
00099         
00100         
00101 
00102 $this->linkscripts      = array(
00103                         "1" => "donothing", 
00104                         "2" => "donothing");
00105 }
00106 
00107 
00108 function donothing($keywordin)
00109 {
00110         return $keywordin;
00111 }
00112 
00113 }?>

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