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

syntax_highlight/php/HFile/HFile_sqr.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_sqr extends HFile{
00006    function HFile_sqr(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // SQR
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("!");
00039 $this->blockcommenton           = array("!");
00040 $this->blockcommentoff          = array("!");
00041 
00042 // Keywords (keyword mapping to colour number)
00043 
00044 $this->keywords                 = array(
00045                         "begin-footing" => "1", 
00046                         "begin-heading" => "1", 
00047                         "begin-procedure" => "1", 
00048                         "begin-program" => "1", 
00049                         "begin-report" => "1", 
00050                         "begin-setup" => "1", 
00051                         "end-footing" => "1", 
00052                         "end-heading" => "1", 
00053                         "end-procedure" => "1", 
00054                         "end-program" => "1", 
00055                         "end-report" => "1", 
00056                         "end-setup" => "1", 
00057                         "Input" => "1", 
00058                         "alter-printer" => "2", 
00059                         "begin-document" => "2", 
00060                         "begin-select" => "2", 
00061                         "begin-sql" => "2", 
00062                         "declare-chart" => "2", 
00063                         "declare-image" => "2", 
00064                         "declare-layout" => "2", 
00065                         "declare-printer" => "2", 
00066                         "declare-procedure" => "2", 
00067                         "declare-report" => "2", 
00068                         "end-declare" => "2", 
00069                         "end-document" => "2", 
00070                         "end-select" => "2", 
00071                         "end-sql" => "2", 
00072                         "load-lookup" => "2", 
00073                         "#debug" => "3", 
00074                         "#define" => "3", 
00075                         "#else" => "3", 
00076                         "#end-if" => "3", 
00077                         "#endif" => "3", 
00078                         "#if" => "3", 
00079                         "#ifdef" => "3", 
00080                         "#ifndef" => "3", 
00081                         "#include" => "3", 
00082                         "add" => "4", 
00083                         "array-add" => "4", 
00084                         "array-divide" => "4", 
00085                         "array-multiply" => "4", 
00086                         "array-subtract" => "4", 
00087                         "ask" => "4", 
00088                         "break" => "4", 
00089                         "call" => "4", 
00090                         "clear-array" => "4", 
00091                         "close" => "4", 
00092                         "columns" => "4", 
00093                         "commit" => "4", 
00094                         "concat" => "4", 
00095                         "connect" => "4", 
00096                         "create-array" => "4", 
00097                         "date-time" => "4", 
00098                         "display" => "4", 
00099                         "divide" => "4", 
00100                         "do" => "4", 
00101                         "dollar-symbol" => "4", 
00102                         "else" => "4", 
00103                         "encode" => "4", 
00104                         "end-evaluate" => "4", 
00105                         "end-if" => "4", 
00106                         "end-while" => "4", 
00107                         "evaluate" => "4", 
00108                         "execute" => "4", 
00109                         "extract" => "4", 
00110                         "find" => "4", 
00111                         "font" => "4", 
00112                         "get" => "4", 
00113                         "goto" => "4", 
00114                         "graphic" => "4", 
00115                         "if" => "4", 
00116                         "last-page" => "4", 
00117                         "let" => "4", 
00118                         "lookup" => "4", 
00119                         "lowercase" => "4", 
00120                         "money-symbol" => "4", 
00121                         "move" => "4", 
00122                         "multiply" => "4", 
00123                         "new-page" => "4", 
00124                         "new-report" => "4", 
00125                         "next-column" => "4", 
00126                         "next-listing" => "4", 
00127                         "no-formfeed" => "4", 
00128                         "open" => "4", 
00129                         "page-number" => "4", 
00130                         "page-size" => "4", 
00131                         "position" => "4", 
00132                         "print" => "4", 
00133                         "print-bar-code" => "4", 
00134                         "print-chart" => "4", 
00135                         "print-direct" => "4", 
00136                         "print-image" => "4", 
00137                         "printer-deinit" => "4", 
00138                         "printer-init" => "4", 
00139                         "put" => "4", 
00140                         "read" => "4", 
00141                         "rollback" => "4", 
00142                         "show" => "4", 
00143                         "stop" => "4", 
00144                         "string" => "4", 
00145                         "subtract" => "4", 
00146                         "unstring" => "4", 
00147                         "uppercase" => "4", 
00148                         "use" => "4", 
00149                         "use-column" => "4", 
00150                         "use-printer-type" => "4", 
00151                         "use-procedure" => "4", 
00152                         "use-report" => "4", 
00153                         "while" => "4", 
00154                         "write" => "4", 
00155                         "#current-column" => "5", 
00156                         "#current-line" => "5", 
00157                         "#end-file" => "5", 
00158                         "#page-count" => "5", 
00159                         "#return-status" => "5", 
00160                         "#sql-count" => "5", 
00161                         "#sql-status" => "5", 
00162                         "#sqr-pid" => "5", 
00163                         "$sql-error" => "5", 
00164                         "$sqr-database" => "5", 
00165                         "$sqr-platform" => "5", 
00166                         "$sqr-program" => "5", 
00167                         "$sqr-report" => "5", 
00168                         "$sqr-ver" => "5", 
00169                         "$username" => "5", 
00170                         "3d-effects" => "5", 
00171                         "abs" => "5", 
00172                         "acos" => "5", 
00173                         "after-bold" => "5", 
00174                         "after-page" => "5", 
00175                         "after-report" => "5", 
00176                         "and" => "5", 
00177                         "array" => "5", 
00178                         "as" => "5", 
00179                         "ascii" => "5", 
00180                         "asin" => "5", 
00181                         "at-end" => "5", 
00182                         "atan" => "5", 
00183                         "beep" => "5", 
00184                         "before-bold" => "5", 
00185                         "before-page" => "5", 
00186                         "before-report" => "5", 
00187                         "blink" => "5", 
00188                         "bold" => "5", 
00189                         "bottom-margin" => "5", 
00190                         "box" => "5", 
00191                         "by" => "5", 
00192                         "ceil" => "5", 
00193                         "center" => "5", 
00194                         "char" => "5", 
00195                         "char-size" => "5", 
00196                         "char-width" => "5", 
00197                         "chars-inch" => "5", 
00198                         "chart-size" => "5", 
00199                         "cl" => "5", 
00200                         "clear-line" => "5", 
00201                         "clear-screen" => "5", 
00202                         "cond" => "5", 
00203                         "cos" => "5", 
00204                         "cosh" => "5", 
00205                         "cs" => "5", 
00206                         "date" => "5", 
00207                         "deg" => "5", 
00208                         "delete" => "5", 
00209                         "distinct" => "5", 
00210                         "e10" => "5", 
00211                         "edit" => "5", 
00212                         "erase-page" => "5", 
00213                         "exists" => "5", 
00214                         "exp" => "5", 
00215                         "extent" => "5", 
00216                         "field" => "5", 
00217                         "fill" => "5", 
00218                         "fixed" => "5", 
00219                         "fixed_nolf" => "5", 
00220                         "floor" => "5", 
00221                         "font-type" => "5", 
00222                         "for-append" => "5", 
00223                         "for-reading" => "5", 
00224                         "for-reports" => "5", 
00225                         "for-writing" => "5", 
00226                         "formfeed" => "5", 
00227                         "from" => "5", 
00228                         "getenv" => "5", 
00229                         "goto-top" => "5", 
00230                         "group" => "5", 
00231                         "having" => "5", 
00232                         "horz-line" => "5", 
00233                         "image-size" => "5", 
00234                         "in" => "5", 
00235                         "insert" => "5", 
00236                         "instr" => "5", 
00237                         "integer" => "5", 
00238                         "into" => "5", 
00239                         "isblank" => "5", 
00240                         "isnull" => "5", 
00241                         "is" => "5", 
00242                         "key" => "5", 
00243                         "layout" => "5", 
00244                         "left-margin" => "5", 
00245                         "legend" => "5", 
00246                         "legend-placement" => "5", 
00247                         "legend-presentation" => "5", 
00248                         "legend-title" => "5", 
00249                         "length" => "5", 
00250                         "line-height" => "5", 
00251                         "line-size" => "5", 
00252                         "line-width" => "5", 
00253                         "lines-inch" => "5", 
00254                         "local" => "5", 
00255                         "log10" => "5", 
00256                         "loops" => "5", 
00257                         "lower" => "5", 
00258                         "lpad" => "5", 
00259                         "ltrim" => "5", 
00260                         "max-columns" => "5", 
00261                         "max-lines" => "5", 
00262                         "maxlen" => "5", 
00263                         "mod" => "5", 
00264                         "name" => "5", 
00265                         "need" => "5", 
00266                         "newline" => "5", 
00267                         "newpage" => "5", 
00268                         "no-advance" => "5", 
00269                         "noprompt" => "5", 
00270                         "normal" => "5", 
00271                         "not" => "5", 
00272                         "number" => "5", 
00273                         "nvl" => "5", 
00274                         "null" => "5", 
00275                         "on-error" => "5", 
00276                         "or" => "5", 
00277                         "order" => "5", 
00278                         "orientation" => "5", 
00279                         "page-depth" => "5", 
00280                         "paper-size" => "5", 
00281                         "pie-segment-explode" => "5", 
00282                         "pie-segment-percent-display" => "5", 
00283                         "pie-segment-quantity-display" => "5", 
00284                         "pitch" => "5", 
00285                         "point-markers" => "5", 
00286                         "point-size" => "5", 
00287                         "power" => "5", 
00288                         "printer-type" => "5", 
00289                         "quiet" => "5", 
00290                         "rad" => "5", 
00291                         "range" => "5", 
00292                         "record" => "5", 
00293                         "rename" => "5", 
00294                         "return_value" => "5", 
00295                         "reverse" => "5", 
00296                         "right-margin" => "5", 
00297                         "round" => "5", 
00298                         "rows" => "5", 
00299                         "rpad" => "5", 
00300                         "rtrim" => "5", 
00301                         "select" => "5", 
00302                         "sign" => "5", 
00303                         "sin" => "5", 
00304                         "sinh" => "5", 
00305                         "size" => "5", 
00306                         "skip" => "5", 
00307                         "skiplines" => "5", 
00308                         "sort" => "5", 
00309                         "source" => "5", 
00310                         "sqr-database" => "5", 
00311                         "sqr-platform" => "5", 
00312                         "sqrt" => "5", 
00313                         "startup-file" => "5", 
00314                         "status" => "5", 
00315                         "sub-title" => "5", 
00316                         "substr" => "5", 
00317                         "symbol-set" => "5", 
00318                         "table" => "5", 
00319                         "tan" => "5", 
00320                         "tanh" => "5", 
00321                         "times" => "5", 
00322                         "title" => "5", 
00323                         "to" => "5", 
00324                         "to_char" => "5", 
00325                         "to_date" => "5", 
00326                         "to_number" => "5", 
00327                         "top-margin" => "5", 
00328                         "translate" => "5", 
00329                         "trunc" => "5", 
00330                         "type" => "5", 
00331                         "underline" => "5", 
00332                         "update" => "5", 
00333                         "upper" => "5", 
00334                         "using" => "5", 
00335                         "vary" => "5", 
00336                         "vert-line" => "5", 
00337                         "warn" => "5", 
00338                         "when" => "5", 
00339                         "when-other" => "5", 
00340                         "where" => "5", 
00341                         "with" => "5", 
00342                         "x-axis-grid" => "5", 
00343                         "x-axis-label" => "5", 
00344                         "x-axis-major-increment" => "5", 
00345                         "x-axis-major-tick-marks" => "5", 
00346                         "x-axis-max-value" => "5", 
00347                         "x-axis-min-value" => "5", 
00348                         "x-axis-minor-increment" => "5", 
00349                         "x-axis-minor-tick-marks" => "5", 
00350                         "x-axis-scale" => "5", 
00351                         "x-axis-tick-mark-placement" => "5", 
00352                         "xor" => "5", 
00353                         "y-axis-grid" => "5", 
00354                         "y-axis-label" => "5", 
00355                         "y-axis-major-increment" => "5", 
00356                         "y-axis-major-tick-marks" => "5", 
00357                         "y-axis-max-value" => "5", 
00358                         "y-axis-min-value" => "5", 
00359                         "y-axis-minor-increment" => "5", 
00360                         "y-axis-minor-tick-marks" => "5", 
00361                         "y-axis-scale" => "5", 
00362                         "y-axis-tick-mark-placement" => "5");
00363 
00364 // Special extensions
00365 
00366 // Each category can specify a PHP function that returns an altered
00367 // version of the keyword.
00368         
00369         
00370 
00371 $this->linkscripts      = array(
00372                         "1" => "donothing", 
00373                         "2" => "donothing", 
00374                         "3" => "donothing", 
00375                         "4" => "donothing", 
00376                         "5" => "donothing");
00377 }
00378 
00379 
00380 function donothing($keywordin)
00381 {
00382         return $keywordin;
00383 }
00384 
00385 }?>

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