![]() |
Paradox Game Engine
v1.0.0 beta06
|
Public Member Functions | |
ScriptInterpreter (Grammar grammar) | |
ScriptInterpreter (LanguageData language) | |
void | Evaluate (string script) |
void | Evaluate (ParseTree parsedScript) |
void | Evaluate () |
void | EvaluateAsync (string script) |
void | EvaluateAsync (ParseTree parsedScript) |
void | EvaluateAsync () |
bool | IsBusy () |
string | GetOutput () |
void | ClearOutputBuffer () |
ParserMessageList | GetParserMessages () |
void | Abort () |
Public Attributes | |
readonly LanguageData | Language |
readonly LanguageRuntime | Runtime |
readonly EvaluationContext | EvaluationContext |
readonly Parser | Parser |
bool | RethrowExceptions = true |
bool | PrintParseErrors = true |
Properties | |
Thread | WorkerThread [get, set] |
Exception | LastException [get, set] |
InterpreterStatus | Status [get, set] |
ParseMode | ParseMode [get, set] |
ValuesTable | Globals [get] |
string | Script [get, set] |
ParseTree | ParsedScript [get, set] |
Definition at line 32 of file ScriptInterpreter.cs.
Irony.Interpreter.ScriptInterpreter.ScriptInterpreter | ( | Grammar | grammar | ) |
Definition at line 59 of file ScriptInterpreter.cs.
Irony.Interpreter.ScriptInterpreter.ScriptInterpreter | ( | LanguageData | language | ) |
Definition at line 61 of file ScriptInterpreter.cs.
void Irony.Interpreter.ScriptInterpreter.Abort | ( | ) |
Definition at line 140 of file ScriptInterpreter.cs.
void Irony.Interpreter.ScriptInterpreter.ClearOutputBuffer | ( | ) |
Definition at line 129 of file ScriptInterpreter.cs.
void Irony.Interpreter.ScriptInterpreter.Evaluate | ( | string | script | ) |
Definition at line 71 of file ScriptInterpreter.cs.
void Irony.Interpreter.ScriptInterpreter.Evaluate | ( | ParseTree | parsedScript | ) |
Definition at line 75 of file ScriptInterpreter.cs.
void Irony.Interpreter.ScriptInterpreter.Evaluate | ( | ) |
Definition at line 79 of file ScriptInterpreter.cs.
void Irony.Interpreter.ScriptInterpreter.EvaluateAsync | ( | string | script | ) |
Definition at line 88 of file ScriptInterpreter.cs.
void Irony.Interpreter.ScriptInterpreter.EvaluateAsync | ( | ParseTree | parsedScript | ) |
Definition at line 92 of file ScriptInterpreter.cs.
void Irony.Interpreter.ScriptInterpreter.EvaluateAsync | ( | ) |
Definition at line 96 of file ScriptInterpreter.cs.
string Irony.Interpreter.ScriptInterpreter.GetOutput | ( | ) |
Definition at line 126 of file ScriptInterpreter.cs.
ParserMessageList Irony.Interpreter.ScriptInterpreter.GetParserMessages | ( | ) |
Definition at line 133 of file ScriptInterpreter.cs.
bool Irony.Interpreter.ScriptInterpreter.IsBusy | ( | ) |
Definition at line 122 of file ScriptInterpreter.cs.
readonly EvaluationContext Irony.Interpreter.ScriptInterpreter.EvaluationContext |
Definition at line 36 of file ScriptInterpreter.cs.
readonly LanguageData Irony.Interpreter.ScriptInterpreter.Language |
Definition at line 34 of file ScriptInterpreter.cs.
readonly Parser Irony.Interpreter.ScriptInterpreter.Parser |
Definition at line 37 of file ScriptInterpreter.cs.
bool Irony.Interpreter.ScriptInterpreter.PrintParseErrors = true |
Definition at line 45 of file ScriptInterpreter.cs.
bool Irony.Interpreter.ScriptInterpreter.RethrowExceptions = true |
Definition at line 44 of file ScriptInterpreter.cs.
readonly LanguageRuntime Irony.Interpreter.ScriptInterpreter.Runtime |
Definition at line 35 of file ScriptInterpreter.cs.
|
get |
Definition at line 50 of file ScriptInterpreter.cs.
|
getset |
Definition at line 40 of file ScriptInterpreter.cs.
|
getset |
Definition at line 114 of file ScriptInterpreter.cs.
|
getset |
Definition at line 46 of file ScriptInterpreter.cs.
|
getset |
Definition at line 105 of file ScriptInterpreter.cs.
|
getset |
Definition at line 42 of file ScriptInterpreter.cs.
|
getset |
Definition at line 39 of file ScriptInterpreter.cs.