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

syntax_highlight/php/HFile/HFile_dbc.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_dbc extends HFile{
00006    function HFile_dbc(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // DB/C
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", "brown", "purple");
00021 $this->quotecolour              = "blue";
00022 $this->blockcommentcolour       = "green";
00023 $this->linecommentcolour        = "green";
00024 
00025 // Indent Strings
00026 
00027 $this->indent                   = array("Then");
00028 $this->unindent                 = array("End", "Next", "End If", "End Select");
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                         "Abs" => "1", 
00046                         "Add" => "1", 
00047                         "Aimdex" => "1", 
00048                         "Append" => "1", 
00049                         "Arccos" => "1", 
00050                         "Arcsin" => "1", 
00051                         "Arctan" => "1", 
00052                         "Beep" => "1", 
00053                         "Build" => "1", 
00054                         "Bump" => "1", 
00055                         "Change" => "1", 
00056                         "Charrestore" => "1", 
00057                         "Charsave" => "1", 
00058                         "Check10" => "1", 
00059                         "Check11" => "1", 
00060                         "Chop" => "1", 
00061                         "Clear" => "1", 
00062                         "Clearadr" => "1", 
00063                         "Clearendkey" => "1", 
00064                         "Clearlabel" => "1", 
00065                         "Clock" => "1", 
00066                         "Close" => "1", 
00067                         "Closeall" => "1", 
00068                         "Cmatch" => "1", 
00069                         "Cmove" => "1", 
00070                         "Comclose" => "1", 
00071                         "Comclr" => "1", 
00072                         "Comctl" => "1", 
00073                         "Comopen" => "1", 
00074                         "Compare" => "1", 
00075                         "Compareadr" => "1", 
00076                         "Comtst" => "1", 
00077                         "Comwait" => "1", 
00078                         "Console" => "1", 
00079                         "Copy" => "1", 
00080                         "Cos" => "1", 
00081                         "Count" => "1", 
00082                         "Create" => "1", 
00083                         "Debug" => "1", 
00084                         "Default" => "1", 
00085                         "Delete" => "1", 
00086                         "Deletek" => "1", 
00087                         "Destroy" => "1", 
00088                         "Disable" => "1", 
00089                         "Display" => "1", 
00090                         "Divide" => "1", 
00091                         "Draw" => "1", 
00092                         "Edit" => "1", 
00093                         "Empty" => "1", 
00094                         "Enable" => "1", 
00095                         "Encode" => "1", 
00096                         "Endroutine" => "1", 
00097                         "Endset" => "1", 
00098                         "Erase" => "1", 
00099                         "Execute" => "1", 
00100                         "Exist" => "1", 
00101                         "Exp" => "1", 
00102                         "Extend" => "1", 
00103                         "Filepi" => "1", 
00104                         "Fill" => "1", 
00105                         "Flagrestore" => "1", 
00106                         "Flagsave" => "1", 
00107                         "Flusheof" => "1", 
00108                         "Format" => "1", 
00109                         "Fposit" => "1", 
00110                         "Get" => "1", 
00111                         "Getcolor" => "1", 
00112                         "Getcursor" => "1", 
00113                         "Getendkey" => "1", 
00114                         "Getglobal" => "1", 
00115                         "GetLabel" => "1", 
00116                         "Getmodules" => "1", 
00117                         "Getname" => "1", 
00118                         "Getparm" => "1", 
00119                         "Getpostion" => "1", 
00120                         "Getwindow" => "1", 
00121                         "Hide" => "1", 
00122                         "Index" => "1", 
00123                         "Insert" => "1", 
00124                         "Keyin" => "1", 
00125                         "Label" => "1", 
00126                         "Lcmove" => "1", 
00127                         "Lenset" => "1", 
00128                         "Link" => "1", 
00129                         "List" => "1", 
00130                         "Listend" => "1", 
00131                         "Load" => "1", 
00132                         "Loadadr" => "1", 
00133                         "Loadlabel" => "1", 
00134                         "Loadmod" => "1", 
00135                         "Loadparm" => "1", 
00136                         "Log" => "1", 
00137                         "Log10" => "1", 
00138                         "Lroutine" => "1", 
00139                         "Make" => "1", 
00140                         "Makeglobal" => "1", 
00141                         "Makevar" => "1", 
00142                         "Match" => "1", 
00143                         "Mod" => "1", 
00144                         "Move" => "1", 
00145                         "Moveadr" => "1", 
00146                         "Movefptr" => "1", 
00147                         "Movelength" => "1", 
00148                         "Movelptr" => "1", 
00149                         "Movesize" => "1", 
00150                         "Moveevl" => "1", 
00151                         "Mult" => "1", 
00152                         "Multiply" => "1", 
00153                         "Nformat" => "1", 
00154                         "Noeject" => "1", 
00155                         "Noreturn" => "1", 
00156                         "Open" => "1", 
00157                         "Pack" => "1", 
00158                         "Pause" => "1", 
00159                         "Perform" => "1", 
00160                         "Ploadmod" => "1", 
00161                         "Popreturn" => "1", 
00162                         "Power" => "1", 
00163                         "Prep" => "1", 
00164                         "Prepare" => "1", 
00165                         "Print" => "1", 
00166                         "Pushreturn" => "1", 
00167                         "Put" => "1", 
00168                         "Putfirst" => "1", 
00169                         "Query" => "1", 
00170                         "Read" => "1", 
00171                         "Readgplk" => "1", 
00172                         "Readkg" => "1", 
00173                         "Readglk" => "1", 
00174                         "Readkgp" => "1", 
00175                         "Readkp" => "1", 
00176                         "Readkplk" => "1", 
00177                         "Readks" => "1", 
00178                         "Readkslk" => "1", 
00179                         "Readlk" => "1", 
00180                         "Recv" => "1", 
00181                         "Recvclr" => "1", 
00182                         "Reformat" => "1", 
00183                         "Release" => "1", 
00184                         "Rename" => "1", 
00185                         "Replace" => "1", 
00186                         "Reposit" => "1", 
00187                         "Reset" => "1", 
00188                         "Resetparm" => "1", 
00189                         "Restore" => "1", 
00190                         "Retcount" => "1", 
00191                         "Rollout" => "1", 
00192                         "Routine" => "1", 
00193                         "Save" => "1", 
00194                         "Scan" => "1", 
00195                         "Scrnrestore" => "1", 
00196                         "Scrnsave" => "1", 
00197                         "Scrnsize" => "1", 
00198                         "Search" => "1", 
00199                         "Send" => "1", 
00200                         "Sendclr" => "1", 
00201                         "Set" => "1", 
00202                         "Setendkey" => "1", 
00203                         "Setflag" => "1", 
00204                         "Setlptr" => "1", 
00205                         "Setnull" => "1", 
00206                         "Sformat" => "1", 
00207                         "Show" => "1", 
00208                         "Shutdown" => "1", 
00209                         "Sin" => "1", 
00210                         "Sort" => "1", 
00211                         "Sound" => "1", 
00212                         "Splclose" => "1", 
00213                         "Splopen" => "1", 
00214                         "Splopt" => "1", 
00215                         "Splcode" => "1", 
00216                         "Splexec" => "1", 
00217                         "Sqlmsg" => "1", 
00218                         "Sqrt" => "1", 
00219                         "Squeeze" => "1", 
00220                         "Staterestore" => "1", 
00221                         "Statesave" => "1", 
00222                         "Statesize" => "1", 
00223                         "Store" => "1", 
00224                         "Storeadr" => "1", 
00225                         "Storelabel" => "1", 
00226                         "Sub" => "1", 
00227                         "Subtract" => "1", 
00228                         "Tabpage" => "1", 
00229                         "Tan" => "1", 
00230                         "Test" => "1", 
00231                         "Testadr" => "1", 
00232                         "Testlabel" => "1", 
00233                         "Trapclr" => "1", 
00234                         "Traprestore" => "1", 
00235                         "Trapsave" => "1", 
00236                         "Trapsize" => "1", 
00237                         "Type" => "1", 
00238                         "Unlink" => "1", 
00239                         "Unload" => "1", 
00240                         "Unlock" => "1", 
00241                         "Unpack" => "1", 
00242                         "Unpacklist" => "1", 
00243                         "Updatab" => "1", 
00244                         "Update" => "1", 
00245                         "Wait" => "1", 
00246                         "Weof" => "1", 
00247                         "Winrest" => "1", 
00248                         "Winrestore" => "1", 
00249                         "Winsave" => "1", 
00250                         "Winsize" => "1", 
00251                         "Write" => "1", 
00252                         "Writeab" => "1", 
00253                         "Xor" => "1", 
00254                         "@" => "1", 
00255                         "Break" => "2", 
00256                         "Branch" => "2", 
00257                         "Call" => "2", 
00258                         "Case" => "2", 
00259                         "CCall" => "2", 
00260                         "Chain" => "2", 
00261                         "Continue" => "2", 
00262                         "Else" => "2", 
00263                         "Endif" => "2", 
00264                         "Endswitch" => "2", 
00265                         "External" => "2", 
00266                         "For" => "2", 
00267                         "Goto" => "2", 
00268                         "If" => "2", 
00269                         "IFNDEF" => "2", 
00270                         "Inc" => "2", 
00271                         "Loop" => "2", 
00272                         "Movelabel" => "2", 
00273                         "Movelv" => "2", 
00274                         "Movevl" => "2", 
00275                         "Return" => "2", 
00276                         "Repeat" => "2", 
00277                         "Stop" => "2", 
00278                         "Switch" => "2", 
00279                         "Trap" => "2", 
00280                         "Until" => "2", 
00281                         "While" => "2", 
00282                         "\"" => "4", 
00283                         "Binary" => "4", 
00284                         "Cobol" => "4", 
00285                         "Colorbits" => "4", 
00286                         "Comp" => "4", 
00287                         "Compressed" => "4", 
00288                         "Data" => "4", 
00289                         "Dup" => "4", 
00290                         "Duplicates" => "4", 
00291                         "Dynamic" => "4", 
00292                         "Entries" => "4", 
00293                         "Fix" => "4", 
00294                         "Fixed" => "4", 
00295                         "H" => "4", 
00296                         "Increment" => "4", 
00297                         "Initial" => "4", 
00298                         "KeyLen" => "4", 
00299                         "Keylength" => "4", 
00300                         "Native" => "4", 
00301                         "NoDup" => "4", 
00302                         "NoDuplicates" => "4", 
00303                         "Overlap" => "4", 
00304                         "Parent" => "4", 
00305                         "Size" => "4", 
00306                         "Standard" => "4", 
00307                         "Static" => "4", 
00308                         "Text" => "4", 
00309                         "Transient" => "4", 
00310                         "UnComp" => "4", 
00311                         "UnCompressed" => "4", 
00312                         "V" => "4", 
00313                         "Var" => "4", 
00314                         "Variable" => "4", 
00315                         "AFile" => "6", 
00316                         "And" => "6", 
00317                         "BKSPC" => "6", 
00318                         "BKTAB" => "6", 
00319                         "By" => "6", 
00320                         "Char" => "6", 
00321                         "Character" => "6", 
00322                         "Class" => "6", 
00323                         "ComFile" => "6", 
00324                         "Cverb" => "6", 
00325                         "Date" => "6", 
00326                         "Definition" => "6", 
00327                         "Device" => "6", 
00328                         "Dim" => "6", 
00329                         "DOWN" => "6", 
00330                         "DEFINE" => "6", 
00331                         "END" => "6", 
00332                         "Endcalss" => "6", 
00333                         "EOS" => "6", 
00334                         "Equal" => "6", 
00335                         "Equ" => "6", 
00336                         "Equate" => "6", 
00337                         "ESC" => "6", 
00338                         "File" => "6", 
00339                         "Float" => "6", 
00340                         "Form" => "6", 
00341                         "From" => "6", 
00342                         "Gchar" => "6", 
00343                         "Giving" => "6", 
00344                         "Gnumber" => "6", 
00345                         "Ginteger" => "6", 
00346                         "Gfloat" => "6", 
00347                         "Gobject" => "6", 
00348                         "GDevice" => "6", 
00349                         "Greater" => "6", 
00350                         "Gresource" => "6", 
00351                         "Gimage" => "6", 
00352                         "Gqueue" => "6", 
00353                         "Gpfile" => "6", 
00354                         "GNum" => "6", 
00355                         "GForm" => "6", 
00356                         "GCharacter" => "6", 
00357                         "GDim" => "6", 
00358                         "HOME" => "6", 
00359                         "IFile" => "6", 
00360                         "Image" => "6", 
00361                         "In" => "6", 
00362                         "Into" => "6", 
00363                         "Init" => "6", 
00364                         "Integer" => "6", 
00365                         "Int" => "6", 
00366                         "LEFT" => "6", 
00367                         "Less" => "6", 
00368                         "Like" => "6", 
00369                         "Method" => "6", 
00370                         "Module" => "6", 
00371                         "Names" => "6", 
00372                         "Nocase" => "6", 
00373                         "Noreset" => "6", 
00374                         "Not" => "6", 
00375                         "Num" => "6", 
00376                         "Number" => "6", 
00377                         "Object" => "6", 
00378                         "Over" => "6", 
00379                         "Or" => "6", 
00380                         "PFile" => "6", 
00381                         "Prior" => "6", 
00382                         "Queue" => "6", 
00383                         "Record" => "6", 
00384                         "Recordend" => "6", 
00385                         "Resource" => "6", 
00386                         "RIGHT" => "6", 
00387                         "TAB" => "6", 
00388                         "Time" => "6", 
00389                         "To" => "6", 
00390                         "Timestamp" => "6", 
00391                         "UP" => "6", 
00392                         "Using" => "6", 
00393                         "Varlist" => "6", 
00394                         "Verb" => "6", 
00395                         "With" => "6", 
00396                         "+" => "6", 
00397                         "-" => "6", 
00398                         "=" => "6", 
00399                         "//" => "6", 
00400                         "/" => "6", 
00401                         "%" => "6", 
00402                         "&" => "6", 
00403                         ">" => "6", 
00404                         "<" => "6", 
00405                         "^" => "6", 
00406                         "!" => "6", 
00407                         "|" => "6", 
00408                         "(" => "6", 
00409                         ")" => "6");
00410 
00411 // Special extensions
00412 
00413 // Each category can specify a PHP function that returns an altered
00414 // version of the keyword.
00415         
00416         
00417 
00418 $this->linkscripts      = array(
00419                         "1" => "donothing", 
00420                         "2" => "donothing", 
00421                         "4" => "donothing", 
00422                         "6" => "donothing");
00423 }
00424 
00425 
00426 function donothing($keywordin)
00427 {
00428         return $keywordin;
00429 }
00430 
00431 }?>

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