addNode

Adds a node to this capture's children.

This method is used internally by PatternElements when they successfully match a nonterminal reference.

Return

this capture instance for chaining

Parameters

node

The Node to add