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

syntax_highlight/php/HFile/HFile_dataflex.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_dataflex extends HFile{
00006    function HFile_dataflex(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // DataFlex
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", "purple", "gray");
00021 $this->quotecolour              = "blue";
00022 $this->blockcommentcolour       = "green";
00023 $this->linecommentcolour        = "green";
00024 
00025 // Indent Strings
00026 
00027 $this->indent                   = array("Then", "Begin", "Lock", "repeat", "while", "enumeration_list", "class", "object");
00028 $this->unindent                 = array("End", "Next", "End If", "End Select", "Unlock", "loop", "end_enumeration_list", "end_class", "end_object");
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                         "#endheader" => "1", 
00046                         "#header" => "1", 
00047                         "#include" => "1", 
00048                         "#replace" => "1", 
00049                         "abort" => "2", 
00050                         "abort_transaction" => "2", 
00051                         "accept" => "2", 
00052                         "activate_view" => "2", 
00053                         "add" => "2", 
00054                         "append" => "2", 
00055                         "append_output" => "2", 
00056                         "ascii" => "2", 
00057                         "attach" => "2", 
00058                         "autopage" => "2", 
00059                         "backfield" => "2", 
00060                         "begin" => "2", 
00061                         "begin_contraints" => "2", 
00062                         "begin_transaction" => "2", 
00063                         "blankform" => "2", 
00064                         "body" => "2", 
00065                         "break" => "2", 
00066                         "broadcast" => "2", 
00067                         "broadcast_focus" => "2", 
00068                         "calc" => "2", 
00069                         "calculate" => "2", 
00070                         "call" => "2", 
00071                         "call_driver" => "2", 
00072                         "cd_end_object" => "2", 
00073                         "cd_popup_object" => "2", 
00074                         "chain" => "2", 
00075                         "character" => "2", 
00076                         "class" => "2", 
00077                         "clear" => "2", 
00078                         "clear_option" => "2", 
00079                         "clearform" => "2", 
00080                         "clearscreen" => "2", 
00081                         "clearwarning" => "2", 
00082                         "clearxy" => "2", 
00083                         "close" => "2", 
00084                         "close_input" => "2", 
00085                         "close_output" => "2", 
00086                         "cmdline" => "2", 
00087                         "constrain" => "2", 
00088                         "contrained_clear" => "2", 
00089                         "constrained_find" => "2", 
00090                         "constraint_set" => "2", 
00091                         "constraint_validate" => "2", 
00092                         "copy_db" => "2", 
00093                         "copy_records" => "2", 
00094                         "copyfile" => "2", 
00095                         "create_field" => "2", 
00096                         "create_index" => "2", 
00097                         "date" => "2", 
00098                         "debug" => "2", 
00099                         "declare_datafile" => "2", 
00100                         "decrement" => "2", 
00101                         "deferred_view" => "2", 
00102                         "define" => "2", 
00103                         "delegate" => "2", 
00104                         "delete" => "2", 
00105                         "delete_db" => "2", 
00106                         "delete_field" => "2", 
00107                         "delete_index" => "2", 
00108                         "dependent_item" => "2", 
00109                         "despool" => "2", 
00110                         "direct_input" => "2", 
00111                         "direct_output" => "2", 
00112                         "directory" => "2", 
00113                         "diskfree" => "2", 
00114                         "display" => "2", 
00115                         "else" => "2", 
00116                         "end" => "2", 
00117                         "end_class" => "2", 
00118                         "end_constraints" => "2", 
00119                         "end_function" => "2", 
00120                         "end_enumeration_list" => "2", 
00121                         "end_item_group" => "2", 
00122                         "end_item_list" => "2", 
00123                         "end_object" => "2", 
00124                         "end_procedure" => "2", 
00125                         "end_transaction" => "2", 
00126                         "end_type" => "2", 
00127                         "endgroup" => "2", 
00128                         "entagain" => "2", 
00129                         "entdisplay" => "2", 
00130                         "enter" => "2", 
00131                         "enterend" => "2", 
00132                         "entergroup" => "2", 
00133                         "entermode" => "2", 
00134                         "entry" => "2", 
00135                         "entry_item" => "2", 
00136                         "entry_name_item" => "2", 
00137                         "enumeration_list" => "2", 
00138                         "erase_file" => "2", 
00139                         "error" => "2", 
00140                         "error_report" => "2", 
00141                         "export_files" => "2", 
00142                         "field" => "2", 
00143                         "field_def" => "2", 
00144                         "field_map" => "2", 
00145                         "file_mode" => "2", 
00146                         "file_size" => "2", 
00147                         "filelist" => "2", 
00148                         "fill_field" => "2", 
00149                         "find" => "2", 
00150                         "for" => "2", 
00151                         "format" => "2", 
00152                         "formfeed" => "2", 
00153                         "forward" => "2", 
00154                         "forward_begin_construct" => "2", 
00155                         "forward_end_construct" => "2", 
00156                         "from" => "2", 
00157                         "function" => "2", 
00158                         "function_return" => "2", 
00159                         "get" => "2", 
00160                         "get_argument_size" => "2", 
00161                         "get_attribute" => "2", 
00162                         "get_channel_position" => "2", 
00163                         "get_channel_size" => "2", 
00164                         "get_current_colors" => "2", 
00165                         "get_current_directory" => "2", 
00166                         "get_current_input_channel" => "2", 
00167                         "get_current_lockcount" => "2", 
00168                         "get_current_output_channel" => "2", 
00169                         "get_current_user_count" => "2", 
00170                         "get_date_format" => "2", 
00171                         "get_environment" => "2", 
00172                         "get_field_value" => "2", 
00173                         "get_filelist" => "2", 
00174                         "get_licensed_max_users" => "2", 
00175                         "get_number_format" => "2", 
00176                         "get_resource_name" => "2", 
00177                         "get_resource_type" => "2", 
00178                         "get_transaction_retry" => "2", 
00179                         "get_video_mode" => "2", 
00180                         "gosub" => "2", 
00181                         "goto" => "2", 
00182                         "gotoxy" => "2", 
00183                         "group" => "2", 
00184                         "header" => "2", 
00185                         "help" => "2", 
00186                         "if" => "2", 
00187                         "ifchange" => "2", 
00188                         "import_class_protocol" => "2", 
00189                         "inactivate" => "2", 
00190                         "include_resource" => "2", 
00191                         "increment" => "2", 
00192                         "ind" => "2", 
00193                         "index_def" => "2", 
00194                         "indicate" => "2", 
00195                         "inherit_screen" => "2", 
00196                         "inkey" => "2", 
00197                         "inkey$" => "2", 
00198                         "input" => "2", 
00199                         "insert" => "2", 
00200                         "is_file_included" => "2", 
00201                         "item_group" => "2", 
00202                         "item_list" => "2", 
00203                         "keycheck" => "2", 
00204                         "keyproc" => "2", 
00205                         "left" => "2", 
00206                         "length" => "2", 
00207                         "load_def" => "2", 
00208                         "local_driver" => "2", 
00209                         "local" => "2", 
00210                         "lock" => "2", 
00211                         "login" => "2", 
00212                         "logout" => "2", 
00213                         "loop" => "2", 
00214                         "make_file" => "2", 
00215                         "memory" => "2", 
00216                         "mid" => "2", 
00217                         "move" => "2", 
00218                         "movedate" => "2", 
00219                         "moveint" => "2", 
00220                         "movenum" => "2", 
00221                         "movereal" => "2", 
00222                         "movestr" => "2", 
00223                         "move_sub_page" => "2", 
00224                         "name" => "2", 
00225                         "name_item" => "2", 
00226                         "name_items" => "2", 
00227                         "name_object" => "2", 
00228                         "next" => "2", 
00229                         "not" => "2", 
00230                         "object" => "2", 
00231                         "on" => "2", 
00232                         "on_item" => "2", 
00233                         "on_key" => "2", 
00234                         "on_name_item" => "2", 
00235                         "open" => "2", 
00236                         "output" => "2", 
00237                         "output_aux_file" => "2", 
00238                         "output_wrap" => "2", 
00239                         "pad" => "2", 
00240                         "page" => "2", 
00241                         "pagecheck" => "2", 
00242                         "pathname" => "2", 
00243                         "pos" => "2", 
00244                         "print" => "2", 
00245                         "print_wrap" => "2", 
00246                         "procedure" => "2", 
00247                         "procedure_return" => "2", 
00248                         "property" => "2", 
00249                         "read" => "2", 
00250                         "read_block" => "2", 
00251                         "read_dfini" => "2", 
00252                         "read_hex" => "2", 
00253                         "readln" => "2", 
00254                         "register_function" => "2", 
00255                         "register_object" => "2", 
00256                         "register_procedure" => "2", 
00257                         "register_resource" => "2", 
00258                         "registration" => "2", 
00259                         "relate" => "2", 
00260                         "renamefile" => "2", 
00261                         "repeat" => "2", 
00262                         "repeat_item" => "2", 
00263                         "replace" => "2", 
00264                         "report" => "2", 
00265                         "reportend" => "2", 
00266                         "reread" => "2", 
00267                         "return" => "2", 
00268                         "right" => "2", 
00269                         "runprogram" => "2", 
00270                         "save" => "2", 
00271                         "saverecord" => "2", 
00272                         "screenmode" => "2", 
00273                         "screen_optimize" => "2", 
00274                         "section" => "2", 
00275                         "send" => "2", 
00276                         "set" => "2", 
00277                         "set_argument_size" => "2", 
00278                         "set_attribute" => "2", 
00279                         "set_channel_position" => "2", 
00280                         "set_dfpath" => "2", 
00281                         "set_field_value" => "2", 
00282                         "set_filelist" => "2", 
00283                         "set_option" => "2", 
00284                         "set_relate" => "2", 
00285                         "set_resource_library" => "2", 
00286                         "set_transaction_retry" => "2", 
00287                         "set_video_mode" => "2", 
00288                         "setchange" => "2", 
00289                         "show" => "2", 
00290                         "showln" => "2", 
00291                         "showxy" => "2", 
00292                         "sleep" => "2", 
00293                         "sort" => "2", 
00294                         "start_ui" => "2", 
00295                         "stop" => "2", 
00296                         "structure_abort" => "2", 
00297                         "structure_copy" => "2", 
00298                         "structure_end" => "2", 
00299                         "structure_start" => "2", 
00300                         "sub" => "2", 
00301                         "sub_page" => "2", 
00302                         "subtotal" => "2", 
00303                         "sysconf" => "2", 
00304                         "sysdate" => "2", 
00305                         "sysdate4" => "2", 
00306                         "system" => "2", 
00307                         "to" => "2", 
00308                         "trim" => "2", 
00309                         "type" => "2", 
00310                         "ui_accept" => "2", 
00311                         "unload_driver" => "2", 
00312                         "unlock" => "2", 
00313                         "until" => "2", 
00314                         "uppercase" => "2", 
00315                         "use" => "2", 
00316                         "vconstrain" => "2", 
00317                         "vfind" => "2", 
00318                         "while" => "2", 
00319                         "write" => "2", 
00320                         "write_hex" => "2", 
00321                         "writeln" => "2", 
00322                         "zerofile" => "2", 
00323                         "abs" => "3", 
00324                         "acos" => "3", 
00325                         "asin" => "3", 
00326                         "atan" => "3", 
00327                         "callback" => "3", 
00328                         "center" => "3", 
00329                         "cos" => "3", 
00330                         "eval" => "3", 
00331                         "exp" => "3", 
00332                         "hi" => "3", 
00333                         "log" => "3", 
00334                         "low" => "3", 
00335                         "lowercase" => "3", 
00336                         "ltrim" => "3", 
00337                         "mod" => "3", 
00338                         "overstrike" => "3", 
00339                         "random" => "3", 
00340                         "remove" => "3", 
00341                         "replaces" => "3", 
00342                         "round" => "3", 
00343                         "rtrim" => "3", 
00344                         "sin" => "3", 
00345                         "sqrt" => "3", 
00346                         "status" => "3", 
00347                         "tan" => "3", 
00348                         "an" => "4", 
00349                         "and" => "4", 
00350                         "as" => "4", 
00351                         "contains" => "4", 
00352                         "eq" => "4", 
00353                         "ge" => "4", 
00354                         "gt" => "4", 
00355                         "iand" => "4", 
00356                         "in" => "4", 
00357                         "ior" => "4", 
00358                         "is" => "4", 
00359                         "le" => "4", 
00360                         "lt" => "4", 
00361                         "match" => "4", 
00362                         "matches" => "4", 
00363                         "max" => "4", 
00364                         "min" => "4", 
00365                         "ne" => "4", 
00366                         "or" => "4", 
00367                         "autoback" => "5", 
00368                         "autoclear" => "5", 
00369                         "autofind" => "5", 
00370                         "autofind_ge" => "5", 
00371                         "autoreturn" => "5", 
00372                         "capslock" => "5", 
00373                         "channel" => "5", 
00374                         "check" => "5", 
00375                         "displayonly" => "5", 
00376                         "fill" => "5", 
00377                         "findreq" => "5", 
00378                         "float$" => "5", 
00379                         "forceput" => "5", 
00380                         "modal_insert" => "5", 
00381                         "no_calc" => "5", 
00382                         "noenter" => "5", 
00383                         "noput" => "5", 
00384                         "points" => "5", 
00385                         "range" => "5", 
00386                         "required" => "5", 
00387                         "resident" => "5", 
00388                         "resource" => "5", 
00389                         "retain" => "5", 
00390                         "retainall" => "5", 
00391                         "signrt" => "5", 
00392                         "skipfound" => "5", 
00393                         "suppress" => "5", 
00394                         "thousands" => "5", 
00395                         "wait" => "5", 
00396                         "zero_suppress" => "5", 
00397                         "constrain_found_count" => "6", 
00398                         "constrain_tests_count" => "6", 
00399                         "current_image" => "6", 
00400                         "current_window" => "6", 
00401                         "indicator" => "7", 
00402                         "integer" => "7", 
00403                         "number" => "7", 
00404                         "real" => "7", 
00405                         "string" => "7");
00406 
00407 // Special extensions
00408 
00409 // Each category can specify a PHP function that returns an altered
00410 // version of the keyword.
00411         
00412         
00413 
00414 $this->linkscripts      = array(
00415                         "1" => "donothing", 
00416                         "2" => "donothing", 
00417                         "3" => "donothing", 
00418                         "4" => "donothing", 
00419                         "5" => "donothing", 
00420                         "6" => "donothing", 
00421                         "7" => "donothing");
00422 }
00423 
00424 
00425 function donothing($keywordin)
00426 {
00427         return $keywordin;
00428 }
00429 
00430 }?>

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