C# 클래스 Rhino.Ast.GeneratorExpression

상속: Scope
파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

공개 메소드들

메소드 설명
AddLoop ( GeneratorExpressionLoop acl ) : void

Adds a child loop node, and sets its parent to this node.

Adds a child loop node, and sets its parent to this node.

GeneratorExpression ( ) : System.Collections.Generic
GeneratorExpression ( int pos ) : System.Collections.Generic
GeneratorExpression ( int pos, int len ) : System.Collections.Generic
GetFilter ( ) : AstNode

Returns filter expression, or null if not present

GetFilterLp ( ) : int

Returns filter left paren position, or -1 if no filter

GetFilterRp ( ) : int

Returns filter right paren position, or -1 if no filter

GetIfPosition ( ) : int

Returns position of 'if' keyword, -1 if not present

GetLoops ( ) : IList

Returns loop list

GetResult ( ) : AstNode

Returns result expression node (just after opening bracket)

SetFilter ( AstNode filter ) : void

Sets filter expression, and sets its parent to this node.

Sets filter expression, and sets its parent to this node. Can be null .

SetFilterLp ( int lp ) : void

Sets filter left paren position, or -1 if no filter

SetFilterRp ( int rp ) : void

Sets filter right paren position, or -1 if no filter

SetIfPosition ( int ifPosition ) : void

Sets position of 'if' keyword

SetLoops ( IList loops ) : void

Sets loop list

SetResult ( AstNode result ) : void

Sets result expression, and sets its parent to this node.

Sets result expression, and sets its parent to this node.

ToSource ( int depth ) : string
Visit ( NodeVisitor v ) : void

Visits this node, the result expression, the loops, and the optional filter.

Visits this node, the result expression, the loops, and the optional filter.

메소드 상세

AddLoop() 공개 메소드

Adds a child loop node, and sets its parent to this node.
Adds a child loop node, and sets its parent to this node.
/// if acl is /// null ///
public AddLoop ( GeneratorExpressionLoop acl ) : void
acl GeneratorExpressionLoop
리턴 void

GeneratorExpression() 공개 메소드

public GeneratorExpression ( ) : System.Collections.Generic
리턴 System.Collections.Generic

GeneratorExpression() 공개 메소드

public GeneratorExpression ( int pos ) : System.Collections.Generic
pos int
리턴 System.Collections.Generic

GeneratorExpression() 공개 메소드

public GeneratorExpression ( int pos, int len ) : System.Collections.Generic
pos int
len int
리턴 System.Collections.Generic

GetFilter() 공개 메소드

Returns filter expression, or null if not present
public GetFilter ( ) : AstNode
리턴 AstNode

GetFilterLp() 공개 메소드

Returns filter left paren position, or -1 if no filter
public GetFilterLp ( ) : int
리턴 int

GetFilterRp() 공개 메소드

Returns filter right paren position, or -1 if no filter
public GetFilterRp ( ) : int
리턴 int

GetIfPosition() 공개 메소드

Returns position of 'if' keyword, -1 if not present
public GetIfPosition ( ) : int
리턴 int

GetLoops() 공개 메소드

Returns loop list
public GetLoops ( ) : IList
리턴 IList

GetResult() 공개 메소드

Returns result expression node (just after opening bracket)
public GetResult ( ) : AstNode
리턴 AstNode

SetFilter() 공개 메소드

Sets filter expression, and sets its parent to this node.
Sets filter expression, and sets its parent to this node. Can be null .
public SetFilter ( AstNode filter ) : void
filter AstNode
리턴 void

SetFilterLp() 공개 메소드

Sets filter left paren position, or -1 if no filter
public SetFilterLp ( int lp ) : void
lp int
리턴 void

SetFilterRp() 공개 메소드

Sets filter right paren position, or -1 if no filter
public SetFilterRp ( int rp ) : void
rp int
리턴 void

SetIfPosition() 공개 메소드

Sets position of 'if' keyword
public SetIfPosition ( int ifPosition ) : void
ifPosition int
리턴 void

SetLoops() 공개 메소드

Sets loop list
/// if loops is /// null ///
public SetLoops ( IList loops ) : void
loops IList
리턴 void

SetResult() 공개 메소드

Sets result expression, and sets its parent to this node.
Sets result expression, and sets its parent to this node.
/// if result is /// null ///
public SetResult ( AstNode result ) : void
result AstNode
리턴 void

ToSource() 공개 메소드

public ToSource ( int depth ) : string
depth int
리턴 string

Visit() 공개 메소드

Visits this node, the result expression, the loops, and the optional filter.
Visits this node, the result expression, the loops, and the optional filter.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
리턴 void