C# 클래스 Rhino.Ast.Yield

AST node for JavaScript 1.7 yield expression or statement. Node type is Rhino.Token.YIELD .

Yield : yield [no LineTerminator here] [non-paren Expression] ;
상속: AstNode
파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

공개 메소드들

메소드 설명
GetValue ( ) : AstNode

Returns yielded expression, null if none

SetValue ( AstNode expr ) : void

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

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

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

Visits this node, and if present, the yielded value.

Visits this node, and if present, the yielded value.

Yield ( ) : Rhino
Yield ( int pos ) : Rhino
Yield ( int pos, int len ) : Rhino
Yield ( int pos, int len, AstNode value ) : Rhino

메소드 상세

GetValue() 공개 메소드

Returns yielded expression, null if none
public GetValue ( ) : AstNode
리턴 AstNode

SetValue() 공개 메소드

Sets yielded expression, and sets its parent to this node.
Sets yielded expression, and sets its parent to this node.
public SetValue ( AstNode expr ) : void
expr AstNode /// the value to yield. Can be /// null /// . ///
리턴 void

ToSource() 공개 메소드

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

Visit() 공개 메소드

Visits this node, and if present, the yielded value.
Visits this node, and if present, the yielded value.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
리턴 void

Yield() 공개 메소드

public Yield ( ) : Rhino
리턴 Rhino

Yield() 공개 메소드

public Yield ( int pos ) : Rhino
pos int
리턴 Rhino

Yield() 공개 메소드

public Yield ( int pos, int len ) : Rhino
pos int
len int
리턴 Rhino

Yield() 공개 메소드

public Yield ( int pos, int len, AstNode value ) : Rhino
pos int
len int
value AstNode
리턴 Rhino