Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
Irony.Interpreter.ScriptInterpreter Class Reference

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]
 

Detailed Description

Definition at line 32 of file ScriptInterpreter.cs.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

Member Data Documentation

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.

Property Documentation

ValuesTable Irony.Interpreter.ScriptInterpreter.Globals
get

Definition at line 50 of file ScriptInterpreter.cs.

Exception Irony.Interpreter.ScriptInterpreter.LastException
getset

Definition at line 40 of file ScriptInterpreter.cs.

ParseTree Irony.Interpreter.ScriptInterpreter.ParsedScript
getset

Definition at line 114 of file ScriptInterpreter.cs.

ParseMode Irony.Interpreter.ScriptInterpreter.ParseMode
getset

Definition at line 46 of file ScriptInterpreter.cs.

string Irony.Interpreter.ScriptInterpreter.Script
getset

Definition at line 105 of file ScriptInterpreter.cs.

InterpreterStatus Irony.Interpreter.ScriptInterpreter.Status
getset

Definition at line 42 of file ScriptInterpreter.cs.

Thread Irony.Interpreter.ScriptInterpreter.WorkerThread
getset

Definition at line 39 of file ScriptInterpreter.cs.


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