C# Класс Rhino.Ast.ParenthesizedExpression

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

Наследование: AstNode
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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