Class XMLParserBaseListener
- java.lang.Object
-
- org.openrewrite.xml.internal.grammar.XMLParserBaseListener
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener,XMLParserListener
public class XMLParserBaseListener extends java.lang.Object implements XMLParserListener
This class provides an empty implementation ofXMLParserListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description XMLParserBaseListener()
-
Method Summary
-
-
-
Method Detail
-
enterDocument
public void enterDocument(XMLParser.DocumentContext ctx)
Enter a parse tree produced byXMLParser.document().The default implementation does nothing.
- Specified by:
enterDocumentin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitDocument
public void exitDocument(XMLParser.DocumentContext ctx)
Exit a parse tree produced byXMLParser.document().The default implementation does nothing.
- Specified by:
exitDocumentin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterProlog
public void enterProlog(XMLParser.PrologContext ctx)
Enter a parse tree produced byXMLParser.prolog().The default implementation does nothing.
- Specified by:
enterPrologin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitProlog
public void exitProlog(XMLParser.PrologContext ctx)
Exit a parse tree produced byXMLParser.prolog().The default implementation does nothing.
- Specified by:
exitPrologin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterXmldecl
public void enterXmldecl(XMLParser.XmldeclContext ctx)
Enter a parse tree produced byXMLParser.xmldecl().The default implementation does nothing.
- Specified by:
enterXmldeclin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitXmldecl
public void exitXmldecl(XMLParser.XmldeclContext ctx)
Exit a parse tree produced byXMLParser.xmldecl().The default implementation does nothing.
- Specified by:
exitXmldeclin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterMisc
public void enterMisc(XMLParser.MiscContext ctx)
Enter a parse tree produced byXMLParser.misc().The default implementation does nothing.
- Specified by:
enterMiscin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitMisc
public void exitMisc(XMLParser.MiscContext ctx)
Exit a parse tree produced byXMLParser.misc().The default implementation does nothing.
- Specified by:
exitMiscin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterDoctypedecl
public void enterDoctypedecl(XMLParser.DoctypedeclContext ctx)
Enter a parse tree produced byXMLParser.doctypedecl().The default implementation does nothing.
- Specified by:
enterDoctypedeclin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitDoctypedecl
public void exitDoctypedecl(XMLParser.DoctypedeclContext ctx)
Exit a parse tree produced byXMLParser.doctypedecl().The default implementation does nothing.
- Specified by:
exitDoctypedeclin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterIntsubset
public void enterIntsubset(XMLParser.IntsubsetContext ctx)
Enter a parse tree produced byXMLParser.intsubset().The default implementation does nothing.
- Specified by:
enterIntsubsetin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitIntsubset
public void exitIntsubset(XMLParser.IntsubsetContext ctx)
Exit a parse tree produced byXMLParser.intsubset().The default implementation does nothing.
- Specified by:
exitIntsubsetin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterMarkupdecl
public void enterMarkupdecl(XMLParser.MarkupdeclContext ctx)
Enter a parse tree produced byXMLParser.markupdecl().The default implementation does nothing.
- Specified by:
enterMarkupdeclin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitMarkupdecl
public void exitMarkupdecl(XMLParser.MarkupdeclContext ctx)
Exit a parse tree produced byXMLParser.markupdecl().The default implementation does nothing.
- Specified by:
exitMarkupdeclin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterDeclSep
public void enterDeclSep(XMLParser.DeclSepContext ctx)
Enter a parse tree produced byXMLParser.declSep().The default implementation does nothing.
- Specified by:
enterDeclSepin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitDeclSep
public void exitDeclSep(XMLParser.DeclSepContext ctx)
Exit a parse tree produced byXMLParser.declSep().The default implementation does nothing.
- Specified by:
exitDeclSepin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterExternalid
public void enterExternalid(XMLParser.ExternalidContext ctx)
Enter a parse tree produced byXMLParser.externalid().The default implementation does nothing.
- Specified by:
enterExternalidin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitExternalid
public void exitExternalid(XMLParser.ExternalidContext ctx)
Exit a parse tree produced byXMLParser.externalid().The default implementation does nothing.
- Specified by:
exitExternalidin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterProcessinginstruction
public void enterProcessinginstruction(XMLParser.ProcessinginstructionContext ctx)
Enter a parse tree produced byXMLParser.processinginstruction().The default implementation does nothing.
- Specified by:
enterProcessinginstructionin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitProcessinginstruction
public void exitProcessinginstruction(XMLParser.ProcessinginstructionContext ctx)
Exit a parse tree produced byXMLParser.processinginstruction().The default implementation does nothing.
- Specified by:
exitProcessinginstructionin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterContent
public void enterContent(XMLParser.ContentContext ctx)
Enter a parse tree produced byXMLParser.content().The default implementation does nothing.
- Specified by:
enterContentin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitContent
public void exitContent(XMLParser.ContentContext ctx)
Exit a parse tree produced byXMLParser.content().The default implementation does nothing.
- Specified by:
exitContentin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterElement
public void enterElement(XMLParser.ElementContext ctx)
Enter a parse tree produced byXMLParser.element().The default implementation does nothing.
- Specified by:
enterElementin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitElement
public void exitElement(XMLParser.ElementContext ctx)
Exit a parse tree produced byXMLParser.element().The default implementation does nothing.
- Specified by:
exitElementin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterReference
public void enterReference(XMLParser.ReferenceContext ctx)
Enter a parse tree produced byXMLParser.reference().The default implementation does nothing.
- Specified by:
enterReferencein interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitReference
public void exitReference(XMLParser.ReferenceContext ctx)
Exit a parse tree produced byXMLParser.reference().The default implementation does nothing.
- Specified by:
exitReferencein interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterAttribute
public void enterAttribute(XMLParser.AttributeContext ctx)
Enter a parse tree produced byXMLParser.attribute().The default implementation does nothing.
- Specified by:
enterAttributein interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitAttribute
public void exitAttribute(XMLParser.AttributeContext ctx)
Exit a parse tree produced byXMLParser.attribute().The default implementation does nothing.
- Specified by:
exitAttributein interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterChardata
public void enterChardata(XMLParser.ChardataContext ctx)
Enter a parse tree produced byXMLParser.chardata().The default implementation does nothing.
- Specified by:
enterChardatain interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitChardata
public void exitChardata(XMLParser.ChardataContext ctx)
Exit a parse tree produced byXMLParser.chardata().The default implementation does nothing.
- Specified by:
exitChardatain interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
-