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
Afficher le fichier Open project: hazzik/Rhino.Net Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Returns the expression between the parens
public GetExpression ( ) : AstNode
Résultat AstNode

ParenthesizedExpression() public méthode

public ParenthesizedExpression ( ) : Rhino
Résultat Rhino

ParenthesizedExpression() public méthode

public ParenthesizedExpression ( AstNode expr ) : Rhino
expr AstNode
Résultat Rhino

ParenthesizedExpression() public méthode

public ParenthesizedExpression ( int pos ) : Rhino
pos int
Résultat Rhino

ParenthesizedExpression() public méthode

public ParenthesizedExpression ( int pos, int len ) : Rhino
pos int
len int
Résultat Rhino

ParenthesizedExpression() public méthode

public ParenthesizedExpression ( int pos, int len, AstNode expr ) : Rhino
pos int
len int
expr AstNode
Résultat Rhino

SetExpression() public méthode

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
Résultat void

ToSource() public méthode

public ToSource ( int depth ) : string
depth int
Résultat string

Visit() public méthode

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