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

syntax_highlight/php/HFile/HFile_corba.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_corba extends HFile{
00006    function HFile_corba(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // CORBA IDL
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                         "any" => "1", 
00046                         "boolean" => "1", 
00047                         "case" => "1", 
00048                         "char" => "1", 
00049                         "const" => "1", 
00050                         "default" => "1", 
00051                         "double" => "1", 
00052                         "enum" => "1", 
00053                         "exception" => "1", 
00054                         "FALSE" => "1", 
00055                         "fixed" => "1", 
00056                         "float" => "1", 
00057                         "in" => "1", 
00058                         "inout" => "1", 
00059                         "long" => "1", 
00060                         "Object" => "1", 
00061                         "octet" => "1", 
00062                         "oneway" => "1", 
00063                         "out" => "1", 
00064                         "raises" => "1", 
00065                         "readonly" => "1", 
00066                         "sequence" => "1", 
00067                         "short" => "1", 
00068                         "string" => "1", 
00069                         "struct" => "1", 
00070                         "switch" => "1", 
00071                         "TRUE" => "1", 
00072                         "typedef" => "1", 
00073                         "unsigned" => "1", 
00074                         "union" => "1", 
00075                         "void" => "1", 
00076                         "wchar" => "1", 
00077                         "wstring" => "1", 
00078                         "attribute" => "2", 
00079                         "context" => "2", 
00080                         "interface" => "2", 
00081                         "module" => "2", 
00082                         "#define" => "3", 
00083                         "#error" => "3", 
00084                         "#include" => "3", 
00085                         "#elif" => "3", 
00086                         "#if" => "3", 
00087                         "#line" => "3", 
00088                         "#else" => "3", 
00089                         "#ifdef" => "3", 
00090                         "#pragma" => "3", 
00091                         "#endif" => "3", 
00092                         "#ifndef" => "3", 
00093                         "#undef" => "3", 
00094                         "#" => "3", 
00095                         "##" => "3", 
00096                         "!" => "3", 
00097                         "||" => "3", 
00098                         "&&" => "3", 
00099                         ";" => "4", 
00100                         "{" => "4", 
00101                         "}" => "4", 
00102                         ":" => "4", 
00103                         "," => "4", 
00104                         "=" => "4", 
00105                         "+" => "4", 
00106                         "-" => "4", 
00107                         "(" => "4", 
00108                         ")" => "4", 
00109                         "<" => "4", 
00110                         ">" => "4", 
00111                         "[" => "4", 
00112                         "]" => "4", 
00113                         "'" => "4", 
00114                         "\"" => "4", 
00115                         "\\" => "4", 
00116                         "^" => "4", 
00117                         "*" => "4", 
00118                         "/" => "4", 
00119                         "%" => "4", 
00120                         "~" => "4");
00121 
00122 // Special extensions
00123 
00124 // Each category can specify a PHP function that returns an altered
00125 // version of the keyword.
00126         
00127         
00128 
00129 $this->linkscripts      = array(
00130                         "1" => "donothing", 
00131                         "2" => "donothing", 
00132                         "3" => "donothing", 
00133                         "4" => "donothing");
00134 }
00135 
00136 
00137 function donothing($keywordin)
00138 {
00139         return $keywordin;
00140 }
00141 
00142 }?>

Generated on Fri Dec 13 2013 13:52:16 for ILIAS Release_3_7_x_branch .rev 46817 by  doxygen 1.7.1