| // Generated from Query.g4 by ANTLR 4.7.2 |
| |
| /******************************************************************************* |
| * Copyright (c) 2015, 2020 Obeo. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Obeo - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.acceleo.query.parser; |
| |
| |
| |
| 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 QueryListener}, |
| * which can be extended to create a listener which only needs to handle a subset |
| * of the available methods. |
| */ |
| public class QueryBaseListener implements QueryListener { |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterEntry(QueryParser.EntryContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitEntry(QueryParser.EntryContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterVarRef(QueryParser.VarRefContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitVarRef(QueryParser.VarRefContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterAdd(QueryParser.AddContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitAdd(QueryParser.AddContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterNav(QueryParser.NavContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitNav(QueryParser.NavContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterOr(QueryParser.OrContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitOr(QueryParser.OrContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterLetExpr(QueryParser.LetExprContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitLetExpr(QueryParser.LetExprContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterConditional(QueryParser.ConditionalContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitConditional(QueryParser.ConditionalContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterComp(QueryParser.CompContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitComp(QueryParser.CompContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterNot(QueryParser.NotContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitNot(QueryParser.NotContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterMin(QueryParser.MinContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitMin(QueryParser.MinContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterImplies(QueryParser.ImpliesContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitImplies(QueryParser.ImpliesContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterMult(QueryParser.MultContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitMult(QueryParser.MultContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterLit(QueryParser.LitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitLit(QueryParser.LitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterAnd(QueryParser.AndContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitAnd(QueryParser.AndContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterXor(QueryParser.XorContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitXor(QueryParser.XorContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterParen(QueryParser.ParenContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitParen(QueryParser.ParenContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterBinding(QueryParser.BindingContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitBinding(QueryParser.BindingContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterAddOp(QueryParser.AddOpContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitAddOp(QueryParser.AddOpContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterCompOp(QueryParser.CompOpContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitCompOp(QueryParser.CompOpContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterFeature(QueryParser.FeatureContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitFeature(QueryParser.FeatureContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterCallOrApply(QueryParser.CallOrApplyContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitCallOrApply(QueryParser.CallOrApplyContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterCollectionCall(QueryParser.CollectionCallContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitCollectionCall(QueryParser.CollectionCallContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterIterationCall(QueryParser.IterationCallContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitIterationCall(QueryParser.IterationCallContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterServiceCall(QueryParser.ServiceCallContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitServiceCall(QueryParser.ServiceCallContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterLambdaExpression(QueryParser.LambdaExpressionContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitLambdaExpression(QueryParser.LambdaExpressionContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterCollectionIterator(QueryParser.CollectionIteratorContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitCollectionIterator(QueryParser.CollectionIteratorContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterExpressionSequence(QueryParser.ExpressionSequenceContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitExpressionSequence(QueryParser.ExpressionSequenceContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterVariableDefinition(QueryParser.VariableDefinitionContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitVariableDefinition(QueryParser.VariableDefinitionContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterStringLit(QueryParser.StringLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitStringLit(QueryParser.StringLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterErrorStringLit(QueryParser.ErrorStringLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitErrorStringLit(QueryParser.ErrorStringLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterIntegerLit(QueryParser.IntegerLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitIntegerLit(QueryParser.IntegerLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterRealLit(QueryParser.RealLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitRealLit(QueryParser.RealLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterTrueLit(QueryParser.TrueLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitTrueLit(QueryParser.TrueLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterFalseLit(QueryParser.FalseLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitFalseLit(QueryParser.FalseLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterNullLit(QueryParser.NullLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitNullLit(QueryParser.NullLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterExplicitSeqLit(QueryParser.ExplicitSeqLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitExplicitSeqLit(QueryParser.ExplicitSeqLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterExplicitSetLit(QueryParser.ExplicitSetLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitExplicitSetLit(QueryParser.ExplicitSetLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterEnumLit(QueryParser.EnumLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitEnumLit(QueryParser.EnumLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterErrorEnumLit(QueryParser.ErrorEnumLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitErrorEnumLit(QueryParser.ErrorEnumLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterTypeLit(QueryParser.TypeLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitTypeLit(QueryParser.TypeLitContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterStrType(QueryParser.StrTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitStrType(QueryParser.StrTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterIntType(QueryParser.IntTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitIntType(QueryParser.IntTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterRealType(QueryParser.RealTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitRealType(QueryParser.RealTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterBooleanType(QueryParser.BooleanTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitBooleanType(QueryParser.BooleanTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterSeqType(QueryParser.SeqTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitSeqType(QueryParser.SeqTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterSetType(QueryParser.SetTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitSetType(QueryParser.SetTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterClsType(QueryParser.ClsTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitClsType(QueryParser.ClsTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterClassifierSetType(QueryParser.ClassifierSetTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitClassifierSetType(QueryParser.ClassifierSetTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterClassifierType(QueryParser.ClassifierTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitClassifierType(QueryParser.ClassifierTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterErrorClassifierType(QueryParser.ErrorClassifierTypeContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitErrorClassifierType(QueryParser.ErrorClassifierTypeContext ctx) { } |
| |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void enterEveryRule(ParserRuleContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void exitEveryRule(ParserRuleContext ctx) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void visitTerminal(TerminalNode node) { } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation does nothing.</p> |
| */ |
| @Override public void visitErrorNode(ErrorNode node) { } |
| } |