Aggregates the results of visiting multiple children of a node. After
either all children are visited or {@link #shouldVisitNextChild} returns
false, the aggregate value is returned as the result of
{@link #visitChildren}.
Gets the default value returned by visitor methods. This value is
returned by the default implementations of
{@link #visitTerminal visitTerminal}, {@link #visitErrorNode visitErrorNode}.
The default implementation of {@link #visitChildren visitChildren}
initializes its aggregate result to this value.
This method is called after visiting each child in
{@link #visitChildren}. This method is first called before the first
child is visited; at that point currentResult will be the initial
value (in the default implementation, the initial value is returned by a
call to {@link #defaultResult}. This method is not called after the last
child is visited.