Class XMLParserBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>,XMLParserVisitor<T>
XMLParserVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byXMLParser.attribute().Visit a parse tree produced byXMLParser.chardata().Visit a parse tree produced byXMLParser.content().Visit a parse tree produced byXMLParser.declSep().Visit a parse tree produced byXMLParser.doctypedecl().Visit a parse tree produced byXMLParser.document().Visit a parse tree produced byXMLParser.element().Visit a parse tree produced byXMLParser.externalid().Visit a parse tree produced byXMLParser.intsubset().Visit a parse tree produced byXMLParser.jspcomment().Visit a parse tree produced byXMLParser.jspdeclaration().Visit a parse tree produced byXMLParser.jspdirective().Visit a parse tree produced byXMLParser.jspexpression().Visit a parse tree produced byXMLParser.jspscriptlet().Visit a parse tree produced byXMLParser.markupdecl().Visit a parse tree produced byXMLParser.misc().Visit a parse tree produced byXMLParser.processinginstruction().Visit a parse tree produced byXMLParser.prolog().Visit a parse tree produced byXMLParser.reference().Visit a parse tree produced byXMLParser.xmldecl().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
XMLParserBaseVisitor
public XMLParserBaseVisitor()
-
-
Method Details
-
visitDocument
Visit a parse tree produced byXMLParser.document().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDocumentin interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitProlog
Visit a parse tree produced byXMLParser.prolog().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrologin interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitXmldecl
Visit a parse tree produced byXMLParser.xmldecl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitXmldeclin interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMisc
Visit a parse tree produced byXMLParser.misc().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMiscin interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoctypedecl
Visit a parse tree produced byXMLParser.doctypedecl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDoctypedeclin interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntsubset
Visit a parse tree produced byXMLParser.intsubset().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIntsubsetin interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMarkupdecl
Visit a parse tree produced byXMLParser.markupdecl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMarkupdeclin interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDeclSep
Visit a parse tree produced byXMLParser.declSep().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDeclSepin interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExternalid
Visit a parse tree produced byXMLParser.externalid().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExternalidin interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitProcessinginstruction
Visit a parse tree produced byXMLParser.processinginstruction().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitProcessinginstructionin interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContent
Visit a parse tree produced byXMLParser.content().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContentin interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElement
Visit a parse tree produced byXMLParser.element().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElementin interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitJspdirective
Visit a parse tree produced byXMLParser.jspdirective().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitJspdirectivein interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitJspscriptlet
Visit a parse tree produced byXMLParser.jspscriptlet().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitJspscriptletin interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitJspexpression
Visit a parse tree produced byXMLParser.jspexpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitJspexpressionin interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitJspdeclaration
Visit a parse tree produced byXMLParser.jspdeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitJspdeclarationin interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitJspcomment
Visit a parse tree produced byXMLParser.jspcomment().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitJspcommentin interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReference
Visit a parse tree produced byXMLParser.reference().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReferencein interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAttribute
Visit a parse tree produced byXMLParser.attribute().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAttributein interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitChardata
Visit a parse tree produced byXMLParser.chardata().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitChardatain interfaceXMLParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-