Note: if the parser was in error-recovery mode, some AST nodes may have {@code null} children that are expected to be non-{@code null}when no errors are present. In this situation, the behavior of the {@code toSource} method is undefined: {@code toSource}implementations may assume that the AST node is error-free, since it is intended to be invoked only at runtime after a successful parse.
@param depth the current recursion depth, typically beginning at 0when called on the root node.
|
|