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

syntax_highlight/php/HFile/HFile_jasmin.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_jasmin extends HFile{
00006    function HFile_jasmin(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // Jasmin
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                         "catch" => "1", 
00046                         "class" => "1", 
00047                         "end" => "1", 
00048                         "field" => "1", 
00049                         "implements" => "1", 
00050                         "interface" => "1", 
00051                         "limit" => "1", 
00052                         "line" => "1", 
00053                         "method" => "1", 
00054                         "source" => "1", 
00055                         "super" => "1", 
00056                         "throws" => "1", 
00057                         "var" => "1", 
00058                         "abstract" => "2", 
00059                         "default" => "2", 
00060                         "final" => "2", 
00061                         "from" => "2", 
00062                         "is" => "2", 
00063                         "lookupswitch" => "2", 
00064                         "native" => "2", 
00065                         "private" => "2", 
00066                         "protected" => "2", 
00067                         "public" => "2", 
00068                         "static" => "2", 
00069                         "synchronized" => "2", 
00070                         "tableswitch" => "2", 
00071                         "to" => "2", 
00072                         "transient" => "2", 
00073                         "using" => "2", 
00074                         "volatile" => "2", 
00075                         "aaload" => "3", 
00076                         "aastore" => "3", 
00077                         "aconst_null" => "3", 
00078                         "aload" => "3", 
00079                         "aload_0" => "3", 
00080                         "aload_1" => "3", 
00081                         "aload_2" => "3", 
00082                         "aload_3" => "3", 
00083                         "anewarray" => "3", 
00084                         "areturn" => "3", 
00085                         "arraylength" => "3", 
00086                         "astore" => "3", 
00087                         "astore_0" => "3", 
00088                         "astore_1" => "3", 
00089                         "astore_2" => "3", 
00090                         "astore_3" => "3", 
00091                         "athrow" => "3", 
00092                         "baload" => "3", 
00093                         "bastore" => "3", 
00094                         "bipush" => "3", 
00095                         "breakpoint" => "3", 
00096                         "caload" => "3", 
00097                         "castore" => "3", 
00098                         "checkcast" => "3", 
00099                         "d2f" => "3", 
00100                         "d2i" => "3", 
00101                         "d2l" => "3", 
00102                         "dadd" => "3", 
00103                         "daload" => "3", 
00104                         "dastore" => "3", 
00105                         "dcmpg" => "3", 
00106                         "dcmpl" => "3", 
00107                         "dconst_0" => "3", 
00108                         "dconst_1" => "3", 
00109                         "ddiv" => "3", 
00110                         "dead" => "3", 
00111                         "dload" => "3", 
00112                         "dload_0" => "3", 
00113                         "dload_1" => "3", 
00114                         "dload_2" => "3", 
00115                         "dload_3" => "3", 
00116                         "dmul" => "3", 
00117                         "dneg" => "3", 
00118                         "drem" => "3", 
00119                         "dreturn" => "3", 
00120                         "dstore" => "3", 
00121                         "dstore_0" => "3", 
00122                         "dstore_1" => "3", 
00123                         "dstore_2" => "3", 
00124                         "dstore_3" => "3", 
00125                         "dsub" => "3", 
00126                         "dup" => "3", 
00127                         "dup2" => "3", 
00128                         "dup2_x1" => "3", 
00129                         "dup2_x2" => "3", 
00130                         "dup_x1" => "3", 
00131                         "dup_x2" => "3", 
00132                         "f2d" => "3", 
00133                         "f2i" => "3", 
00134                         "f2l" => "3", 
00135                         "fadd" => "3", 
00136                         "faload" => "3", 
00137                         "fastore" => "3", 
00138                         "fcmpg" => "3", 
00139                         "fcmpl" => "3", 
00140                         "fconst_0" => "3", 
00141                         "fconst_1" => "3", 
00142                         "fconst_2" => "3", 
00143                         "fdiv" => "3", 
00144                         "fload" => "3", 
00145                         "fload_0" => "3", 
00146                         "fload_1" => "3", 
00147                         "fload_2" => "3", 
00148                         "fload_3" => "3", 
00149                         "fmul" => "3", 
00150                         "fneg" => "3", 
00151                         "frem" => "3", 
00152                         "freturn" => "3", 
00153                         "fstore" => "3", 
00154                         "fstore_0" => "3", 
00155                         "fstore_1" => "3", 
00156                         "fstore_2" => "3", 
00157                         "fstore_3" => "3", 
00158                         "fsub" => "3", 
00159                         "getfield" => "3", 
00160                         "getstatic" => "3", 
00161                         "goto" => "3", 
00162                         "goto_w" => "3", 
00163                         "i2b" => "3", 
00164                         "i2c" => "3", 
00165                         "i2d" => "3", 
00166                         "i2f" => "3", 
00167                         "i2l" => "3", 
00168                         "i2s" => "3", 
00169                         "iadd" => "3", 
00170                         "iaload" => "3", 
00171                         "iand" => "3", 
00172                         "iastore" => "3", 
00173                         "iconst_0" => "3", 
00174                         "iconst_1" => "3", 
00175                         "iconst_2" => "3", 
00176                         "iconst_3" => "3", 
00177                         "iconst_4" => "3", 
00178                         "iconst_5" => "3", 
00179                         "iconst_m1" => "3", 
00180                         "idiv" => "3", 
00181                         "if_acmpeq" => "3", 
00182                         "if_acmpne" => "3", 
00183                         "if_icmpeq" => "3", 
00184                         "if_icmpge" => "3", 
00185                         "if_icmpgt" => "3", 
00186                         "if_icmple" => "3", 
00187                         "if_icmplt" => "3", 
00188                         "if_icmpne" => "3", 
00189                         "ifeq" => "3", 
00190                         "ifge" => "3", 
00191                         "ifgt" => "3", 
00192                         "ifle" => "3", 
00193                         "iflt" => "3", 
00194                         "ifne" => "3", 
00195                         "ifnonnull" => "3", 
00196                         "ifnull" => "3", 
00197                         "iinc" => "3", 
00198                         "iload" => "3", 
00199                         "iload_0" => "3", 
00200                         "iload_1" => "3", 
00201                         "iload_2" => "3", 
00202                         "iload_3" => "3", 
00203                         "imul" => "3", 
00204                         "ineg" => "3", 
00205                         "instanceof" => "3", 
00206                         "int2byte" => "3", 
00207                         "int2char" => "3", 
00208                         "int2short" => "3", 
00209                         "invokeinterface" => "3", 
00210                         "invokenonvirtual" => "3", 
00211                         "invokespecial" => "3", 
00212                         "invokestatic" => "3", 
00213                         "invokevirtual" => "3", 
00214                         "ior" => "3", 
00215                         "irem" => "3", 
00216                         "ireturn" => "3", 
00217                         "ishl" => "3", 
00218                         "ishr" => "3", 
00219                         "istore" => "3", 
00220                         "istore_0" => "3", 
00221                         "istore_1" => "3", 
00222                         "istore_2" => "3", 
00223                         "istore_3" => "3", 
00224                         "isub" => "3", 
00225                         "iushr" => "3", 
00226                         "ixor" => "3", 
00227                         "jsr" => "3", 
00228                         "jsr_w" => "3", 
00229                         "l2d" => "3", 
00230                         "l2f" => "3", 
00231                         "l2i" => "3", 
00232                         "label" => "3", 
00233                         "ladd" => "3", 
00234                         "laload" => "3", 
00235                         "land" => "3", 
00236                         "lastore" => "3", 
00237                         "lcmp" => "3", 
00238                         "lconst_0" => "3", 
00239                         "lconst_1" => "3", 
00240                         "ldc" => "3", 
00241                         "ldc2_w" => "3", 
00242                         "ldc_w" => "3", 
00243                         "ldiv" => "3", 
00244                         "lload" => "3", 
00245                         "lload_0" => "3", 
00246                         "lload_1" => "3", 
00247                         "lload_2" => "3", 
00248                         "lload_3" => "3", 
00249                         "lmul" => "3", 
00250                         "lneg" => "3", 
00251                         "lor" => "3", 
00252                         "lrem" => "3", 
00253                         "lreturn" => "3", 
00254                         "lshl" => "3", 
00255                         "lshr" => "3", 
00256                         "lstore" => "3", 
00257                         "lstore_0" => "3", 
00258                         "lstore_1" => "3", 
00259                         "lstore_2" => "3", 
00260                         "lstore_3" => "3", 
00261                         "lsub" => "3", 
00262                         "lushr" => "3", 
00263                         "lxor" => "3", 
00264                         "monitorenter" => "3", 
00265                         "monitorexit" => "3", 
00266                         "multianewarray" => "3", 
00267                         "new" => "3", 
00268                         "newarray" => "3", 
00269                         "nop" => "3", 
00270                         "pop" => "3", 
00271                         "pop2" => "3", 
00272                         "putfield" => "3", 
00273                         "putstatic" => "3", 
00274                         "ret" => "3", 
00275                         "return" => "3", 
00276                         "saload" => "3", 
00277                         "sastore" => "3", 
00278                         "sipush" => "3", 
00279                         "swap" => "3", 
00280                         "try" => "3", 
00281                         "wide" => "3", 
00282                         "L;" => "4", 
00283                         "B" => "4", 
00284                         "C" => "4", 
00285                         "D" => "4", 
00286                         "F" => "4", 
00287                         "I" => "4", 
00288                         "J" => "4", 
00289                         "S" => "4", 
00290                         "V" => "4", 
00291                         "Z" => "4", 
00292                         "[" => "4");
00293 
00294 // Special extensions
00295 
00296 // Each category can specify a PHP function that returns an altered
00297 // version of the keyword.
00298         
00299         
00300 
00301 $this->linkscripts      = array(
00302                         "1" => "donothing", 
00303                         "2" => "donothing", 
00304                         "3" => "donothing", 
00305                         "4" => "donothing");
00306 }
00307 
00308 
00309 function donothing($keywordin)
00310 {
00311         return $keywordin;
00312 }
00313 
00314 }?>

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