C# Class Veil.Parser.Nodes.BlockNode

A node that contains a sequence of other nodes
Inheritance: SyntaxTreeNode
Show file Open project: namics/TerrificNet Class Usage Examples

Public Methods

Method Description
Add ( SyntaxTreeNode node ) : void

Adds a new node to the block

AddRange ( IEnumerable nodes ) : void

Adds a set of nodes to the block

IsEmpty ( ) : bool

Determines if there are any nodes in the block already

LastNode ( ) : SyntaxTreeNode

Returns the last node in the block

Method Details

Add() public method

Adds a new node to the block
public Add ( SyntaxTreeNode node ) : void
node SyntaxTreeNode
return void

AddRange() public method

Adds a set of nodes to the block
public AddRange ( IEnumerable nodes ) : void
nodes IEnumerable
return void

IsEmpty() public method

Determines if there are any nodes in the block already
public IsEmpty ( ) : bool
return bool

LastNode() public method

Returns the last node in the block
public LastNode ( ) : SyntaxTreeNode
return SyntaxTreeNode