C# Class Rhino.Ast.Block

A block statement delimited by curly braces.
A block statement delimited by curly braces. The node position is the position of the open-curly, and the length extends to the position of the close-curly. Node type is Rhino.Token.BLOCK .
Block : { Statement* }
Inheritance: AstNode
Show file Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method Description
AddStatement ( AstNode statement ) : void

Alias for AstNode.AddChild(AstNode) .

Block ( ) : System.Text
Block ( int pos ) : System.Text
Block ( int pos, int len ) : System.Text
ToSource ( int depth ) : string
Visit ( NodeVisitor v ) : void

Method Details

AddStatement() public method

Alias for AstNode.AddChild(AstNode) .
public AddStatement ( AstNode statement ) : void
statement AstNode
return void

Block() public method

public Block ( ) : System.Text
return System.Text

Block() public method

public Block ( int pos ) : System.Text
pos int
return System.Text

Block() public method

public Block ( int pos, int len ) : System.Text
pos int
len int
return System.Text

ToSource() public method

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

Visit() public method

public Visit ( NodeVisitor v ) : void
v NodeVisitor
return void