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

syntax_highlight/php/HFile/HFile_flisp.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_flisp extends HFile{
00006    function HFile_flisp(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // FLISP
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                         "boxed_column" => "1", 
00046                         "boxed_radio_column" => "1", 
00047                         "boxed_radio_row" => "1", 
00048                         "boxed_row" => "1", 
00049                         "button" => "1", 
00050                         "column" => "1", 
00051                         "concatenation" => "1", 
00052                         "dialog" => "1", 
00053                         "edit_box" => "1", 
00054                         "errtile" => "1", 
00055                         "image" => "1", 
00056                         "image_button" => "1", 
00057                         "list_box" => "1", 
00058                         "ok_only" => "1", 
00059                         "ok_cancel" => "1", 
00060                         "ok_cancel_help" => "1", 
00061                         "ok_cancel_help_errtile" => "1", 
00062                         "ok_cancel_help_info" => "1", 
00063                         "paragraph" => "1", 
00064                         "popup_list" => "1", 
00065                         "radio_button" => "1", 
00066                         "radio_column" => "1", 
00067                         "radio_row" => "1", 
00068                         "row" => "1", 
00069                         "slider" => "1", 
00070                         "spacer" => "1", 
00071                         "spacer_0" => "1", 
00072                         "spacer_1" => "1", 
00073                         "text" => "1", 
00074                         "text_part" => "1", 
00075                         "toggle" => "1", 
00076                         "@include" => "2", 
00077                         "action" => "3", 
00078                         "alignment" => "3", 
00079                         "allow_accept" => "3", 
00080                         "aspect_ratio" => "3", 
00081                         "big_increment" => "3", 
00082                         "children_alignment" => "3", 
00083                         "children_fixed_height" => "3", 
00084                         "children_fixed_width" => "3", 
00085                         "color" => "3", 
00086                         "edit_limit" => "3", 
00087                         "edit_width" => "3", 
00088                         "fixed_height" => "3", 
00089                         "fixed_width" => "3", 
00090                         "height" => "3", 
00091                         "initial_focus" => "3", 
00092                         "is_bold" => "3", 
00093                         "is_cancel" => "3", 
00094                         "is_default" => "3", 
00095                         "is_enabled" => "3", 
00096                         "is_tab_stop" => "3", 
00097                         "key" => "3", 
00098                         "label" => "3", 
00099                         "layout" => "3", 
00100                         "list" => "3", 
00101                         "max_value" => "3", 
00102                         "min_value" => "3", 
00103                         "mnemonic" => "3", 
00104                         "multiple_select" => "3", 
00105                         "small_increment" => "3", 
00106                         "tabs" => "3", 
00107                         "value" => "3", 
00108                         "width" => "3", 
00109                         "abs" => "4", 
00110                         "acad_colordlg" => "4", 
00111                         "acad_helpdlg" => "4", 
00112                         "acad_strlsort" => "4", 
00113                         "action_tile" => "4", 
00114                         "add_list" => "4", 
00115                         "ads" => "4", 
00116                         "alert" => "4", 
00117                         "alloc" => "4", 
00118                         "and" => "4", 
00119                         "angle" => "4", 
00120                         "angtof" => "4", 
00121                         "angtos" => "4", 
00122                         "append" => "4", 
00123                         "apply" => "4", 
00124                         "arx" => "4", 
00125                         "arxload" => "4", 
00126                         "arxunload" => "4", 
00127                         "ascii" => "4", 
00128                         "assoc" => "4", 
00129                         "atan" => "4", 
00130                         "atof" => "4", 
00131                         "atoi" => "4", 
00132                         "atom" => "4", 
00133                         "atoms_family" => "4", 
00134                         "autoarxload" => "4", 
00135                         "autoload" => "4", 
00136                         "autoxload" => "4", 
00137                         "boole" => "4", 
00138                         "boundp" => "4", 
00139                         "car" => "4", 
00140                         "cdr" => "4", 
00141                         "caar" => "4", 
00142                         "cadr" => "4", 
00143                         "cddr" => "4", 
00144                         "caaar" => "4", 
00145                         "caadr" => "4", 
00146                         "cadar" => "4", 
00147                         "caddr" => "4", 
00148                         "cdaar" => "4", 
00149                         "cdadr" => "4", 
00150                         "cddar" => "4", 
00151                         "cdddr" => "4", 
00152                         "caaadr" => "4", 
00153                         "caadar" => "4", 
00154                         "cadaar" => "4", 
00155                         "cdaaar" => "4", 
00156                         "caaddr" => "4", 
00157                         "caddar" => "4", 
00158                         "cddaar" => "4", 
00159                         "cadadr" => "4", 
00160                         "caaaar" => "4", 
00161                         "cdadar" => "4", 
00162                         "cdaadr" => "4", 
00163                         "cadddr" => "4", 
00164                         "cdaddr" => "4", 
00165                         "cddadr" => "4", 
00166                         "cdddar" => "4", 
00167                         "cddddr" => "4", 
00168                         "chr" => "4", 
00169                         "client_data_tile" => "4", 
00170                         "close" => "4", 
00171                         "command" => "4", 
00172                         "cond" => "4", 
00173                         "cons" => "4", 
00174                         "cos" => "4", 
00175                         "cvunit" => "4", 
00176                         "dictnext" => "4", 
00177                         "dictsearch" => "4", 
00178                         "dimx_tile" => "4", 
00179                         "dimy_tile" => "4", 
00180                         "distance" => "4", 
00181                         "distof" => "4", 
00182                         "done_dialog" => "4", 
00183                         "end_image" => "4", 
00184                         "end_list" => "4", 
00185                         "entdel" => "4", 
00186                         "entget" => "4", 
00187                         "entlast" => "4", 
00188                         "entmake" => "4", 
00189                         "entmod" => "4", 
00190                         "entnext" => "4", 
00191                         "entsel" => "4", 
00192                         "entupd" => "4", 
00193                         "eq" => "4", 
00194                         "equal" => "4", 
00195                         "eval" => "4", 
00196                         "exit" => "4", 
00197                         "exp" => "4", 
00198                         "expand" => "4", 
00199                         "expt" => "4", 
00200                         "fill_image" => "4", 
00201                         "findfile" => "4", 
00202                         "fix" => "4", 
00203                         "float" => "4", 
00204                         "foreach" => "4", 
00205                         "gc" => "4", 
00206                         "gcd" => "4", 
00207                         "get_attr" => "4", 
00208                         "get_tile" => "4", 
00209                         "getangle" => "4", 
00210                         "getcfg" => "4", 
00211                         "getcorner" => "4", 
00212                         "getdist" => "4", 
00213                         "getenv" => "4", 
00214                         "getfiled" => "4", 
00215                         "getint" => "4", 
00216                         "getkword" => "4", 
00217                         "getorient" => "4", 
00218                         "getpoint" => "4", 
00219                         "getreal" => "4", 
00220                         "getstring" => "4", 
00221                         "getvar" => "4", 
00222                         "graphscr" => "4", 
00223                         "grclear" => "4", 
00224                         "grdraw" => "4", 
00225                         "grread" => "4", 
00226                         "grtext" => "4", 
00227                         "grvecs" => "4", 
00228                         "handent" => "4", 
00229                         "help" => "4", 
00230                         "if" => "4", 
00231                         "initget" => "4", 
00232                         "inters" => "4", 
00233                         "itoa" => "4", 
00234                         "lambda" => "4", 
00235                         "last" => "4", 
00236                         "length" => "4", 
00237                         "listp" => "4", 
00238                         "load_dialog" => "4", 
00239                         "load" => "4", 
00240                         "log" => "4", 
00241                         "logand" => "4", 
00242                         "logior" => "4", 
00243                         "lsh" => "4", 
00244                         "mapcar" => "4", 
00245                         "max" => "4", 
00246                         "mem" => "4", 
00247                         "member" => "4", 
00248                         "menucmd" => "4", 
00249                         "min" => "4", 
00250                         "minusp" => "4", 
00251                         "mode_tile" => "4", 
00252                         "namedobjdict" => "4", 
00253                         "nentsel" => "4", 
00254                         "nentselp" => "4", 
00255                         "new_dialog" => "4", 
00256                         "not" => "4", 
00257                         "nth" => "4", 
00258                         "null" => "4", 
00259                         "numberp" => "4", 
00260                         "open" => "4", 
00261                         "or" => "4", 
00262                         "osnap" => "4", 
00263                         "polar" => "4", 
00264                         "prin1" => "4", 
00265                         "princ" => "4", 
00266                         "print" => "4", 
00267                         "progn" => "4", 
00268                         "prompt" => "4", 
00269                         "quit" => "4", 
00270                         "quote" => "4", 
00271                         "read" => "4", 
00272                         "read_char" => "4", 
00273                         "read_line" => "4", 
00274                         "redraw" => "4", 
00275                         "regapp" => "4", 
00276                         "rem" => "4", 
00277                         "repeat" => "4", 
00278                         "reverse" => "4", 
00279                         "rtos" => "4", 
00280                         "set" => "4", 
00281                         "set_tile" => "4", 
00282                         "setcfg" => "4", 
00283                         "setfunhelp" => "4", 
00284                         "setq" => "4", 
00285                         "setvar" => "4", 
00286                         "sin" => "4", 
00287                         "slide_image" => "4", 
00288                         "snvalid" => "4", 
00289                         "sqrt" => "4", 
00290                         "ssadd" => "4", 
00291                         "ssdel" => "4", 
00292                         "ssget" => "4", 
00293                         "sslength" => "4", 
00294                         "ssmemb" => "4", 
00295                         "ssname" => "4", 
00296                         "startapp" => "4", 
00297                         "start_dialog" => "4", 
00298                         "start_image" => "4", 
00299                         "start_list" => "4", 
00300                         "strcase" => "4", 
00301                         "strcat" => "4", 
00302                         "strlen" => "4", 
00303                         "subst" => "4", 
00304                         "substr" => "4", 
00305                         "tablet" => "4", 
00306                         "tblnext" => "4", 
00307                         "tblobjname" => "4", 
00308                         "tblsearch" => "4", 
00309                         "term_dialog" => "4", 
00310                         "terpri" => "4", 
00311                         "textbox" => "4", 
00312                         "textpage" => "4", 
00313                         "textscr" => "4", 
00314                         "trace" => "4", 
00315                         "trans" => "4", 
00316                         "type" => "4", 
00317                         "unload_dialog" => "4", 
00318                         "untrace" => "4", 
00319                         "vector_image" => "4", 
00320                         "ver" => "4", 
00321                         "vmon" => "4", 
00322                         "vports" => "4", 
00323                         "wcmatch" => "4", 
00324                         "while" => "4", 
00325                         "write_char" => "4", 
00326                         "write_line" => "4", 
00327                         "xdroom" => "4", 
00328                         "xdsize" => "4", 
00329                         "xload" => "4", 
00330                         "xunload" => "4", 
00331                         "zerop" => "4", 
00332                         "defun" => "5");
00333 
00334 // Special extensions
00335 
00336 // Each category can specify a PHP function that returns an altered
00337 // version of the keyword.
00338         
00339         
00340 
00341 $this->linkscripts      = array(
00342                         "1" => "donothing", 
00343                         "2" => "donothing", 
00344                         "3" => "donothing", 
00345                         "4" => "donothing", 
00346                         "5" => "donothing");
00347 }
00348 
00349 
00350 function donothing($keywordin)
00351 {
00352         return $keywordin;
00353 }
00354 
00355 }?>

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