C# Class _5_CompilingByteCode.ByteCodeInterpreter

显示文件 Open project: GHScan/DailyProjects Class Usage Examples

Public Methods

Method Description
Instance ( ) : ByteCodeInterpreter
Interpret ( object exp ) : object
SetMaxStackDepth ( int evalStackDepth, int stackFrameCount ) : void

Private Methods

Method Description
ByteCodeInterpreter ( ) : System
CompileToByteCode ( ASTNode_Lambda node ) : ScriptProcedureMeta

Method Details

Instance() public static method

public static Instance ( ) : ByteCodeInterpreter
return ByteCodeInterpreter

Interpret() public method

public Interpret ( object exp ) : object
exp object
return object

SetMaxStackDepth() public method

public SetMaxStackDepth ( int evalStackDepth, int stackFrameCount ) : void
evalStackDepth int
stackFrameCount int
return void