ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
HFile_abb Class Reference
+ Inheritance diagram for HFile_abb:
+ Collaboration diagram for HFile_abb:

Public Member Functions

 HFile_abb ()
 donothing ($keywordin)
- Public Member Functions inherited from HFile
 HFile ()
 parse_file ($file)
 to_perl ($stub, $tofile=1)
 to_php ($stub, $tofile=1)
 _get_categories ()
 _dump_linkscripts ()
 _dump_perl_linkscripts ()
 _dump_perl_defaultscripts ()
 _dump_colours ()
 _dump_var ($variable, $name)
 _dump_array ($array, $name)
 _dump_perl_array ($array, $name)
 _dump_hash ($hash, $name)
 _dump_perl_hash ($hash, $name)

Detailed Description

Definition at line 5 of file HFile_abb.php.

Member Function Documentation

HFile_abb::donothing (   $keywordin)

Definition at line 164 of file HFile_abb.php.

{
return $keywordin;
}
HFile_abb::HFile_abb ( )

Definition at line 6 of file HFile_abb.php.

References HFile\HFile().

{
$this->HFile();
/*************************************/
// Beautifier Highlighting Configuration File
// ABB Rapid Command
/*************************************/
// Flags
$this->nocase = "0";
$this->notrim = "0";
$this->perl = "0";
// Colours
$this->colours = array("blue", "purple", "gray", "brown", "blue", "purple", "gray", "brown");
$this->quotecolour = "blue";
$this->blockcommentcolour = "green";
$this->linecommentcolour = "green";
// Indent Strings
$this->indent = array("ELSE", "ELSEIF", "THEN", "DO");
$this->unindent = array("ENDIF", "ELSE", "ENDFOR", "ENDPROC", "ENDMODULE", "ENDWHILE", "ENDFOR", "ENDTEST");
// String characters and delimiters
$this->stringchars = array("\"", "'");
$this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
$this->escchar = "";
// Comment settings
$this->linecommenton = array("!");
$this->blockcommenton = array("");
$this->blockcommentoff = array("");
// Keywords (keyword mapping to colour number)
$this->keywords = array(
"AccSet" => "1",
"Color1" => "1",
"DOutput" => "1",
"ERROR" => "1",
"GInput" => "1",
"GripLoad" => "1",
"MoveAbsJ" => "1",
"MoveC" => "1",
"MoveJ" => "1",
"MoveJDO" => "1",
"MoveL" => "1",
"MoveLDO" => "1",
"MotionSup" => "1",
"OpMode" => "1",
"PDispOff" => "1",
"PDispOn" => "1",
"PulseDO" => "1",
"Reset" => "1",
"SearchL" => "1",
"Set" => "1",
"SetGO" => "1",
"SpotL" => "1",
"SpotL_P1" => "1",
"SpotL_Z1" => "1",
"SpotL_Z2" => "1",
"TPErase" => "1",
"TPReadFK" => "1",
"TPWrite" => "1",
"TPWriteP1" => "1",
"TriggIO" => "1",
"TriggJ" => "1",
"TriggL" => "1",
"WaitTime" => "1",
"WaitUntil" => "1",
"Color2" => "2",
"Color3" => "3",
"bool" => "4",
"Color4" => "4",
"errnum" => "4",
"extjoint" => "4",
"jointtarget" => "4",
"loaddata" => "4",
"num" => "4",
"robjoint" => "4",
"robtarget" => "4",
"string" => "4",
"tooldata" => "4",
"triggdata" => "4",
"Color5" => "5",
"EXIT" => "5",
"GOTO" => "5",
"RETURN" => "5",
"RETRY" => "5",
"Stop" => "5",
"TRYNEXT" => "5",
"AND" => "6",
"CASE" => "6",
"Color6" => "6",
"CONST" => "6",
"DEFAULT" => "6",
"DO" => "6",
"ELSE" => "6",
"ELSEIF" => "6",
"ENDFOR" => "6",
"ENDIF" => "6",
"ENDMODULE" => "6",
"ENDPROC" => "6",
"ENDTEST" => "6",
"ENDWHILE" => "6",
"FOR" => "6",
"FROM" => "6",
"IF" => "6",
"MODULE" => "6",
"OR" => "6",
"PERS" => "6",
"PROC" => "6",
"TEST" => "6",
"THEN" => "6",
"TO" => "6",
"VAR" => "6",
"WHILE" => "6",
"Color7" => "7",
"Color8" => "8",
"*" => "8",
"#" => "8",
";" => "8",
"," => "8",
"+" => "8",
"-" => "8",
"=" => "8",
"//" => "8",
"/" => "8",
"%" => "8",
"&" => "8",
">" => "8",
"<" => "8",
"^" => "8",
"!" => "8",
"|" => "8");
// Special extensions
// Each category can specify a PHP function that returns an altered
// version of the keyword.
$this->linkscripts = array(
"1" => "donothing",
"2" => "donothing",
"3" => "donothing",
"4" => "donothing",
"5" => "donothing",
"6" => "donothing",
"7" => "donothing",
"8" => "donothing");
}

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: