Class JavadocCommentsAstVisitor

java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<JavadocNodeImpl>
All Implemented Interfaces:
JavadocCommentsParserVisitor<JavadocNodeImpl>, org.antlr.v4.runtime.tree.ParseTreeVisitor<JavadocNodeImpl>

public class JavadocCommentsAstVisitor extends JavadocCommentsParserBaseVisitor<JavadocNodeImpl>
Visitor class used to build Checkstyle's Javadoc AST from the parse tree produced by JavadocCommentsParser. Each overridden visit... method visits children of a parse tree node (subrules) or creates terminal nodes (tokens), and returns a JavadocNodeImpl subtree as the result.

The order of visit... methods in JavaAstVisitor.java and production rules in JavaLanguageParser.g4 should be consistent to ease maintenance.

See Also: