Tree
Computes and stores parent/child/sibling relations in a tree structure.
This class is a simplified version of Kiama's tree relations. Refer to the sections on Attribute Grammars and Relations. in Kiama's user manual for more information.
Parameters
Node
The type of nodes in the tree.
RootNode
The type of the root node of the tree.
root
The root node of the tree.
Constructors
Functions
Link copied to clipboard
Returns the index of node in its parent's children list.
Link copied to clipboard
Link copied to clipboard