Reference Element
A PatternElement that matches a nonterminal Rule reference.
ReferenceElement invokes another rule's parsing logic at the current position. If the referenced rule matches, its resulting Node is added to the current capture.
The rule parameter is a lazily-evaluated lambda to support forward references to rules that haven't been defined yet.
Parameters
N
The type of Node produced by the referenced rule