ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
HFile_pbasic Class Reference
+ Inheritance diagram for HFile_pbasic:
+ Collaboration diagram for HFile_pbasic:

Public Member Functions

 HFile_pbasic ()
 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_pbasic.php.

Member Function Documentation

HFile_pbasic::donothing (   $keywordin)

Definition at line 499 of file HFile_pbasic.php.

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

Definition at line 6 of file HFile_pbasic.php.

References HFile\HFile().

{
$this->HFile();
/*************************************/
// Beautifier Highlighting Configuration File
// PowerBasic
/*************************************/
// Flags
$this->nocase = "1";
$this->notrim = "0";
$this->perl = "0";
// Colours
$this->colours = array("blue", "purple", "gray", "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(
"#Compile" => "1",
"#Debug" => "1",
"#Dim" => "1",
"#Else" => "1",
"#ElseIf" => "1",
"#EndIf" => "1",
"#If" => "1",
"#Include" => "1",
"#Option" => "1",
"#Register" => "1",
"#Resource" => "1",
"#Segment" => "1",
"#Stack" => "1",
"$Compile" => "2",
"$Debug" => "2",
"$Dim" => "2",
"$Else" => "2",
"$ElseIf" => "2",
"$EndIf" => "2",
"$If" => "2",
"$Include" => "2",
"$Option" => "2",
"$Register" => "2",
"$Resource" => "2",
"$Segment" => "2",
"$Stack" => "2",
"%Def" => "3",
"Abs" => "4",
"AcceptAccess" => "4",
"Addr" => "4",
"Alias" => "4",
"All" => "4",
"And" => "4",
"Any" => "4",
"Append" => "4",
"Array" => "4",
"As" => "4",
"Asc" => "4",
"Ascend" => "4",
"Asciiz" => "4",
"Asm" => "4",
"At" => "4",
"Atn" => "4",
"Attach" => "4",
"Attrib" => "4",
"Base" => "4",
"Baud" => "4",
"Bdecl" => "4",
"Beep" => "4",
"Bin$" => "4",
"Binary" => "4",
"Bit" => "4",
"Bits%" => "4",
"Bits&" => "4",
"Bits?" => "4",
"Bits??" => "4",
"Bits???" => "4",
"Break" => "4",
"ByCopy" => "4",
"ByRef" => "4",
"Byte" => "4",
"ByVal" => "4",
"Call" => "4",
"Case" => "4",
"CByt" => "4",
"CCur" => "4",
"CCux" => "4",
"Cd" => "4",
"CDbl" => "4",
"Cdecl" => "4",
"CDwd" => "4",
"Ceil" => "4",
"Cext" => "4",
"ChDir" => "4",
"ChDrive" => "4",
"Chr$" => "4",
"CInt" => "4",
"CLng" => "4",
"Close" => "4",
"Cls" => "4",
"CodePtr" => "4",
"Collate" => "4",
"Color" => "4",
"Comm" => "4",
"Command$" => "4",
"Con" => "4",
"ConsIn" => "4",
"ConsName$" => "4",
"Console" => "4",
"ConsOut" => "4",
"Cos" => "4",
"CQud" => "4",
"Create" => "4",
"CSng" => "4",
"CtsFlow" => "4",
"Cur" => "4",
"CurDir$" => "4",
"Currency" => "4",
"CurrencyX" => "4",
"Cursor" => "4",
"CursorX" => "4",
"CursorY" => "4",
"Cux" => "4",
"CvByt" => "4",
"CvCur" => "4",
"CvCux" => "4",
"Cvd" => "4",
"CvDwd" => "4",
"Cve" => "4",
"Cvi" => "4",
"Cvl" => "4",
"Cvq" => "4",
"Cvs" => "4",
"CvWrd" => "4",
"CWrd" => "4",
"Data" => "4",
"DataCount" => "4",
"Date$" => "4",
"Declare" => "4",
"Decr" => "4",
"Default" => "4",
"DefByt" => "4",
"DefCur" => "4",
"DefCux" => "4",
"DefDbl" => "4",
"DefDwd" => "4",
"DefExt" => "4",
"DefInt" => "4",
"DefLng" => "4",
"DefQud" => "4",
"DefSng" => "4",
"DefStr" => "4",
"DefWrd" => "4",
"Delete" => "4",
"Descend" => "4",
"Dim" => "4",
"Dir$" => "4",
"DiskFree" => "4",
"DiskSize" => "4",
"Dll" => "4",
"Do" => "4",
"Double" => "4",
"Down" => "4",
"DseFlow" => "4",
"DsrSens" => "4",
"DtrFlow" => "4",
"DtrLine" => "4",
"Dword" => "4",
"Else" => "4",
"ElseIf" => "4",
"End" => "4",
"Environ$" => "4",
"Eof" => "4",
"Eqv" => "4",
"Erase" => "4",
"Err" => "4",
"ErrApi" => "4",
"ErrClear" => "4",
"Error" => "4",
"Exe" => "4",
"Exit" => "4",
"Exp" => "4",
"Exp10" => "4",
"Exp2" => "4",
"Explicit" => "4",
"Export" => "4",
"Ext" => "4",
"Extended" => "4",
"Extract$" => "4",
"Far" => "4",
"FileAttr" => "4",
"FileCopy" => "4",
"FileName$" => "4",
"Fix" => "4",
"Flush" => "4",
"For" => "4",
"Format$" => "4",
"FormFeed" => "4",
"Frac" => "4",
"FreeFile" => "4",
"From" => "4",
"Function" => "4",
"Get" => "4",
"Get$" => "4",
"GetAttr" => "4",
"GetStdErr" => "4",
"GetStdIn" => "4",
"GetStdOut" => "4",
"Global" => "4",
"GoSub" => "4",
"GoTo" => "4",
"Handle" => "4",
"Hex$" => "4",
"HiByt" => "4",
"HiWrd" => "4",
"Host" => "4",
"Idn" => "4",
"If" => "4",
"Imp" => "4",
"In" => "4",
"Incr" => "4",
"InKey$" => "4",
"Input" => "4",
"Input#" => "4",
"Input$" => "4",
"Insert" => "4",
"InShift" => "4",
"InStat" => "4",
"Instr" => "4",
"Int" => "4",
"Integer" => "4",
"Inv" => "4",
"IsFalse" => "4",
"IsTrue" => "4",
"Iterate" => "4",
"Kill" => "4",
"LBound" => "4",
"LCase$" => "4",
"Left" => "4",
"Left$" => "4",
"Len" => "4",
"Let" => "4",
"Lib" => "4",
"Line" => "4",
"LoByt" => "4",
"Loc" => "4",
"Local" => "4",
"Locate" => "4",
"Lock" => "4",
"Lof" => "4",
"Log" => "4",
"Log10" => "4",
"Log2" => "4",
"Long" => "4",
"Loop" => "4",
"LoWrd" => "4",
"Lprint" => "4",
"Lprint$" => "4",
"Lset" => "4",
"Ltrim$" => "4",
"MakDwd" => "4",
"MakLng" => "4",
"MakPtr" => "4",
"Mat" => "4",
"Max" => "4",
"Max$" => "4",
"Max%" => "4",
"Max&" => "4",
"MCase$" => "4",
"Mid$" => "4",
"Min" => "4",
"Min$" => "4",
"Min%" => "4",
"Min&" => "4",
"MkByt$" => "4",
"MkCur$" => "4",
"MkCux$" => "4",
"Mkd$" => "4",
"MkDir" => "4",
"MkDwd$" => "4",
"Mke$" => "4",
"Mki$" => "4",
"Mkl$" => "4",
"Mkq$" => "4",
"Mks$" => "4",
"MkWrd$" => "4",
"Mod" => "4",
"Mouse" => "4",
"MouseButtons" => "4",
"MouseStat" => "4",
"MouseX" => "4",
"MouseY" => "4",
"Move" => "4",
"Name" => "4",
"Next" => "4",
"None" => "4",
"Not" => "4",
"Notify" => "4",
"Null" => "4",
"Oct$" => "4",
"Of" => "4",
"Off" => "4",
"On" => "4",
"Open" => "4",
"Option" => "4",
"Or" => "4",
"Output" => "4",
"Page" => "4",
"Parity" => "4",
"ParityChar" => "4",
"ParityRepl" => "4",
"ParityType" => "4",
"Parse$" => "4",
"ParseCount" => "4",
"Pbd" => "4",
"PbDebug" => "4",
"PbMain" => "4",
"Pcopy" => "4",
"Peek" => "4",
"Peek$" => "4",
"Pointer" => "4",
"Poke" => "4",
"Poke$" => "4",
"Port" => "4",
"Preserve" => "4",
"Print" => "4",
"Print#" => "4",
"Private" => "4",
"Ptr" => "4",
"Put" => "4",
"Put$" => "4",
"Quad" => "4",
"Random" => "4",
"Randomize" => "4",
"Read" => "4",
"Read$" => "4",
"Recv" => "4",
"ReDim" => "4",
"RegExpr" => "4",
"Register" => "4",
"RegRepl" => "4",
"Rem" => "4",
"Remain$" => "4",
"Remove$" => "4",
"Repeat$" => "4",
"Replace" => "4",
"Reset" => "4",
"Resume" => "4",
"Ret16" => "4",
"Ret32" => "4",
"Ret87" => "4",
"Retp16" => "4",
"Retp32" => "4",
"RetPrm" => "4",
"Return" => "4",
"Rgb" => "4",
"Right" => "4",
"Right$" => "4",
"Ring" => "4",
"Rlsd" => "4",
"RmDir" => "4",
"Rnd" => "4",
"Rotate" => "4",
"Round" => "4",
"Rset" => "4",
"Rtrim$" => "4",
"RtsFlow" => "4",
"RxBuffer" => "4",
"RxQue" => "4",
"Scan" => "4",
"Screen" => "4",
"ScreenAttr" => "4",
"ScreenX" => "4",
"ScreenY" => "4",
"Scroll" => "4",
"Sdecl" => "4",
"Seek" => "4",
"Select" => "4",
"Send" => "4",
"Set" => "4",
"SetAttr" => "4",
"SetEof" => "4",
"Sgn" => "4",
"Shared" => "4",
"Shell" => "4",
"Shift" => "4",
"Signed" => "4",
"Sin" => "4",
"Single" => "4",
"SizeOf" => "4",
"Sleep" => "4",
"Sort" => "4",
"Space$" => "4",
"Spc" => "4",
"Sqr" => "4",
"Static" => "4",
"Status" => "4",
"StdCall" => "4",
"StdEof" => "4",
"StdErr" => "4",
"StdIn" => "4",
"StdOut" => "4",
"Step" => "4",
"Str$" => "4",
"StrDelete$" => "4",
"String" => "4",
"String$" => "4",
"StrInsert$" => "4",
"Stop" => "4",
"StrPtr" => "4",
"StrReverse$" => "4",
"Sub" => "4",
"Suspend" => "4",
"Swap" => "4",
"Tab" => "4",
"TagArray" => "4",
"Tally" => "4",
"Tan" => "4",
"Tcp" => "4",
"Then" => "4",
"Thread" => "4",
"Time$" => "4",
"TimeOut" => "4",
"Timer" => "4",
"To" => "4",
"Toggle" => "4",
"Trim$" => "4",
"Trn" => "4",
"Type" => "4",
"TxBuffer" => "4",
"TxQue" => "4",
"UBound" => "4",
"Ucase" => "4",
"UCase$" => "4",
"Udp" => "4",
"Union" => "4",
"UnLock" => "4",
"Until" => "4",
"Up" => "4",
"Using" => "4",
"Val" => "4",
"VarPtr" => "4",
"Verify" => "4",
"Version3" => "4",
"Version4" => "4",
"Version5" => "4",
"WaitKey$" => "4",
"WaitStat" => "4",
"Wend" => "4",
"While" => "4",
"Width" => "4",
"With" => "4",
"Word" => "4",
"Write" => "4",
"XinpFlow" => "4",
"XoutFlow" => "4",
"Xor" => "4",
"Zer" => "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",
"3" => "donothing",
"4" => "donothing");
}

+ Here is the call graph for this function:


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