C# Class Irony.Interpreter.ScriptInterpreter

Mostra file Open project: o2platform/O2.Platform.Projects Class Usage Examples

Public Properties

Property Type Description
EvaluationContext EvaluationContext
Language Irony.Parsing.LanguageData
Parser Irony.Parsing.Parser
PrintParseErrors bool
RethrowExceptions bool
Runtime LanguageRuntime

Public Methods

Method Description
Abort ( ) : void
ClearOutputBuffer ( ) : void
Evaluate ( ) : void
Evaluate ( ParseTree parsedScript ) : void
Evaluate ( string script ) : void
EvaluateAsync ( ) : void
EvaluateAsync ( ParseTree parsedScript ) : void
EvaluateAsync ( string script ) : void
GetOutput ( ) : string
GetParserMessages ( ) : ParserMessageList
IsBusy ( ) : bool
ScriptInterpreter ( Grammar grammar ) : System
ScriptInterpreter ( Irony.Parsing.LanguageData language ) : System

Private Methods

Method Description
AsyncThreadStart ( object data ) : void
Check ( bool condition, string message ) : void
CheckNotBusy ( ) : void
CheckParseStatus ( ) : bool
EvaluateParsedScript ( ) : void
GetAstInterface ( ) : IInterpretedAstNode
ParseAndEvaluate ( ) : void

Method Details

Abort() public method

public Abort ( ) : void
return void

ClearOutputBuffer() public method

public ClearOutputBuffer ( ) : void
return void

Evaluate() public method

public Evaluate ( ) : void
return void

Evaluate() public method

public Evaluate ( ParseTree parsedScript ) : void
parsedScript Irony.Parsing.ParseTree
return void

Evaluate() public method

public Evaluate ( string script ) : void
script string
return void

EvaluateAsync() public method

public EvaluateAsync ( ) : void
return void

EvaluateAsync() public method

public EvaluateAsync ( ParseTree parsedScript ) : void
parsedScript Irony.Parsing.ParseTree
return void

EvaluateAsync() public method

public EvaluateAsync ( string script ) : void
script string
return void

GetOutput() public method

public GetOutput ( ) : string
return string

GetParserMessages() public method

public GetParserMessages ( ) : ParserMessageList
return ParserMessageList

IsBusy() public method

public IsBusy ( ) : bool
return bool

ScriptInterpreter() public method

public ScriptInterpreter ( Grammar grammar ) : System
grammar Irony.Parsing.Grammar
return System

ScriptInterpreter() public method

public ScriptInterpreter ( Irony.Parsing.LanguageData language ) : System
language Irony.Parsing.LanguageData
return System

Property Details

EvaluationContext public_oe property

public EvaluationContext,Irony.Interpreter EvaluationContext
return EvaluationContext

Language public_oe property

public LanguageData,Irony.Parsing Language
return Irony.Parsing.LanguageData

Parser public_oe property

public Parser,Irony.Parsing Parser
return Irony.Parsing.Parser

PrintParseErrors public_oe property

public bool PrintParseErrors
return bool

RethrowExceptions public_oe property

public bool RethrowExceptions
return bool

Runtime public_oe property

public LanguageRuntime,Irony.Interpreter Runtime
return LanguageRuntime