Class: Node

Tree.Node

Abstract base class for all Tree.Tree node types.

Constructor

(abstract) new Node()

Source:

Members

child :Tree.Node

The node that comes after this node in the Tree.Tree. This will be undefined for the Tree.TerminusNode of a Tree.Tree.

Type:
Source:

name

Gets the human readable name for this node.

Source:

parent :Tree.Node

The node that comes before this node in the Tree.Tree. This will be undefined for the Tree.RootNode of a Tree.Tree.

Type:
Source:

Methods

toString() → {string}

Returns this node as a string.

Source:
Returns:

This node in string form.

Type
string