@Override
			public String visitTerminal(TerminalNode node) {
				return node.getSymbol().toString() + "\n";
			}
This test verifies the basic behavior of visitors, with an emphasis on
{@link AbstractParseTreeVisitor#visitTerminal}.
runtime-testsuite/test/org/antlr/v4/test/runtime/java/api/TestVisitors.java