C# 클래스 IronRuby.Compiler.Ast.ScopeBuilder

파일 보기 프로젝트 열기: jschementi/iron 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetClosure System.Linq.Expressions.ParameterExpression
MakeLocalsTupleType System.Type

공개 메소드들

메소드 설명
AddHidden ( System.Linq.Expressions variable ) : System.Linq.Expressions.ParameterExpression
CreateScope ( System.Linq.Expressions body ) : Expression
CreateScope ( System.Linq.Expressions scopeVariable, System.Linq.Expressions scopeInitializer, System.Linq.Expressions body ) : Expression
DefineHiddenVariable ( string name, Type type ) : System.Linq.Expressions.ParameterExpression
GetConstantSiteCacheVariables ( System.Linq.Expressions &cacheVar, System.Linq.Expressions &valueVar ) : void
GetIsDefinedConstantSiteCacheVariables ( System.Linq.Expressions &cacheVar ) : void
GetVariableAccessor ( System.Linq.Expressions tupleVariable, int tupleFieldIndex ) : Expression
GetVariableAccessor ( int definitionLexicalDepth, int closureIndex ) : Expression
GetVariableNamesExpression ( ) : Expression
MakeLocalsStorage ( ) : Expression
ScopeBuilder ( AstParameters parameters, int firstClosureParam, int localCount, ScopeBuilder parent, LexicalScope lexicalScope ) : System
ScopeBuilder ( int localCount, ScopeBuilder parent, LexicalScope lexicalScope ) : System

비공개 메소드들

메소드 설명
GetClosure ( int definitionDepth ) : System.Linq.Expressions.ParameterExpression
MakeLocalsTupleType ( ) : Type

메소드 상세

AddHidden() 공개 메소드

public AddHidden ( System.Linq.Expressions variable ) : System.Linq.Expressions.ParameterExpression
variable System.Linq.Expressions
리턴 System.Linq.Expressions.ParameterExpression

CreateScope() 공개 메소드

public CreateScope ( System.Linq.Expressions body ) : Expression
body System.Linq.Expressions
리턴 System.Linq.Expressions.Expression

CreateScope() 공개 메소드

public CreateScope ( System.Linq.Expressions scopeVariable, System.Linq.Expressions scopeInitializer, System.Linq.Expressions body ) : Expression
scopeVariable System.Linq.Expressions
scopeInitializer System.Linq.Expressions
body System.Linq.Expressions
리턴 System.Linq.Expressions.Expression

DefineHiddenVariable() 공개 메소드

public DefineHiddenVariable ( string name, Type type ) : System.Linq.Expressions.ParameterExpression
name string
type System.Type
리턴 System.Linq.Expressions.ParameterExpression

GetConstantSiteCacheVariables() 공개 메소드

public GetConstantSiteCacheVariables ( System.Linq.Expressions &cacheVar, System.Linq.Expressions &valueVar ) : void
cacheVar System.Linq.Expressions
valueVar System.Linq.Expressions
리턴 void

GetIsDefinedConstantSiteCacheVariables() 공개 메소드

public GetIsDefinedConstantSiteCacheVariables ( System.Linq.Expressions &cacheVar ) : void
cacheVar System.Linq.Expressions
리턴 void

GetVariableAccessor() 공개 정적인 메소드

public static GetVariableAccessor ( System.Linq.Expressions tupleVariable, int tupleFieldIndex ) : Expression
tupleVariable System.Linq.Expressions
tupleFieldIndex int
리턴 System.Linq.Expressions.Expression

GetVariableAccessor() 공개 메소드

public GetVariableAccessor ( int definitionLexicalDepth, int closureIndex ) : Expression
definitionLexicalDepth int
closureIndex int
리턴 System.Linq.Expressions.Expression

GetVariableNamesExpression() 공개 메소드

public GetVariableNamesExpression ( ) : Expression
리턴 System.Linq.Expressions.Expression

MakeLocalsStorage() 공개 메소드

public MakeLocalsStorage ( ) : Expression
리턴 System.Linq.Expressions.Expression

ScopeBuilder() 공개 메소드

public ScopeBuilder ( AstParameters parameters, int firstClosureParam, int localCount, ScopeBuilder parent, LexicalScope lexicalScope ) : System
parameters AstParameters
firstClosureParam int
localCount int
parent ScopeBuilder
lexicalScope LexicalScope
리턴 System

ScopeBuilder() 공개 메소드

public ScopeBuilder ( int localCount, ScopeBuilder parent, LexicalScope lexicalScope ) : System
localCount int
parent ScopeBuilder
lexicalScope LexicalScope
리턴 System