C# 클래스 Rhino.Ast.ParenthesizedExpression

AST node for a parenthesized expression.
AST node for a parenthesized expression. Node type is Rhino.Token.LP .

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

공개 메소드들

메소드 설명
GetExpression ( ) : AstNode

Returns the expression between the parens

ParenthesizedExpression ( ) : Rhino
ParenthesizedExpression ( AstNode expr ) : Rhino
ParenthesizedExpression ( int pos ) : Rhino
ParenthesizedExpression ( int pos, int len ) : Rhino
ParenthesizedExpression ( int pos, int len, AstNode expr ) : Rhino
SetExpression ( AstNode expression ) : void

Sets the expression between the parens, and sets the parent to this node.

Sets the expression between the parens, and sets the parent to this node.

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

Visits this node, then the child expression.

Visits this node, then the child expression.

메소드 상세

GetExpression() 공개 메소드

Returns the expression between the parens
public GetExpression ( ) : AstNode
리턴 AstNode

ParenthesizedExpression() 공개 메소드

public ParenthesizedExpression ( ) : Rhino
리턴 Rhino

ParenthesizedExpression() 공개 메소드

public ParenthesizedExpression ( AstNode expr ) : Rhino
expr AstNode
리턴 Rhino

ParenthesizedExpression() 공개 메소드

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

ParenthesizedExpression() 공개 메소드

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

ParenthesizedExpression() 공개 메소드

public ParenthesizedExpression ( int pos, int len, AstNode expr ) : Rhino
pos int
len int
expr AstNode
리턴 Rhino

SetExpression() 공개 메소드

Sets the expression between the parens, and sets the parent to this node.
Sets the expression between the parens, and sets the parent to this node.
/// } if expression is /// null ///
public SetExpression ( AstNode expression ) : void
expression AstNode the expression between the parens
리턴 void

ToSource() 공개 메소드

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

Visit() 공개 메소드

Visits this node, then the child expression.
Visits this node, then the child expression.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
리턴 void