children property

List<ParseTree>? children
getter/setter pair

If we are debugging or building a parse tree for a visitor, we need to track all of the tokens and rule invocations associated with this rule's context. This is empty for parsing w/o tree constr. operation because we don't the need to track the details about how we parse this rule.

Implementation

List<ParseTree>? children;