C# 클래스 Lens.SyntaxTree.ControlFlow.ForeachNode

상속: NodeBase
파일 보기 프로젝트 열기: impworks/lens 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( object obj ) : bool
GetHashCode ( ) : int

보호된 메소드들

메소드 설명
Equals ( ForeachNode other ) : bool
expand ( Lens.Compiler.Context ctx, bool mustReturn ) : NodeBase
getChildren ( ) : IEnumerable
resolve ( Lens.Compiler.Context ctx, bool mustReturn ) : Type

비공개 메소드들

메소드 설명
detectEnumerableType ( Lens.Compiler.Context ctx ) : void

Calculates the variable type and other required values for enumeration of an IEnumerable`1.

detectRangeType ( Lens.Compiler.Context ctx ) : void

Calculates the variable type of a numeric range iteration.

expandArray ( Lens.Compiler.Context ctx ) : NodeBase

Expands the foreach loop if it iterates over T[].

expandEnumerable ( Lens.Compiler.Context ctx, bool mustReturn ) : NodeBase

Expands the foreach loop if it iterates over an IEnumerable`1.

expandRange ( Lens.Compiler.Context ctx ) : NodeBase

Expands the foreach loop if it iterates over a numeric range.

getIndexAssignment ( NodeBase indexGetter ) : NodeBase

Gets the expression for saving the value at an index to a variable.

메소드 상세

Equals() 보호된 메소드

protected Equals ( ForeachNode other ) : bool
other ForeachNode
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

expand() 보호된 메소드

protected expand ( Lens.Compiler.Context ctx, bool mustReturn ) : NodeBase
ctx Lens.Compiler.Context
mustReturn bool
리턴 NodeBase

getChildren() 보호된 메소드

protected getChildren ( ) : IEnumerable
리턴 IEnumerable

resolve() 보호된 메소드

protected resolve ( Lens.Compiler.Context ctx, bool mustReturn ) : Type
ctx Lens.Compiler.Context
mustReturn bool
리턴 System.Type