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

syntax_highlight/php/HFile/HFile_rmanshader.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_rmanshader extends HFile{
00006    function HFile_rmanshader(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // Rman Shader
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", "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                         "__asm" => "1", 
00046                         "__based" => "1", 
00047                         "__cdecl" => "1", 
00048                         "__export" => "1", 
00049                         "__far" => "1", 
00050                         "__fastcall" => "1", 
00051                         "__fortran" => "1", 
00052                         "__huge" => "1", 
00053                         "__inline" => "1", 
00054                         "__interrupt" => "1", 
00055                         "__loadds" => "1", 
00056                         "__near" => "1", 
00057                         "__pascal" => "1", 
00058                         "__saveregs" => "1", 
00059                         "__segment" => "1", 
00060                         "__segname" => "1", 
00061                         "__self" => "1", 
00062                         "#define" => "1", 
00063                         "#elif" => "1", 
00064                         "#else" => "1", 
00065                         "#endif" => "1", 
00066                         "#error" => "1", 
00067                         "#if" => "1", 
00068                         "#ifdef" => "1", 
00069                         "#ifndef" => "1", 
00070                         "#include" => "1", 
00071                         "#line" => "1", 
00072                         "#pragma" => "1", 
00073                         "#undef" => "1", 
00074                         "auto" => "1", 
00075                         "break" => "1", 
00076                         "case" => "1", 
00077                         "char" => "1", 
00078                         "color" => "1", 
00079                         "const" => "1", 
00080                         "continue" => "1", 
00081                         "default" => "1", 
00082                         "do" => "1", 
00083                         "double" => "1", 
00084                         "else" => "1", 
00085                         "enum" => "1", 
00086                         "extern" => "1", 
00087                         "float" => "1", 
00088                         "for" => "1", 
00089                         "goto" => "1", 
00090                         "if" => "1", 
00091                         "int" => "1", 
00092                         "long" => "1", 
00093                         "normal" => "1", 
00094                         "point" => "1", 
00095                         "register" => "1", 
00096                         "return" => "1", 
00097                         "short" => "1", 
00098                         "signed" => "1", 
00099                         "sizeof" => "1", 
00100                         "static" => "1", 
00101                         "struct" => "1", 
00102                         "switch" => "1", 
00103                         "typedef" => "1", 
00104                         "uniform" => "1", 
00105                         "union" => "1", 
00106                         "unsigned" => "1", 
00107                         "varying" => "1", 
00108                         "void" => "1", 
00109                         "volatile" => "1", 
00110                         "while" => "1", 
00111                         "Ci" => "2", 
00112                         "Cl" => "2", 
00113                         "Cs" => "2", 
00114                         "E" => "2", 
00115                         "I" => "2", 
00116                         "L" => "2", 
00117                         "N" => "2", 
00118                         "Ng" => "2", 
00119                         "Oi" => "2", 
00120                         "Ol" => "2", 
00121                         "Os" => "2", 
00122                         "P" => "2", 
00123                         "alpha" => "2", 
00124                         "class" => "2", 
00125                         "dPdu" => "2", 
00126                         "dPdv" => "2", 
00127                         "delete" => "2", 
00128                         "displacement" => "2", 
00129                         "du" => "2", 
00130                         "dv" => "2", 
00131                         "friend" => "2", 
00132                         "imager" => "2", 
00133                         "inline" => "2", 
00134                         "light" => "2", 
00135                         "ncomps" => "2", 
00136                         "new" => "2", 
00137                         "null" => "2", 
00138                         "operator" => "2", 
00139                         "printf" => "2", 
00140                         "private" => "2", 
00141                         "protected" => "2", 
00142                         "public" => "2", 
00143                         "s" => "2", 
00144                         "surface" => "2", 
00145                         "t" => "2", 
00146                         "this" => "2", 
00147                         "time" => "2", 
00148                         "transformation" => "2", 
00149                         "try" => "2", 
00150                         "u" => "2", 
00151                         "v" => "2", 
00152                         "version" => "2", 
00153                         "virtual" => "2", 
00154                         "volume" => "2", 
00155                         "__multiple_inheritance" => "2", 
00156                         "__single_inheritance" => "2", 
00157                         "__virtual_inheritance" => "2", 
00158                         "Du" => "3", 
00159                         "Dv" => "3", 
00160                         "abs" => "3", 
00161                         "acos" => "3", 
00162                         "asin" => "3", 
00163                         "atan" => "3", 
00164                         "ceil" => "3", 
00165                         "clamp" => "3", 
00166                         "cos" => "3", 
00167                         "degrees" => "3", 
00168                         "exp" => "3", 
00169                         "filteredpulse" => "3", 
00170                         "filteredpulsetrain" => "3", 
00171                         "floor" => "3", 
00172                         "max" => "3", 
00173                         "min" => "3", 
00174                         "mod" => "3", 
00175                         "noise" => "3", 
00176                         "pow" => "3", 
00177                         "pulse" => "3", 
00178                         "pulsetrain" => "3", 
00179                         "random" => "3", 
00180                         "round" => "3", 
00181                         "sign" => "3", 
00182                         "sin" => "3", 
00183                         "smoothstep" => "3", 
00184                         "snoise" => "3", 
00185                         "snoisexy" => "3", 
00186                         "sqr" => "3", 
00187                         "sqrt" => "3", 
00188                         "step" => "3", 
00189                         "tan" => "3", 
00190                         "vsnoise" => "3", 
00191                         "area" => "4", 
00192                         "calculatenormal" => "4", 
00193                         "depth" => "4", 
00194                         "distance" => "4", 
00195                         "faceforward" => "4", 
00196                         "fresnel" => "4", 
00197                         "length" => "4", 
00198                         "normalize" => "4", 
00199                         "reflect" => "4", 
00200                         "refract" => "4", 
00201                         "setxcomp" => "4", 
00202                         "setzcomp" => "4", 
00203                         "transform" => "4", 
00204                         "ycomp" => "4", 
00205                         "comp" => "5", 
00206                         "mix" => "5", 
00207                         "setcomp" => "5", 
00208                         "ambient" => "6", 
00209                         "phong" => "6", 
00210                         "specular" => "6", 
00211                         "trace" => "6", 
00212                         "bump" => "7", 
00213                         "environment" => "7", 
00214                         "shadow" => "7", 
00215                         "texture" => "7", 
00216                         "incident" => "8", 
00217                         "opposite" => "8");
00218 
00219 // Special extensions
00220 
00221 // Each category can specify a PHP function that returns an altered
00222 // version of the keyword.
00223         
00224         
00225 
00226 $this->linkscripts      = array(
00227                         "1" => "donothing", 
00228                         "2" => "donothing", 
00229                         "3" => "donothing", 
00230                         "4" => "donothing", 
00231                         "5" => "donothing", 
00232                         "6" => "donothing", 
00233                         "7" => "donothing", 
00234                         "8" => "donothing");
00235 }
00236 
00237 
00238 function donothing($keywordin)
00239 {
00240         return $keywordin;
00241 }
00242 
00243 }?>

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