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

syntax_highlight/php/HFile/HFile_batch.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_batch extends HFile{
00006    function HFile_batch(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // Batch Files
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", "blue");
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("rem");
00039 $this->blockcommenton           = array("");
00040 $this->blockcommentoff          = array("");
00041 
00042 // Keywords (keyword mapping to colour number)
00043 
00044 $this->keywords                 = array(
00045                         "do" => "1", 
00046                         "else" => "1", 
00047                         "end" => "1", 
00048                         "errorlevel" => "1", 
00049                         "exist" => "1", 
00050                         "exit" => "1", 
00051                         "for" => "1", 
00052                         "goto" => "1", 
00053                         "if" => "1", 
00054                         "not" => "1", 
00055                         "pause" => "1", 
00056                         "return" => "1", 
00057                         "say" => "1", 
00058                         "select" => "1", 
00059                         "then" => "1", 
00060                         "when" => "1", 
00061                         "ansi" => "2", 
00062                         "append" => "2", 
00063                         "assign" => "2", 
00064                         "attrib" => "2", 
00065                         "autofail" => "2", 
00066                         "backup" => "2", 
00067                         "basedev" => "2", 
00068                         "boot" => "2", 
00069                         "break" => "2", 
00070                         "buffers" => "2", 
00071                         "cache" => "2", 
00072                         "call" => "2", 
00073                         "cd" => "2", 
00074                         "chcp" => "2", 
00075                         "chdir" => "2", 
00076                         "chkdsk" => "2", 
00077                         "choice" => "2", 
00078                         "cls" => "2", 
00079                         "cmd" => "2", 
00080                         "codepage" => "2", 
00081                         "command" => "2", 
00082                         "comp" => "2", 
00083                         "copy" => "2", 
00084                         "country" => "2", 
00085                         "date" => "2", 
00086                         "ddinstal" => "2", 
00087                         "debug" => "2", 
00088                         "del" => "2", 
00089                         "detach" => "2", 
00090                         "device" => "2", 
00091                         "devicehigh" => "2", 
00092                         "devinfo" => "2", 
00093                         "dir" => "2", 
00094                         "diskcoache" => "2", 
00095                         "diskcomp" => "2", 
00096                         "diskcopy" => "2", 
00097                         "doskey" => "2", 
00098                         "dpath" => "2", 
00099                         "dumpprocess" => "2", 
00100                         "eautil" => "2", 
00101                         "endlocal" => "2", 
00102                         "erase" => "2", 
00103                         "exit_vdm" => "2", 
00104                         "extproc" => "2", 
00105                         "fcbs" => "2", 
00106                         "fdisk" => "2", 
00107                         "fdiskpm" => "2", 
00108                         "files" => "2", 
00109                         "find" => "2", 
00110                         "format" => "2", 
00111                         "fsaccess" => "2", 
00112                         "fsfilter" => "2", 
00113                         "graftabl" => "2", 
00114                         "iopl" => "2", 
00115                         "join" => "2", 
00116                         "keyb" => "2", 
00117                         "keys" => "2", 
00118                         "label" => "2", 
00119                         "lastdrive" => "2", 
00120                         "libpath" => "2", 
00121                         "lh" => "2", 
00122                         "loadhigh" => "2", 
00123                         "makeini" => "2", 
00124                         "maxwait" => "2", 
00125                         "md" => "2", 
00126                         "mem" => "2", 
00127                         "memman" => "2", 
00128                         "mkdir" => "2", 
00129                         "mode" => "2", 
00130                         "move" => "2", 
00131                         "net" => "2", 
00132                         "patch" => "2", 
00133                         "path" => "2", 
00134                         "pauseonerror" => "2", 
00135                         "picview" => "2", 
00136                         "pmrexx" => "2", 
00137                         "print" => "2", 
00138                         "printmonbufsize" => "2", 
00139                         "priority" => "2", 
00140                         "priority_disk_io" => "2", 
00141                         "prompt" => "2", 
00142                         "protectonly" => "2", 
00143                         "protshell" => "2", 
00144                         "pstat" => "2", 
00145                         "rd" => "2", 
00146                         "recover" => "2", 
00147                         "reipl" => "2", 
00148                         "ren" => "2", 
00149                         "rename" => "2", 
00150                         "replace" => "2", 
00151                         "restore" => "2", 
00152                         "rmdir" => "2", 
00153                         "rmsize" => "2", 
00154                         "run" => "2", 
00155                         "set" => "2", 
00156                         "setboot" => "2", 
00157                         "setlocal" => "2", 
00158                         "shell" => "2", 
00159                         "shift" => "2", 
00160                         "sort" => "2", 
00161                         "spool" => "2", 
00162                         "start" => "2", 
00163                         "subst" => "2", 
00164                         "suppresspopups" => "2", 
00165                         "swappath" => "2", 
00166                         "syslevel" => "2", 
00167                         "syslog" => "2", 
00168                         "threads" => "2", 
00169                         "time" => "2", 
00170                         "timeslice" => "2", 
00171                         "trace" => "2", 
00172                         "tracebuf" => "2", 
00173                         "tracefmt" => "2", 
00174                         "trapdump" => "2", 
00175                         "tree" => "2", 
00176                         "type" => "2", 
00177                         "undelete" => "2", 
00178                         "unpack" => "2", 
00179                         "use" => "2", 
00180                         "ver" => "2", 
00181                         "verify" => "2", 
00182                         "view" => "2", 
00183                         "vmdisk" => "2", 
00184                         "vol" => "2", 
00185                         "xcopy" => "2", 
00186                         "xcopy32" => "2", 
00187                         "xdfcopy" => "2", 
00188                         "@echo" => "3", 
00189                         "echo" => "3", 
00190                         "off" => "3", 
00191                         "on" => "3", 
00192                         ";" => "4", 
00193                         "#" => "5", 
00194                         "$" => "5", 
00195                         "(" => "5", 
00196                         ")" => "5", 
00197                         "+" => "5", 
00198                         "," => "5", 
00199                         "." => "5", 
00200                         "//" => "5", 
00201                         "/" => "5", 
00202                         ":" => "5", 
00203                         "<" => "5", 
00204                         "=" => "5", 
00205                         ">" => "5", 
00206                         "\\" => "5");
00207 
00208 // Special extensions
00209 
00210 // Each category can specify a PHP function that returns an altered
00211 // version of the keyword.
00212         
00213         
00214 
00215 $this->linkscripts      = array(
00216                         "1" => "donothing", 
00217                         "2" => "donothing", 
00218                         "3" => "donothing", 
00219                         "4" => "donothing", 
00220                         "5" => "donothing");
00221 }
00222 
00223 
00224 function donothing($keywordin)
00225 {
00226         return $keywordin;
00227 }
00228 
00229 }?>

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