C# Class Rhino.Ast.EmptyExpression

AST node for an empty expression.
AST node for an empty expression. Node type is Rhino.Token.EMPTY .

To create an empty statement, wrap it with an ExpressionStatement .

Inheritance: AstNode
Exibir arquivo Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method Description
EmptyExpression ( ) : Rhino
EmptyExpression ( int pos ) : Rhino
EmptyExpression ( int pos, int len ) : Rhino
ToSource ( int depth ) : string
Visit ( NodeVisitor v ) : void

Visits this node.

Visits this node. There are no children.

Method Details

EmptyExpression() public method

public EmptyExpression ( ) : Rhino
return Rhino

EmptyExpression() public method

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

EmptyExpression() public method

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

ToSource() public method

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

Visit() public method

Visits this node.
Visits this node. There are no children.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
return void