Visit the subtree and display it with additional and useful information.
By default, this displays all kind of nodes and the corresponding lines of codes.
See ASTDump
for details.
# Write the subtree on stdout.
#
# Visit the subtree and display it with additional and useful information.
#
# By default, this displays all kind of nodes and the corresponding lines of codes.
#
# See `ASTDump` for details.
fun dump_tree(display_structural, display_line: nullable Bool)
do
var d = new ASTDump(display_structural or else true, display_line or else true)
d.enter_visit(self)
d.write_to(sys.stdout)
end
src/parser/parser_nodes.nit:41,2--53,4