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

syntax_highlight/php/HFile/HFile_abb.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_abb extends HFile{
00006    function HFile_abb(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // ABB Rapid Command
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", "gray", "brown", "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("ELSE", "ELSEIF", "THEN", "DO");
00028 $this->unindent                 = array("ENDIF", "ELSE", "ENDFOR", "ENDPROC", "ENDMODULE", "ENDWHILE", "ENDFOR", "ENDTEST");
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                         "AccSet" => "1", 
00046                         "Color1" => "1", 
00047                         "DOutput" => "1", 
00048                         "ERROR" => "1", 
00049                         "GInput" => "1", 
00050                         "GripLoad" => "1", 
00051                         "MoveAbsJ" => "1", 
00052                         "MoveC" => "1", 
00053                         "MoveJ" => "1", 
00054                         "MoveJDO" => "1", 
00055                         "MoveL" => "1", 
00056                         "MoveLDO" => "1", 
00057                         "MotionSup" => "1", 
00058                         "OpMode" => "1", 
00059                         "PDispOff" => "1", 
00060                         "PDispOn" => "1", 
00061                         "PulseDO" => "1", 
00062                         "Reset" => "1", 
00063                         "SearchL" => "1", 
00064                         "Set" => "1", 
00065                         "SetGO" => "1", 
00066                         "SpotL" => "1", 
00067                         "SpotL_P1" => "1", 
00068                         "SpotL_Z1" => "1", 
00069                         "SpotL_Z2" => "1", 
00070                         "TPErase" => "1", 
00071                         "TPReadFK" => "1", 
00072                         "TPWrite" => "1", 
00073                         "TPWriteP1" => "1", 
00074                         "TriggIO" => "1", 
00075                         "TriggJ" => "1", 
00076                         "TriggL" => "1", 
00077                         "WaitTime" => "1", 
00078                         "WaitUntil" => "1", 
00079                         "Color2" => "2", 
00080                         "Color3" => "3", 
00081                         "bool" => "4", 
00082                         "Color4" => "4", 
00083                         "errnum" => "4", 
00084                         "extjoint" => "4", 
00085                         "jointtarget" => "4", 
00086                         "loaddata" => "4", 
00087                         "num" => "4", 
00088                         "robjoint" => "4", 
00089                         "robtarget" => "4", 
00090                         "string" => "4", 
00091                         "tooldata" => "4", 
00092                         "triggdata" => "4", 
00093                         "Color5" => "5", 
00094                         "EXIT" => "5", 
00095                         "GOTO" => "5", 
00096                         "RETURN" => "5", 
00097                         "RETRY" => "5", 
00098                         "Stop" => "5", 
00099                         "TRYNEXT" => "5", 
00100                         "AND" => "6", 
00101                         "CASE" => "6", 
00102                         "Color6" => "6", 
00103                         "CONST" => "6", 
00104                         "DEFAULT" => "6", 
00105                         "DO" => "6", 
00106                         "ELSE" => "6", 
00107                         "ELSEIF" => "6", 
00108                         "ENDFOR" => "6", 
00109                         "ENDIF" => "6", 
00110                         "ENDMODULE" => "6", 
00111                         "ENDPROC" => "6", 
00112                         "ENDTEST" => "6", 
00113                         "ENDWHILE" => "6", 
00114                         "FOR" => "6", 
00115                         "FROM" => "6", 
00116                         "IF" => "6", 
00117                         "MODULE" => "6", 
00118                         "OR" => "6", 
00119                         "PERS" => "6", 
00120                         "PROC" => "6", 
00121                         "TEST" => "6", 
00122                         "THEN" => "6", 
00123                         "TO" => "6", 
00124                         "VAR" => "6", 
00125                         "WHILE" => "6", 
00126                         "Color7" => "7", 
00127                         "Color8" => "8", 
00128                         "*" => "8", 
00129                         "#" => "8", 
00130                         ";" => "8", 
00131                         "," => "8", 
00132                         "+" => "8", 
00133                         "-" => "8", 
00134                         "=" => "8", 
00135                         "//" => "8", 
00136                         "/" => "8", 
00137                         "%" => "8", 
00138                         "&" => "8", 
00139                         ">" => "8", 
00140                         "<" => "8", 
00141                         "^" => "8", 
00142                         "!" => "8", 
00143                         "|" => "8");
00144 
00145 // Special extensions
00146 
00147 // Each category can specify a PHP function that returns an altered
00148 // version of the keyword.
00149         
00150         
00151 
00152 $this->linkscripts      = array(
00153                         "1" => "donothing", 
00154                         "2" => "donothing", 
00155                         "3" => "donothing", 
00156                         "4" => "donothing", 
00157                         "5" => "donothing", 
00158                         "6" => "donothing", 
00159                         "7" => "donothing", 
00160                         "8" => "donothing");
00161 }
00162 
00163 
00164 function donothing($keywordin)
00165 {
00166         return $keywordin;
00167 }
00168 
00169 }?>

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