Class Tools.Hilfe.Evaluator
- Description
This class implements the actual Hilfe interpreter. It is accessible as ___Hilfe from Hilfe expressions.
- Variable
assembler_debug_level
int
Tools.Hilfe.Evaluator.assembler_debug_level- Description
The current assembler debug level. Only available if Pike is compiled with RTL debug.
- Variable
commands
mapping
(string
:Command
) Tools.Hilfe.Evaluator.commands- Description
This mapping contains the available Hilfe commands, including the built in ones (dump, exit, help, new, quit), so it is possible to replace or remove them. The name of a command should be 10 characters or less.
- Variable
compiler_trace_level
int
Tools.Hilfe.Evaluator.compiler_trace_level- Description
The current compiler trace level. Only available if Pike is compiled with RTL debug.
- Variable
constants
mapping
(string
:mixed
) Tools.Hilfe.Evaluator.constants- Description
The locally defined constants (name:value).
- Variable
debug_level
int
Tools.Hilfe.Evaluator.debug_level- Description
The current debug level. Only available if Pike is compiled with RTL debug.
- Variable
functions
mapping
(string
:function
(:void
)) Tools.Hilfe.Evaluator.functions- Description
The locally defined functions (name:value).
- Variable
history
HilfeHistory
Tools.Hilfe.Evaluator.history- Description
The current result history.
- Variable
last_compile_time
int(0..)
Tools.Hilfe.Evaluator.last_compile_time- Description
The last compile time;
- Variable
last_compiled_expr
string
Tools.Hilfe.Evaluator.last_compiled_expr- Description
The last created wrapper in which an expression was evaluated.
- Variable
last_else
bool
Tools.Hilfe.Evaluator.last_else- Description
Should an else expression be carried out?
- Variable
last_eval_time
int(0..)
Tools.Hilfe.Evaluator.last_eval_time- Description
The last evaluation time;
- Variable
programs
mapping
(string
:program
) Tools.Hilfe.Evaluator.programs- Description
The locally defined programs (name:value).
- Variable
reswrite
function
(:void
) Tools.Hilfe.Evaluator.reswrite- Description
The function used to write results. Gets as arguments in order: The safe_write function (function(string, mixed ...:int), the result as a string (string), the history entry number (int), the result (mixed), the compilation time (int) and the evaluation time (int). If the evaluated expression didn't return anything (e.g. a for loop) then 0 will be given as the result string.
- Variable
state
ParserState
Tools.Hilfe.Evaluator.state- Description
Keeps the state, e.g. multiline input in process etc.
- Variable
types
mapping
(string
:string
) Tools.Hilfe.Evaluator.types- Description
The types of the locally defined variables (name:type).
- Variable
variables
mapping
(string
:mixed
) Tools.Hilfe.Evaluator.variables- Description
The locally defined variables (name:value).