Class BNFBaseListener
- java.lang.Object
-
- org.opencypher.tools.antlr.bnf.BNFBaseListener
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener,BNFListener
- Direct Known Subclasses:
BNFListener
public class BNFBaseListener extends Object implements BNFListener
This class provides an empty implementation ofBNFListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description BNFBaseListener()
-
Method Summary
-
-
-
Method Detail
-
enterRulelist
public void enterRulelist(BNFParser.RulelistContext ctx)
Enter a parse tree produced byBNFParser.rulelist().The default implementation does nothing.
- Specified by:
enterRulelistin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitRulelist
public void exitRulelist(BNFParser.RulelistContext ctx)
Exit a parse tree produced byBNFParser.rulelist().The default implementation does nothing.
- Specified by:
exitRulelistin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterHeader
public void enterHeader(BNFParser.HeaderContext ctx)
Enter a parse tree produced byBNFParser.header().The default implementation does nothing.
- Specified by:
enterHeaderin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitHeader
public void exitHeader(BNFParser.HeaderContext ctx)
Exit a parse tree produced byBNFParser.header().The default implementation does nothing.
- Specified by:
exitHeaderin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterDescription
public void enterDescription(BNFParser.DescriptionContext ctx)
Enter a parse tree produced byBNFParser.description().The default implementation does nothing.
- Specified by:
enterDescriptionin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitDescription
public void exitDescription(BNFParser.DescriptionContext ctx)
Exit a parse tree produced byBNFParser.description().The default implementation does nothing.
- Specified by:
exitDescriptionin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterDescriptionLine
public void enterDescriptionLine(BNFParser.DescriptionLineContext ctx)
Enter a parse tree produced byBNFParser.descriptionLine().The default implementation does nothing.
- Specified by:
enterDescriptionLinein interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitDescriptionLine
public void exitDescriptionLine(BNFParser.DescriptionLineContext ctx)
Exit a parse tree produced byBNFParser.descriptionLine().The default implementation does nothing.
- Specified by:
exitDescriptionLinein interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterRule_
public void enterRule_(BNFParser.Rule_Context ctx)
Enter a parse tree produced byBNFParser.rule_().The default implementation does nothing.
- Specified by:
enterRule_in interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitRule_
public void exitRule_(BNFParser.Rule_Context ctx)
Exit a parse tree produced byBNFParser.rule_().The default implementation does nothing.
- Specified by:
exitRule_in interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterLhs
public void enterLhs(BNFParser.LhsContext ctx)
Enter a parse tree produced byBNFParser.lhs().The default implementation does nothing.
- Specified by:
enterLhsin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitLhs
public void exitLhs(BNFParser.LhsContext ctx)
Exit a parse tree produced byBNFParser.lhs().The default implementation does nothing.
- Specified by:
exitLhsin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterRhs
public void enterRhs(BNFParser.RhsContext ctx)
Enter a parse tree produced byBNFParser.rhs().The default implementation does nothing.
- Specified by:
enterRhsin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitRhs
public void exitRhs(BNFParser.RhsContext ctx)
Exit a parse tree produced byBNFParser.rhs().The default implementation does nothing.
- Specified by:
exitRhsin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterBnfsymbols
public void enterBnfsymbols(BNFParser.BnfsymbolsContext ctx)
Enter a parse tree produced byBNFParser.bnfsymbols().The default implementation does nothing.
- Specified by:
enterBnfsymbolsin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitBnfsymbols
public void exitBnfsymbols(BNFParser.BnfsymbolsContext ctx)
Exit a parse tree produced byBNFParser.bnfsymbols().The default implementation does nothing.
- Specified by:
exitBnfsymbolsin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterAlternatives
public void enterAlternatives(BNFParser.AlternativesContext ctx)
Enter a parse tree produced byBNFParser.alternatives().The default implementation does nothing.
- Specified by:
enterAlternativesin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitAlternatives
public void exitAlternatives(BNFParser.AlternativesContext ctx)
Exit a parse tree produced byBNFParser.alternatives().The default implementation does nothing.
- Specified by:
exitAlternativesin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterAlternative
public void enterAlternative(BNFParser.AlternativeContext ctx)
Enter a parse tree produced byBNFParser.alternative().The default implementation does nothing.
- Specified by:
enterAlternativein interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitAlternative
public void exitAlternative(BNFParser.AlternativeContext ctx)
Exit a parse tree produced byBNFParser.alternative().The default implementation does nothing.
- Specified by:
exitAlternativein interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterElement
public void enterElement(BNFParser.ElementContext ctx)
Enter a parse tree produced byBNFParser.element().The default implementation does nothing.
- Specified by:
enterElementin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitElement
public void exitElement(BNFParser.ElementContext ctx)
Exit a parse tree produced byBNFParser.element().The default implementation does nothing.
- Specified by:
exitElementin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterOptionalitem
public void enterOptionalitem(BNFParser.OptionalitemContext ctx)
Enter a parse tree produced byBNFParser.optionalitem().The default implementation does nothing.
- Specified by:
enterOptionalitemin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitOptionalitem
public void exitOptionalitem(BNFParser.OptionalitemContext ctx)
Exit a parse tree produced byBNFParser.optionalitem().The default implementation does nothing.
- Specified by:
exitOptionalitemin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterRequireditem
public void enterRequireditem(BNFParser.RequireditemContext ctx)
Enter a parse tree produced byBNFParser.requireditem().The default implementation does nothing.
- Specified by:
enterRequireditemin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitRequireditem
public void exitRequireditem(BNFParser.RequireditemContext ctx)
Exit a parse tree produced byBNFParser.requireditem().The default implementation does nothing.
- Specified by:
exitRequireditemin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterText
public void enterText(BNFParser.TextContext ctx)
Enter a parse tree produced byBNFParser.text().The default implementation does nothing.
- Specified by:
enterTextin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitText
public void exitText(BNFParser.TextContext ctx)
Exit a parse tree produced byBNFParser.text().The default implementation does nothing.
- Specified by:
exitTextin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterId
public void enterId(BNFParser.IdContext ctx)
Enter a parse tree produced byBNFParser.id().The default implementation does nothing.
- Specified by:
enterIdin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitId
public void exitId(BNFParser.IdContext ctx)
Exit a parse tree produced byBNFParser.id().The default implementation does nothing.
- Specified by:
exitIdin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterCharacterset
public void enterCharacterset(BNFParser.CharactersetContext ctx)
Enter a parse tree produced byBNFParser.characterset().The default implementation does nothing.
- Specified by:
enterCharactersetin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitCharacterset
public void exitCharacterset(BNFParser.CharactersetContext ctx)
Exit a parse tree produced byBNFParser.characterset().The default implementation does nothing.
- Specified by:
exitCharactersetin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterNormaltext
public void enterNormaltext(BNFParser.NormaltextContext ctx)
Enter a parse tree produced byBNFParser.normaltext().The default implementation does nothing.
- Specified by:
enterNormaltextin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitNormaltext
public void exitNormaltext(BNFParser.NormaltextContext ctx)
Exit a parse tree produced byBNFParser.normaltext().The default implementation does nothing.
- Specified by:
exitNormaltextin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterNamedcharacterset
public void enterNamedcharacterset(BNFParser.NamedcharactersetContext ctx)
Enter a parse tree produced byBNFParser.namedcharacterset().The default implementation does nothing.
- Specified by:
enterNamedcharactersetin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitNamedcharacterset
public void exitNamedcharacterset(BNFParser.NamedcharactersetContext ctx)
Exit a parse tree produced byBNFParser.namedcharacterset().The default implementation does nothing.
- Specified by:
exitNamedcharactersetin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterExclusioncharacterset
public void enterExclusioncharacterset(BNFParser.ExclusioncharactersetContext ctx)
Enter a parse tree produced byBNFParser.exclusioncharacterset().The default implementation does nothing.
- Specified by:
enterExclusioncharactersetin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitExclusioncharacterset
public void exitExclusioncharacterset(BNFParser.ExclusioncharactersetContext ctx)
Exit a parse tree produced byBNFParser.exclusioncharacterset().The default implementation does nothing.
- Specified by:
exitExclusioncharactersetin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterListcharacterset
public void enterListcharacterset(BNFParser.ListcharactersetContext ctx)
Enter a parse tree produced byBNFParser.listcharacterset().The default implementation does nothing.
- Specified by:
enterListcharactersetin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitListcharacterset
public void exitListcharacterset(BNFParser.ListcharactersetContext ctx)
Exit a parse tree produced byBNFParser.listcharacterset().The default implementation does nothing.
- Specified by:
exitListcharactersetin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterRuleref
public void enterRuleref(BNFParser.RulerefContext ctx)
Enter a parse tree produced byBNFParser.ruleref().The default implementation does nothing.
- Specified by:
enterRulerefin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitRuleref
public void exitRuleref(BNFParser.RulerefContext ctx)
Exit a parse tree produced byBNFParser.ruleref().The default implementation does nothing.
- Specified by:
exitRulerefin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterRuleid
public void enterRuleid(BNFParser.RuleidContext ctx)
Enter a parse tree produced byBNFParser.ruleid().The default implementation does nothing.
- Specified by:
enterRuleidin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitRuleid
public void exitRuleid(BNFParser.RuleidContext ctx)
Exit a parse tree produced byBNFParser.ruleid().The default implementation does nothing.
- Specified by:
exitRuleidin interfaceBNFListener- Parameters:
ctx- the parse tree
-
enterBnfsymbol
public void enterBnfsymbol(BNFParser.BnfsymbolContext ctx)
Enter a parse tree produced byBNFParser.bnfsymbol().The default implementation does nothing.
- Specified by:
enterBnfsymbolin interfaceBNFListener- Parameters:
ctx- the parse tree
-
exitBnfsymbol
public void exitBnfsymbol(BNFParser.BnfsymbolContext ctx)
Exit a parse tree produced byBNFParser.bnfsymbol().The default implementation does nothing.
- Specified by:
exitBnfsymbolin interfaceBNFListener- 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
-
-