l3.0.2.2.source-code.ML3BaseListener Maven / Gradle / Ivy
Show all versions of ml3 Show documentation
// Generated from ML3.g4 by ANTLR 4.7.1
package org.jamesii.ml3.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 ML3Listener},
* which can be extended to create a listener which only needs to handle a subset
* of the available methods.
*/
public class ML3BaseListener implements ML3Listener {
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterModel(ML3Parser.ModelContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitModel(ML3Parser.ModelContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterConstDec(ML3Parser.ConstDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitConstDec(ML3Parser.ConstDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterMapDec(ML3Parser.MapDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitMapDec(ML3Parser.MapDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterAgentDec(ML3Parser.AgentDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitAgentDec(ML3Parser.AgentDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterLinkDec(ML3Parser.LinkDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitLinkDec(ML3Parser.LinkDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterFuncDec(ML3Parser.FuncDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitFuncDec(ML3Parser.FuncDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterProcDec(ML3Parser.ProcDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitProcDec(ML3Parser.ProcDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterRuleBlock(ML3Parser.RuleBlockContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitRuleBlock(ML3Parser.RuleBlockContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterRuleDec(ML3Parser.RuleDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitRuleDec(ML3Parser.RuleDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterGuard(ML3Parser.GuardContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitGuard(ML3Parser.GuardContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterForEach(ML3Parser.ForEachContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitForEach(ML3Parser.ForEachContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterRate(ML3Parser.RateContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitRate(ML3Parser.RateContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterEffect(ML3Parser.EffectContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitEffect(ML3Parser.EffectContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterCardinality(ML3Parser.CardinalityContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitCardinality(ML3Parser.CardinalityContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterConstant(ML3Parser.ConstantContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitConstant(ML3Parser.ConstantContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterAttrDec(ML3Parser.AttrDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitAttrDec(ML3Parser.AttrDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterParamDec(ML3Parser.ParamDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitParamDec(ML3Parser.ParamDecContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterWhere(ML3Parser.WhereContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitWhere(ML3Parser.WhereContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterConstantType(ML3Parser.ConstantTypeContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitConstantType(ML3Parser.ConstantTypeContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterBasicType(ML3Parser.BasicTypeContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitBasicType(ML3Parser.BasicTypeContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterType(ML3Parser.TypeContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitType(ML3Parser.TypeContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterNewStatement(ML3Parser.NewStatementContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitNewStatement(ML3Parser.NewStatementContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterProcCallStatement(ML3Parser.ProcCallStatementContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitProcCallStatement(ML3Parser.ProcCallStatementContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterAddAssignStatement(ML3Parser.AddAssignStatementContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitAddAssignStatement(ML3Parser.AddAssignStatementContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterForStatement(ML3Parser.ForStatementContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitForStatement(ML3Parser.ForStatementContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterAssignStatement(ML3Parser.AssignStatementContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitAssignStatement(ML3Parser.AssignStatementContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterIfStatement(ML3Parser.IfStatementContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitIfStatement(ML3Parser.IfStatementContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterCompStatement(ML3Parser.CompStatementContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitCompStatement(ML3Parser.CompStatementContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterIfClause(ML3Parser.IfClauseContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitIfClause(ML3Parser.IfClauseContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterElseClause(ML3Parser.ElseClauseContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitElseClause(ML3Parser.ElseClauseContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterAssignLeftSide(ML3Parser.AssignLeftSideContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitAssignLeftSide(ML3Parser.AssignLeftSideContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterAlterExpression(ML3Parser.AlterExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitAlterExpression(ML3Parser.AlterExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterConstantExpression(ML3Parser.ConstantExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitConstantExpression(ML3Parser.ConstantExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterRelationalExpression(ML3Parser.RelationalExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitRelationalExpression(ML3Parser.RelationalExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterGlobalConstantAccessExpression(ML3Parser.GlobalConstantAccessExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitGlobalConstantAccessExpression(ML3Parser.GlobalConstantAccessExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterEgoExpression(ML3Parser.EgoExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitEgoExpression(ML3Parser.EgoExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterMathFuncCallExpression(ML3Parser.MathFuncCallExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitMathFuncCallExpression(ML3Parser.MathFuncCallExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterParenExpression(ML3Parser.ParenExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitParenExpression(ML3Parser.ParenExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterMultiplyExpression(ML3Parser.MultiplyExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitMultiplyExpression(ML3Parser.MultiplyExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterMapAccessExpression(ML3Parser.MapAccessExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitMapAccessExpression(ML3Parser.MapAccessExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterIfElseExpression(ML3Parser.IfElseExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitIfElseExpression(ML3Parser.IfElseExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterFuncCallExpression(ML3Parser.FuncCallExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitFuncCallExpression(ML3Parser.FuncCallExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterOrExpression(ML3Parser.OrExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitOrExpression(ML3Parser.OrExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterAndExpression(ML3Parser.AndExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitAndExpression(ML3Parser.AndExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterInExpression(ML3Parser.InExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitInExpression(ML3Parser.InExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterEqualsExpression(ML3Parser.EqualsExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitEqualsExpression(ML3Parser.EqualsExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterAddExpression(ML3Parser.AddExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitAddExpression(ML3Parser.AddExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterSingletonExpression(ML3Parser.SingletonExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitSingletonExpression(ML3Parser.SingletonExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterExponentialExpression(ML3Parser.ExponentialExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitExponentialExpression(ML3Parser.ExponentialExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterLocalConstantAccessExpression(ML3Parser.LocalConstantAccessExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitLocalConstantAccessExpression(ML3Parser.LocalConstantAccessExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterSetExpression(ML3Parser.SetExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitSetExpression(ML3Parser.SetExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterAllAgents(ML3Parser.AllAgentsContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitAllAgents(ML3Parser.AllAgentsContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterAttrAccessExpression(ML3Parser.AttrAccessExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitAttrAccessExpression(ML3Parser.AttrAccessExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterUnaryExpression(ML3Parser.UnaryExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitUnaryExpression(ML3Parser.UnaryExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterNowExpression(ML3Parser.NowExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitNowExpression(ML3Parser.NowExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterEnumType(ML3Parser.EnumTypeContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitEnumType(ML3Parser.EnumTypeContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterAgentCreationArgument(ML3Parser.AgentCreationArgumentContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitAgentCreationArgument(ML3Parser.AgentCreationArgumentContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterAgeRate(ML3Parser.AgeRateContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitAgeRate(ML3Parser.AgeRateContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterEveryRate(ML3Parser.EveryRateContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitEveryRate(ML3Parser.EveryRateContext 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) { }
}