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

syntax_highlight/php/HFile/HFile_sas.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_sas extends HFile{
00006    function HFile_sas(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // SAS
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");
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                         "_null_" => "1", 
00046                         "abort" => "1", 
00047                         "array" => "1", 
00048                         "attrib" => "1", 
00049                         "and" => "1", 
00050                         "by" => "1", 
00051                         "call" => "1", 
00052                         "cards" => "1", 
00053                         "cards4" => "1", 
00054                         "center" => "1", 
00055                         "data" => "1", 
00056                         "delete" => "1", 
00057                         "do" => "1", 
00058                         "drop" => "1", 
00059                         "dim" => "1", 
00060                         "else" => "1", 
00061                         "end" => "1", 
00062                         "eof" => "1", 
00063                         "file" => "1", 
00064                         "format" => "2", 
00065                         "formchar" => "1", 
00066                         "footenote" => "1", 
00067                         "footenote1" => "1", 
00068                         "footenote2" => "1", 
00069                         "footenote3" => "1", 
00070                         "footenote4" => "1", 
00071                         "footenote5" => "1", 
00072                         "footenote6" => "1", 
00073                         "footenote7" => "1", 
00074                         "footenote8" => "1", 
00075                         "footenote9" => "1", 
00076                         "footenote10" => "1", 
00077                         "firstobs" => "1", 
00078                         "filename" => "1", 
00079                         "go" => "1", 
00080                         "if" => "1", 
00081                         "infile" => "1", 
00082                         "informat" => "1", 
00083                         "input" => "1", 
00084                         "in" => "1", 
00085                         "keep" => "1", 
00086                         "label" => "1", 
00087                         "length" => "1", 
00088                         "link" => "1", 
00089                         "lostcard" => "1", 
00090                         "ls" => "1", 
00091                         "libname" => "1", 
00092                         "left" => "1", 
00093                         "lrecl" => "1", 
00094                         "lastobs" => "1", 
00095                         "merge" => "1", 
00096                         "missing" => "1", 
00097                         "mtrace" => "1", 
00098                         "mprint" => "1", 
00099                         "min" => "1", 
00100                         "max" => "1", 
00101                         "mlogic" => "1", 
00102                         "missover" => "1", 
00103                         "mdy" => "1", 
00104                         "nonumber" => "1", 
00105                         "nobs" => "1", 
00106                         "nomprint" => "1", 
00107                         "nomtrace" => "1", 
00108                         "nosymbolgen" => "1", 
00109                         "noovp" => "1", 
00110                         "null" => "1", 
00111                         "over" => "1", 
00112                         "output" => "3", 
00113                         "out" => "2", 
00114                         "options" => "2", 
00115                         "or" => "1", 
00116                         "otherwise" => "1", 
00117                         "put" => "1", 
00118                         "ps" => "1", 
00119                         "pad" => "1", 
00120                         "rename" => "1", 
00121                         "retain" => "1", 
00122                         "return" => "1", 
00123                         "run" => "1", 
00124                         "rank" => "2", 
00125                         "select" => "1", 
00126                         "set" => "1", 
00127                         "skip" => "2", 
00128                         "stop" => "1", 
00129                         "symbolgen" => "1", 
00130                         "sum" => "1", 
00131                         "source2" => "1", 
00132                         "symput" => "1", 
00133                         "same" => "1", 
00134                         "substr" => "1", 
00135                         "then" => "1", 
00136                         "to" => "1", 
00137                         "title" => "1", 
00138                         "title1" => "1", 
00139                         "title2" => "1", 
00140                         "title3" => "1", 
00141                         "title4" => "1", 
00142                         "title5" => "1", 
00143                         "title6" => "1", 
00144                         "title7" => "1", 
00145                         "title8" => "1", 
00146                         "title9" => "1", 
00147                         "title10" => "1", 
00148                         "trim" => "1", 
00149                         "time" => "1", 
00150                         "until" => "1", 
00151                         "update" => "1", 
00152                         "where" => "1", 
00153                         "while" => "1", 
00154                         "window" => "1", 
00155                         "when" => "1", 
00156                         "as" => "2", 
00157                         "after" => "2", 
00158                         "append" => "2", 
00159                         "break" => "2", 
00160                         "calender" => "2", 
00161                         "catalog" => "2", 
00162                         "chart" => "2", 
00163                         "cimport" => "2", 
00164                         "class" => "2", 
00165                         "contents" => "2", 
00166                         "compare" => "2", 
00167                         "copy" => "2", 
00168                         "corr" => "2", 
00169                         "cport" => "2", 
00170                         "create" => "2", 
00171                         "column" => "2", 
00172                         "datasets" => "2", 
00173                         "define" => "2", 
00174                         "display" => "2", 
00175                         "ERROR" => "2", 
00176                         "endsas" => "2", 
00177                         "forms" => "2", 
00178                         "freq" => "3", 
00179                         "from" => "2", 
00180                         "group" => "2", 
00181                         "headline" => "2", 
00182                         "headskip" => "2", 
00183                         "id" => "2", 
00184                         "intervals" => "2", 
00185                         "into" => "2", 
00186                         "lifetest" => "3", 
00187                         "list" => "2", 
00188                         "line" => "2", 
00189                         "lsmeans" => "2", 
00190                         "method" => "2", 
00191                         "means" => "2", 
00192                         "model" => "2", 
00193                         "new" => "2", 
00194                         "noobs" => "2", 
00195                         "noprint" => "2", 
00196                         "n" => "2", 
00197                         "NOTE" => "2", 
00198                         "order" => "2", 
00199                         "obs" => "2", 
00200                         "outsurv" => "2", 
00201                         "proc" => "2", 
00202                         "print" => "2", 
00203                         "plots" => "2", 
00204                         "plot" => "2", 
00205                         "pmenu" => "2", 
00206                         "printto" => "2", 
00207                         "pageby" => "2", 
00208                         "report" => "2", 
00209                         "repeated" => "2", 
00210                         "sort" => "2", 
00211                         "spell" => "2", 
00212                         "strata" => "2", 
00213                         "standard" => "2", 
00214                         "summary" => "2", 
00215                         "sql" => "2", 
00216                         "split" => "2", 
00217                         "sumby" => "2", 
00218                         "tables" => "2", 
00219                         "tabulate" => "2", 
00220                         "test" => "2", 
00221                         "timeplot" => "2", 
00222                         "ttest" => "3", 
00223                         "table" => "2", 
00224                         "transpose" => "2", 
00225                         "uniform" => "2", 
00226                         "univariate" => "2", 
00227                         "var" => "2", 
00228                         "value" => "2", 
00229                         "v5tov6" => "2", 
00230                         "width" => "2", 
00231                         "WARNING" => "2", 
00232                         "aceclus" => "3", 
00233                         "anova" => "3", 
00234                         "calis" => "3", 
00235                         "cancorr" => "3", 
00236                         "candisc" => "3", 
00237                         "catmod" => "3", 
00238                         "cluster" => "3", 
00239                         "corresp" => "3", 
00240                         "discrim" => "3", 
00241                         "factor" => "3", 
00242                         "fastclus" => "3", 
00243                         "genmod" => "3", 
00244                         "glm" => "3", 
00245                         "glmmod" => "3", 
00246                         "inbreed" => "3", 
00247                         "lattice" => "3", 
00248                         "lifereg" => "3", 
00249                         "logistic" => "3", 
00250                         "mds" => "3", 
00251                         "mixed" => "3", 
00252                         "modeclus" => "3", 
00253                         "multtest" => "3", 
00254                         "nested" => "3", 
00255                         "nlin" => "3", 
00256                         "npar1way" => "3", 
00257                         "orthoreg" => "3", 
00258                         "phreg" => "3", 
00259                         "plan" => "3", 
00260                         "princomp" => "3", 
00261                         "prinqual" => "3", 
00262                         "reg" => "3", 
00263                         "rsreg" => "3", 
00264                         "score" => "3", 
00265                         "stepdisc" => "3", 
00266                         "template" => "3", 
00267                         "transreg" => "3", 
00268                         "tree" => "3", 
00269                         "varclus" => "3", 
00270                         "varcomp" => "3", 
00271                         "%bquote" => "4", 
00272                         "%display" => "4", 
00273                         "%do" => "4", 
00274                         "%end" => "4", 
00275                         "%else" => "4", 
00276                         "%eval" => "4", 
00277                         "%goto" => "4", 
00278                         "%global" => "4", 
00279                         "%if" => "4", 
00280                         "%include" => "4", 
00281                         "%input" => "4", 
00282                         "%keydef" => "4", 
00283                         "%label" => "4", 
00284                         "%let" => "4", 
00285                         "%local" => "4", 
00286                         "%macro" => "4", 
00287                         "%mend" => "4", 
00288                         "%put" => "4", 
00289                         "%str" => "4", 
00290                         "%scan" => "4", 
00291                         "%syscall" => "4", 
00292                         "%sysexec" => "4", 
00293                         "%sysrput" => "4", 
00294                         "%symget" => "4", 
00295                         "%symput" => "4", 
00296                         "%then" => "4", 
00297                         "%to" => "4", 
00298                         "%upcase" => "4", 
00299                         "%until" => "4", 
00300                         "%while" => "4", 
00301                         "%window" => "4", 
00302                         "MPRINT" => "4", 
00303                         "MLOGIC" => "4", 
00304                         "MTRACE" => "4", 
00305                         "SYMBOLGEN" => "4");
00306 
00307 // Special extensions
00308 
00309 // Each category can specify a PHP function that returns an altered
00310 // version of the keyword.
00311         
00312         
00313 
00314 $this->linkscripts      = array(
00315                         "1" => "donothing", 
00316                         "2" => "donothing", 
00317                         "3" => "donothing", 
00318                         "4" => "donothing");
00319 }
00320 
00321 
00322 function donothing($keywordin)
00323 {
00324         return $keywordin;
00325 }
00326 
00327 }?>

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