C# Class ScriptNET.Ast.ScriptAst

Base class for Script.NET Ast's nodes
Inheritance: AstNode
Mostrar archivo Open project: Zepheus/Fiesta_Utils Class Usage Examples

Public Methods

Method Description
Code ( ) : string

Returns Source code for given AST

ConcreteSyntaxTree ( ) : string

Returns string representing concrete syntax tree

Evaluate ( IScriptContext context ) : void

Evaluates script

Execute ( IScriptContext context ) : object

Evaluates all child nodes

ScriptAst ( AstNodeArgs args ) : Irony.Compiler

Base constructor

Private Methods

Method Description
ConcreteSyntaxTree ( string inted ) : string

Method Details

Code() public method

Returns Source code for given AST
public Code ( ) : string
return string

ConcreteSyntaxTree() public method

Returns string representing concrete syntax tree
public ConcreteSyntaxTree ( ) : string
return string

Evaluate() public method

Evaluates script
public Evaluate ( IScriptContext context ) : void
context IScriptContext
return void

Execute() public method

Evaluates all child nodes
public Execute ( IScriptContext context ) : object
context IScriptContext
return object

ScriptAst() public method

Base constructor
public ScriptAst ( AstNodeArgs args ) : Irony.Compiler
args Irony.Compiler.AstNodeArgs AstNodeList
return Irony.Compiler