Class XMLParserBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.openrewrite.xml.internal.grammar.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>
- Direct Known Subclasses:
XmlParserVisitor
public class XMLParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements XMLParserVisitor<T>
This class provides an empty implementation ofXMLParserVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description XMLParserBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitDocument
public T visitDocument(XMLParser.DocumentContext ctx)
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
public T visitProlog(XMLParser.PrologContext ctx)
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
public T visitXmldecl(XMLParser.XmldeclContext ctx)
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
public T visitMisc(XMLParser.MiscContext ctx)
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
public T visitDoctypedecl(XMLParser.DoctypedeclContext ctx)
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
public T visitIntsubset(XMLParser.IntsubsetContext ctx)
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
public T visitMarkupdecl(XMLParser.MarkupdeclContext ctx)
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
public T visitDeclSep(XMLParser.DeclSepContext ctx)
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
public T visitExternalid(XMLParser.ExternalidContext ctx)
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
public T visitProcessinginstruction(XMLParser.ProcessinginstructionContext ctx)
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
public T visitContent(XMLParser.ContentContext ctx)
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
public T visitElement(XMLParser.ElementContext ctx)
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
-
visitReference
public T visitReference(XMLParser.ReferenceContext ctx)
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
public T visitAttribute(XMLParser.AttributeContext ctx)
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
public T visitChardata(XMLParser.ChardataContext ctx)
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
-
-