C# 클래스 System.Linq.Expressions.Interpreter.LocalVariables

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

Private Properties

프로퍼티 타입 설명
AddClosureVariable LocalVariable
Box void
ContainsVariable bool
CopyLocals LocalVariable>.Dictionary
LocalVariables System.Collections.Generic

공개 메소드들

메소드 설명
DefineLocal ( ParameterExpression variable, int start ) : LocalDefinition
GetLocalIndex ( ParameterExpression var ) : int
GetOrDefineLocal ( ParameterExpression var ) : int
TryGetLocalOrClosure ( ParameterExpression var, LocalVariable &local ) : bool
UndefineLocal ( LocalDefinition definition, int end ) : void

비공개 메소드들

메소드 설명
AddClosureVariable ( ParameterExpression variable ) : LocalVariable
Box ( ParameterExpression variable, System.Linq.Expressions.Interpreter.InstructionList instructions ) : void
ContainsVariable ( ParameterExpression variable ) : bool

Checks to see if the given variable is defined within the current local scope.

CopyLocals ( ) : LocalVariable>.Dictionary

Gets a copy of the local variables which are defined in the current scope.

LocalVariables ( ) : System.Collections.Generic

메소드 상세

DefineLocal() 공개 메소드

public DefineLocal ( ParameterExpression variable, int start ) : LocalDefinition
variable ParameterExpression
start int
리턴 LocalDefinition

GetLocalIndex() 공개 메소드

public GetLocalIndex ( ParameterExpression var ) : int
var ParameterExpression
리턴 int

GetOrDefineLocal() 공개 메소드

public GetOrDefineLocal ( ParameterExpression var ) : int
var ParameterExpression
리턴 int

TryGetLocalOrClosure() 공개 메소드

public TryGetLocalOrClosure ( ParameterExpression var, LocalVariable &local ) : bool
var ParameterExpression
local LocalVariable
리턴 bool

UndefineLocal() 공개 메소드

public UndefineLocal ( LocalDefinition definition, int end ) : void
definition LocalDefinition
end int
리턴 void