C# Class IronLua.Compiler.Scope

Show file Open project: ericmj/IronLua Class Usage Examples

Public Methods

Method Description
AddLocal ( string name, Type type = null ) : System.Linq.Expressions.ParameterExpression
AllLocals ( ) : ParamExpr[]
BreakLabel ( ) : LabelTarget
CreateChild ( Scope parent ) : Scope
CreateFunctionChild ( Scope parent ) : Scope
CreateRoot ( ) : Scope
GetReturnLabel ( ) : LabelTarget
TryGetLocal ( string name, System.Linq.Expressions.ParameterExpression &local ) : bool

Private Methods

Method Description
Scope ( ) : System

Method Details

AddLocal() public method

public AddLocal ( string name, Type type = null ) : System.Linq.Expressions.ParameterExpression
name string
type System.Type
return System.Linq.Expressions.ParameterExpression

AllLocals() public method

public AllLocals ( ) : ParamExpr[]
return ParamExpr[]

BreakLabel() public method

public BreakLabel ( ) : LabelTarget
return System.Linq.Expressions.LabelTarget

CreateChild() public static method

public static CreateChild ( Scope parent ) : Scope
parent Scope
return Scope

CreateFunctionChild() public static method

public static CreateFunctionChild ( Scope parent ) : Scope
parent Scope
return Scope

CreateRoot() public static method

public static CreateRoot ( ) : Scope
return Scope

GetReturnLabel() public method

public GetReturnLabel ( ) : LabelTarget
return System.Linq.Expressions.LabelTarget

TryGetLocal() public method

public TryGetLocal ( string name, System.Linq.Expressions.ParameterExpression &local ) : bool
name string
local System.Linq.Expressions.ParameterExpression
return bool