defaultResult method
T?
defaultResult()
inherited
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.
The base implementation returns null.
@return The default value returned by visitor methods.
Implementation
T? defaultResult() {
return null;
}