C# Class Rhino.Ast.ParenthesizedExpression

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

Inheritance: AstNode
Show file Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method Description
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.

Method Details

GetExpression() public method

Returns the expression between the parens
public GetExpression ( ) : AstNode
return AstNode

ParenthesizedExpression() public method

public ParenthesizedExpression ( ) : Rhino
return Rhino

ParenthesizedExpression() public method

public ParenthesizedExpression ( AstNode expr ) : Rhino
expr AstNode
return Rhino

ParenthesizedExpression() public method

public ParenthesizedExpression ( int pos ) : Rhino
pos int
return Rhino

ParenthesizedExpression() public method

public ParenthesizedExpression ( int pos, int len ) : Rhino
pos int
len int
return Rhino

ParenthesizedExpression() public method

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

SetExpression() public method

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
return void

ToSource() public method

public ToSource ( int depth ) : string
depth int
return string

Visit() public method

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