public class BNFBaseListener extends Object implements BNFListener
BNFListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.| Constructor and Description |
|---|
BNFBaseListener() |
public void enterRulelist(BNFParser.RulelistContext ctx)
BNFParser.rulelist().
The default implementation does nothing.
enterRulelist in interface BNFListenerctx - the parse treepublic void exitRulelist(BNFParser.RulelistContext ctx)
BNFParser.rulelist().
The default implementation does nothing.
exitRulelist in interface BNFListenerctx - the parse treepublic void enterHeader(BNFParser.HeaderContext ctx)
BNFParser.header().
The default implementation does nothing.
enterHeader in interface BNFListenerctx - the parse treepublic void exitHeader(BNFParser.HeaderContext ctx)
BNFParser.header().
The default implementation does nothing.
exitHeader in interface BNFListenerctx - the parse treepublic void enterDescription(BNFParser.DescriptionContext ctx)
BNFParser.description().
The default implementation does nothing.
enterDescription in interface BNFListenerctx - the parse treepublic void exitDescription(BNFParser.DescriptionContext ctx)
BNFParser.description().
The default implementation does nothing.
exitDescription in interface BNFListenerctx - the parse treepublic void enterDescriptionLine(BNFParser.DescriptionLineContext ctx)
BNFParser.descriptionLine().
The default implementation does nothing.
enterDescriptionLine in interface BNFListenerctx - the parse treepublic void exitDescriptionLine(BNFParser.DescriptionLineContext ctx)
BNFParser.descriptionLine().
The default implementation does nothing.
exitDescriptionLine in interface BNFListenerctx - the parse treepublic void enterRule_(BNFParser.Rule_Context ctx)
BNFParser.rule_().
The default implementation does nothing.
enterRule_ in interface BNFListenerctx - the parse treepublic void exitRule_(BNFParser.Rule_Context ctx)
BNFParser.rule_().
The default implementation does nothing.
exitRule_ in interface BNFListenerctx - the parse treepublic void enterLhs(BNFParser.LhsContext ctx)
BNFParser.lhs().
The default implementation does nothing.
enterLhs in interface BNFListenerctx - the parse treepublic void exitLhs(BNFParser.LhsContext ctx)
BNFParser.lhs().
The default implementation does nothing.
exitLhs in interface BNFListenerctx - the parse treepublic void enterRhs(BNFParser.RhsContext ctx)
BNFParser.rhs().
The default implementation does nothing.
enterRhs in interface BNFListenerctx - the parse treepublic void exitRhs(BNFParser.RhsContext ctx)
BNFParser.rhs().
The default implementation does nothing.
exitRhs in interface BNFListenerctx - the parse treepublic void enterBnfsymbols(BNFParser.BnfsymbolsContext ctx)
BNFParser.bnfsymbols().
The default implementation does nothing.
enterBnfsymbols in interface BNFListenerctx - the parse treepublic void exitBnfsymbols(BNFParser.BnfsymbolsContext ctx)
BNFParser.bnfsymbols().
The default implementation does nothing.
exitBnfsymbols in interface BNFListenerctx - the parse treepublic void enterAlternatives(BNFParser.AlternativesContext ctx)
BNFParser.alternatives().
The default implementation does nothing.
enterAlternatives in interface BNFListenerctx - the parse treepublic void exitAlternatives(BNFParser.AlternativesContext ctx)
BNFParser.alternatives().
The default implementation does nothing.
exitAlternatives in interface BNFListenerctx - the parse treepublic void enterAlternative(BNFParser.AlternativeContext ctx)
BNFParser.alternative().
The default implementation does nothing.
enterAlternative in interface BNFListenerctx - the parse treepublic void exitAlternative(BNFParser.AlternativeContext ctx)
BNFParser.alternative().
The default implementation does nothing.
exitAlternative in interface BNFListenerctx - the parse treepublic void enterElement(BNFParser.ElementContext ctx)
BNFParser.element().
The default implementation does nothing.
enterElement in interface BNFListenerctx - the parse treepublic void exitElement(BNFParser.ElementContext ctx)
BNFParser.element().
The default implementation does nothing.
exitElement in interface BNFListenerctx - the parse treepublic void enterOptionalitem(BNFParser.OptionalitemContext ctx)
BNFParser.optionalitem().
The default implementation does nothing.
enterOptionalitem in interface BNFListenerctx - the parse treepublic void exitOptionalitem(BNFParser.OptionalitemContext ctx)
BNFParser.optionalitem().
The default implementation does nothing.
exitOptionalitem in interface BNFListenerctx - the parse treepublic void enterRequireditem(BNFParser.RequireditemContext ctx)
BNFParser.requireditem().
The default implementation does nothing.
enterRequireditem in interface BNFListenerctx - the parse treepublic void exitRequireditem(BNFParser.RequireditemContext ctx)
BNFParser.requireditem().
The default implementation does nothing.
exitRequireditem in interface BNFListenerctx - the parse treepublic void enterText(BNFParser.TextContext ctx)
BNFParser.text().
The default implementation does nothing.
enterText in interface BNFListenerctx - the parse treepublic void exitText(BNFParser.TextContext ctx)
BNFParser.text().
The default implementation does nothing.
exitText in interface BNFListenerctx - the parse treepublic void enterId(BNFParser.IdContext ctx)
BNFParser.id().
The default implementation does nothing.
enterId in interface BNFListenerctx - the parse treepublic void exitId(BNFParser.IdContext ctx)
BNFParser.id().
The default implementation does nothing.
exitId in interface BNFListenerctx - the parse treepublic void enterCharacterset(BNFParser.CharactersetContext ctx)
BNFParser.characterset().
The default implementation does nothing.
enterCharacterset in interface BNFListenerctx - the parse treepublic void exitCharacterset(BNFParser.CharactersetContext ctx)
BNFParser.characterset().
The default implementation does nothing.
exitCharacterset in interface BNFListenerctx - the parse treepublic void enterNormaltext(BNFParser.NormaltextContext ctx)
BNFParser.normaltext().
The default implementation does nothing.
enterNormaltext in interface BNFListenerctx - the parse treepublic void exitNormaltext(BNFParser.NormaltextContext ctx)
BNFParser.normaltext().
The default implementation does nothing.
exitNormaltext in interface BNFListenerctx - the parse treepublic void enterNamedcharacterset(BNFParser.NamedcharactersetContext ctx)
BNFParser.namedcharacterset().
The default implementation does nothing.
enterNamedcharacterset in interface BNFListenerctx - the parse treepublic void exitNamedcharacterset(BNFParser.NamedcharactersetContext ctx)
BNFParser.namedcharacterset().
The default implementation does nothing.
exitNamedcharacterset in interface BNFListenerctx - the parse treepublic void enterExclusioncharacterset(BNFParser.ExclusioncharactersetContext ctx)
BNFParser.exclusioncharacterset().
The default implementation does nothing.
enterExclusioncharacterset in interface BNFListenerctx - the parse treepublic void exitExclusioncharacterset(BNFParser.ExclusioncharactersetContext ctx)
BNFParser.exclusioncharacterset().
The default implementation does nothing.
exitExclusioncharacterset in interface BNFListenerctx - the parse treepublic void enterListcharacterset(BNFParser.ListcharactersetContext ctx)
BNFParser.listcharacterset().
The default implementation does nothing.
enterListcharacterset in interface BNFListenerctx - the parse treepublic void exitListcharacterset(BNFParser.ListcharactersetContext ctx)
BNFParser.listcharacterset().
The default implementation does nothing.
exitListcharacterset in interface BNFListenerctx - the parse treepublic void enterRuleref(BNFParser.RulerefContext ctx)
BNFParser.ruleref().
The default implementation does nothing.
enterRuleref in interface BNFListenerctx - the parse treepublic void exitRuleref(BNFParser.RulerefContext ctx)
BNFParser.ruleref().
The default implementation does nothing.
exitRuleref in interface BNFListenerctx - the parse treepublic void enterRuleid(BNFParser.RuleidContext ctx)
BNFParser.ruleid().
The default implementation does nothing.
enterRuleid in interface BNFListenerctx - the parse treepublic void exitRuleid(BNFParser.RuleidContext ctx)
BNFParser.ruleid().
The default implementation does nothing.
exitRuleid in interface BNFListenerctx - the parse treepublic void enterBnfsymbol(BNFParser.BnfsymbolContext ctx)
BNFParser.bnfsymbol().
The default implementation does nothing.
enterBnfsymbol in interface BNFListenerctx - the parse treepublic void exitBnfsymbol(BNFParser.BnfsymbolContext ctx)
BNFParser.bnfsymbol().
The default implementation does nothing.
exitBnfsymbol in interface BNFListenerctx - the parse treepublic void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
enterEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
exitEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
visitTerminal in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
visitErrorNode in interface org.antlr.v4.runtime.tree.ParseTreeListenerCopyright © 2019. All rights reserved.