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

syntax_highlight/php/HFile/HFile_idl.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_idl extends HFile{
00006    function HFile_idl(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // IDL
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");
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                         "any" => "1", 
00046                         "attribute" => "1", 
00047                         "boolean" => "1", 
00048                         "context" => "1", 
00049                         "exception" => "1", 
00050                         "FALSE" => "1", 
00051                         "in" => "1", 
00052                         "inout" => "1", 
00053                         "Object" => "1", 
00054                         "octet" => "1", 
00055                         "oneway" => "1", 
00056                         "out" => "1", 
00057                         "raises" => "1", 
00058                         "readonly" => "1", 
00059                         "sequence" => "1", 
00060                         "string" => "1", 
00061                         "TRUE" => "1", 
00062                         "auto" => "2", 
00063                         "break" => "2", 
00064                         "case" => "2", 
00065                         "char" => "2", 
00066                         "const" => "2", 
00067                         "continue" => "2", 
00068                         "default" => "2", 
00069                         "do" => "2", 
00070                         "double" => "2", 
00071                         "else" => "2", 
00072                         "enum" => "2", 
00073                         "extern" => "2", 
00074                         "float" => "2", 
00075                         "for" => "2", 
00076                         "goto" => "2", 
00077                         "if" => "2", 
00078                         "int" => "2", 
00079                         "long" => "2", 
00080                         "register" => "2", 
00081                         "return" => "2", 
00082                         "short" => "2", 
00083                         "signed" => "2", 
00084                         "sizeof" => "2", 
00085                         "static" => "2", 
00086                         "struct" => "2", 
00087                         "switch" => "2", 
00088                         "typedef" => "2", 
00089                         "union" => "2", 
00090                         "unsigned" => "2", 
00091                         "void" => "2", 
00092                         "volatile" => "2", 
00093                         "while" => "2", 
00094                         "__asm" => "2", 
00095                         "__fastcall" => "2", 
00096                         "__self" => "2", 
00097                         "__segment" => "2", 
00098                         "__based" => "2", 
00099                         "__segname" => "2", 
00100                         "__fortran" => "2", 
00101                         "__cdecl" => "2", 
00102                         "__huge" => "2", 
00103                         "__far" => "2", 
00104                         "__saveregs" => "2", 
00105                         "__export" => "2", 
00106                         "__pascal" => "2", 
00107                         "__near" => "2", 
00108                         "__loadds" => "2", 
00109                         "__interrupt" => "2", 
00110                         "__inline" => "2", 
00111                         "#define" => "2", 
00112                         "#error" => "2", 
00113                         "#include" => "2", 
00114                         "#elif" => "2", 
00115                         "#if" => "2", 
00116                         "#line" => "2", 
00117                         "#else" => "2", 
00118                         "#ifdef" => "2", 
00119                         "#pragma" => "2", 
00120                         "#endif" => "2", 
00121                         "#ifndef" => "2", 
00122                         "#undef" => "2", 
00123                         "class" => "3", 
00124                         "delete" => "3", 
00125                         "friend" => "3", 
00126                         "inline" => "3", 
00127                         "new" => "3", 
00128                         "operator" => "3", 
00129                         "private" => "3", 
00130                         "protected" => "3", 
00131                         "public" => "3", 
00132                         "this" => "3", 
00133                         "try" => "3", 
00134                         "virtual" => "3", 
00135                         "__multiple_inheritance" => "3", 
00136                         "__single_inheritance" => "3", 
00137                         "__virtual_inheritance" => "3", 
00138                         "interface" => "4", 
00139                         "module" => "4");
00140 
00141 // Special extensions
00142 
00143 // Each category can specify a PHP function that returns an altered
00144 // version of the keyword.
00145         
00146         
00147 
00148 $this->linkscripts      = array(
00149                         "1" => "donothing", 
00150                         "2" => "donothing", 
00151                         "3" => "donothing", 
00152                         "4" => "donothing");
00153 }
00154 
00155 
00156 function donothing($keywordin)
00157 {
00158         return $keywordin;
00159 }
00160 
00161 }?>

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