ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
HFile_awk Class Reference
+ Inheritance diagram for HFile_awk:
+ Collaboration diagram for HFile_awk:

Public Member Functions

 HFile_awk ()
 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_awk.php.

Member Function Documentation

HFile_awk::donothing (   $keywordin)

Definition at line 129 of file HFile_awk.php.

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

Definition at line 6 of file HFile_awk.php.

References HFile\HFile().

{
$this->HFile();
/*************************************/
// Beautifier Highlighting Configuration File
// AWK Script
/*************************************/
// Flags
$this->nocase = "0";
$this->notrim = "0";
$this->perl = "0";
// Colours
$this->colours = array("blue", "purple", "brown");
$this->quotecolour = "blue";
$this->blockcommentcolour = "green";
$this->linecommentcolour = "green";
// Indent Strings
$this->indent = array("{");
$this->unindent = array("}");
// 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(
"atan2" => "1",
"break" => "1",
"BEGIN" => "1",
"close" => "1",
"continue" => "1",
"cos" => "1",
"delete" => "1",
"do" => "1",
"else" => "1",
"exp" => "1",
"exit" => "1",
"END" => "1",
"for" => "1",
"function" => "1",
"getline" => "1",
"gsub" => "1",
"if" => "1",
"index" => "1",
"int" => "1",
"length" => "1",
"local" => "1",
"log" => "1",
"match" => "1",
"next" => "1",
"print" => "1",
"printf" => "1",
"rand" => "1",
"return" => "1",
"sin" => "1",
"split" => "1",
"sprintf" => "1",
"sqrt" => "1",
"srand" => "1",
"sub" => "1",
"substr" => "1",
"system" => "1",
"tolower" => "1",
"toupper" => "1",
"while" => "1",
"ARGC" => "2",
"ARGV" => "2",
"CONVFMT" => "2",
"ENVIRON" => "2",
"FILENAME" => "2",
"FNR" => "2",
"FS" => "2",
"NF" => "2",
"NR" => "2",
"OFMT" => "2",
"OFS" => "2",
"ORS" => "2",
"RLENGTH" => "2",
"RS" => "2",
"RSTART" => "2",
"SUBSEP" => "2",
"+" => "4",
"-" => "4",
"=" => "4",
"//" => "4",
"/" => "4",
"%" => "4",
"&" => "4",
">" => "4",
"<" => "4",
"^" => "4",
"!" => "4",
"|" => "4",
"$" => "4",
"*" => "4");
// Special extensions
// Each category can specify a PHP function that returns an altered
// version of the keyword.
$this->linkscripts = array(
"1" => "donothing",
"2" => "donothing",
"4" => "donothing");
}

+ Here is the call graph for this function:


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