All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tlr4formatter.antlr4-formatter.1.1.0.source-code.ANTLRv4ParserBaseListener Maven / Gradle / Ivy

There is a newer version: 1.2.1
Show newest version
// Generated from ANTLRv4Parser.g4 by ANTLR 4.7.2
package org.antlr.parser.antlr4;

import org.antlr.v4.runtime.ParserRuleContext;
import org.antlr.v4.runtime.tree.ErrorNode;
import org.antlr.v4.runtime.tree.TerminalNode;

/**
 * This class provides an empty implementation of {@link ANTLRv4ParserListener},
 * which can be extended to create a listener which only needs to handle a subset
 * of the available methods.
 */
public class ANTLRv4ParserBaseListener implements ANTLRv4ParserListener {
	/**
	 * {@inheritDoc}
	 *
	 * 

The default implementation does nothing.

*/ @Override public void enterGrammarSpec(ANTLRv4Parser.GrammarSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitGrammarSpec(ANTLRv4Parser.GrammarSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterGrammarType(ANTLRv4Parser.GrammarTypeContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitGrammarType(ANTLRv4Parser.GrammarTypeContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterPrequelConstruct(ANTLRv4Parser.PrequelConstructContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitPrequelConstruct(ANTLRv4Parser.PrequelConstructContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterOptionsSpec(ANTLRv4Parser.OptionsSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitOptionsSpec(ANTLRv4Parser.OptionsSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterOption(ANTLRv4Parser.OptionContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitOption(ANTLRv4Parser.OptionContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterOptionValue(ANTLRv4Parser.OptionValueContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitOptionValue(ANTLRv4Parser.OptionValueContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterDelegateGrammars(ANTLRv4Parser.DelegateGrammarsContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitDelegateGrammars(ANTLRv4Parser.DelegateGrammarsContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterDelegateGrammar(ANTLRv4Parser.DelegateGrammarContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitDelegateGrammar(ANTLRv4Parser.DelegateGrammarContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterTokensSpec(ANTLRv4Parser.TokensSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitTokensSpec(ANTLRv4Parser.TokensSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterChannelsSpec(ANTLRv4Parser.ChannelsSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitChannelsSpec(ANTLRv4Parser.ChannelsSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterIdList(ANTLRv4Parser.IdListContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitIdList(ANTLRv4Parser.IdListContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterAction_(ANTLRv4Parser.Action_Context ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitAction_(ANTLRv4Parser.Action_Context ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterActionScopeName(ANTLRv4Parser.ActionScopeNameContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitActionScopeName(ANTLRv4Parser.ActionScopeNameContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterActionBlock(ANTLRv4Parser.ActionBlockContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitActionBlock(ANTLRv4Parser.ActionBlockContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterArgActionBlock(ANTLRv4Parser.ArgActionBlockContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitArgActionBlock(ANTLRv4Parser.ArgActionBlockContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterModeSpec(ANTLRv4Parser.ModeSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitModeSpec(ANTLRv4Parser.ModeSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterRules(ANTLRv4Parser.RulesContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitRules(ANTLRv4Parser.RulesContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterRuleSpec(ANTLRv4Parser.RuleSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitRuleSpec(ANTLRv4Parser.RuleSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterParserRuleSpec(ANTLRv4Parser.ParserRuleSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitParserRuleSpec(ANTLRv4Parser.ParserRuleSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterExceptionGroup(ANTLRv4Parser.ExceptionGroupContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitExceptionGroup(ANTLRv4Parser.ExceptionGroupContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterExceptionHandler(ANTLRv4Parser.ExceptionHandlerContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitExceptionHandler(ANTLRv4Parser.ExceptionHandlerContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterFinallyClause(ANTLRv4Parser.FinallyClauseContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitFinallyClause(ANTLRv4Parser.FinallyClauseContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterRulePrequel(ANTLRv4Parser.RulePrequelContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitRulePrequel(ANTLRv4Parser.RulePrequelContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterRuleReturns(ANTLRv4Parser.RuleReturnsContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitRuleReturns(ANTLRv4Parser.RuleReturnsContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterThrowsSpec(ANTLRv4Parser.ThrowsSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitThrowsSpec(ANTLRv4Parser.ThrowsSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterLocalsSpec(ANTLRv4Parser.LocalsSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitLocalsSpec(ANTLRv4Parser.LocalsSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterRuleAction(ANTLRv4Parser.RuleActionContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitRuleAction(ANTLRv4Parser.RuleActionContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterRuleModifiers(ANTLRv4Parser.RuleModifiersContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitRuleModifiers(ANTLRv4Parser.RuleModifiersContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterRuleModifier(ANTLRv4Parser.RuleModifierContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitRuleModifier(ANTLRv4Parser.RuleModifierContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterRuleBlock(ANTLRv4Parser.RuleBlockContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitRuleBlock(ANTLRv4Parser.RuleBlockContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterRuleAltList(ANTLRv4Parser.RuleAltListContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitRuleAltList(ANTLRv4Parser.RuleAltListContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterLabeledAlt(ANTLRv4Parser.LabeledAltContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitLabeledAlt(ANTLRv4Parser.LabeledAltContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterLexerRuleSpec(ANTLRv4Parser.LexerRuleSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitLexerRuleSpec(ANTLRv4Parser.LexerRuleSpecContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterLexerRuleBlock(ANTLRv4Parser.LexerRuleBlockContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitLexerRuleBlock(ANTLRv4Parser.LexerRuleBlockContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterLexerAltList(ANTLRv4Parser.LexerAltListContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitLexerAltList(ANTLRv4Parser.LexerAltListContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterLexerAlt(ANTLRv4Parser.LexerAltContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitLexerAlt(ANTLRv4Parser.LexerAltContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterLexerElements(ANTLRv4Parser.LexerElementsContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitLexerElements(ANTLRv4Parser.LexerElementsContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterLexerElement(ANTLRv4Parser.LexerElementContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitLexerElement(ANTLRv4Parser.LexerElementContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterLabeledLexerElement(ANTLRv4Parser.LabeledLexerElementContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitLabeledLexerElement(ANTLRv4Parser.LabeledLexerElementContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterLexerBlock(ANTLRv4Parser.LexerBlockContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitLexerBlock(ANTLRv4Parser.LexerBlockContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterLexerCommands(ANTLRv4Parser.LexerCommandsContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitLexerCommands(ANTLRv4Parser.LexerCommandsContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterLexerCommand(ANTLRv4Parser.LexerCommandContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitLexerCommand(ANTLRv4Parser.LexerCommandContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterLexerCommandName(ANTLRv4Parser.LexerCommandNameContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitLexerCommandName(ANTLRv4Parser.LexerCommandNameContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterLexerCommandExpr(ANTLRv4Parser.LexerCommandExprContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitLexerCommandExpr(ANTLRv4Parser.LexerCommandExprContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterAltList(ANTLRv4Parser.AltListContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitAltList(ANTLRv4Parser.AltListContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterAlternative(ANTLRv4Parser.AlternativeContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitAlternative(ANTLRv4Parser.AlternativeContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterElement(ANTLRv4Parser.ElementContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitElement(ANTLRv4Parser.ElementContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterLabeledElement(ANTLRv4Parser.LabeledElementContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitLabeledElement(ANTLRv4Parser.LabeledElementContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterEbnf(ANTLRv4Parser.EbnfContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitEbnf(ANTLRv4Parser.EbnfContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterBlockSuffix(ANTLRv4Parser.BlockSuffixContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitBlockSuffix(ANTLRv4Parser.BlockSuffixContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterEbnfSuffix(ANTLRv4Parser.EbnfSuffixContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitEbnfSuffix(ANTLRv4Parser.EbnfSuffixContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterLexerAtom(ANTLRv4Parser.LexerAtomContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitLexerAtom(ANTLRv4Parser.LexerAtomContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterAtom(ANTLRv4Parser.AtomContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitAtom(ANTLRv4Parser.AtomContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterNotSet(ANTLRv4Parser.NotSetContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitNotSet(ANTLRv4Parser.NotSetContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterBlockSet(ANTLRv4Parser.BlockSetContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitBlockSet(ANTLRv4Parser.BlockSetContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterSetElement(ANTLRv4Parser.SetElementContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitSetElement(ANTLRv4Parser.SetElementContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterBlock(ANTLRv4Parser.BlockContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitBlock(ANTLRv4Parser.BlockContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterRuleref(ANTLRv4Parser.RulerefContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitRuleref(ANTLRv4Parser.RulerefContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterCharacterRange(ANTLRv4Parser.CharacterRangeContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitCharacterRange(ANTLRv4Parser.CharacterRangeContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterTerminal(ANTLRv4Parser.TerminalContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitTerminal(ANTLRv4Parser.TerminalContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterElementOptions(ANTLRv4Parser.ElementOptionsContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitElementOptions(ANTLRv4Parser.ElementOptionsContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterElementOption(ANTLRv4Parser.ElementOptionContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitElementOption(ANTLRv4Parser.ElementOptionContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterIdentifier(ANTLRv4Parser.IdentifierContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitIdentifier(ANTLRv4Parser.IdentifierContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void enterEveryRule(ParserRuleContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void exitEveryRule(ParserRuleContext ctx) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void visitTerminal(TerminalNode node) { } /** * {@inheritDoc} * *

The default implementation does nothing.

*/ @Override public void visitErrorNode(ErrorNode node) { } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy