// Generated from Cminus.g4 by ANTLR 4.9.1 package 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 CminusListener}, * which can be extended to create a listener which only needs to handle a subset * of the available methods. */ public class CminusBaseListener implements CminusListener { /** * {@inheritDoc} * *
The default implementation does nothing.
*/ @Override public void enterProgram(CminusParser.ProgramContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitProgram(CminusParser.ProgramContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterDeclaration(CminusParser.DeclarationContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitDeclaration(CminusParser.DeclarationContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterVarDeclaration(CminusParser.VarDeclarationContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitVarDeclaration(CminusParser.VarDeclarationContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterVarDeclId(CminusParser.VarDeclIdContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitVarDeclId(CminusParser.VarDeclIdContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterFunDeclaration(CminusParser.FunDeclarationContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitFunDeclaration(CminusParser.FunDeclarationContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterTypeSpecifier(CminusParser.TypeSpecifierContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitTypeSpecifier(CminusParser.TypeSpecifierContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterParam(CminusParser.ParamContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitParam(CminusParser.ParamContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterParamId(CminusParser.ParamIdContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitParamId(CminusParser.ParamIdContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterStatement(CminusParser.StatementContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitStatement(CminusParser.StatementContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterCompoundStmt(CminusParser.CompoundStmtContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitCompoundStmt(CminusParser.CompoundStmtContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterExpressionStmt(CminusParser.ExpressionStmtContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitExpressionStmt(CminusParser.ExpressionStmtContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterIfStmt(CminusParser.IfStmtContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitIfStmt(CminusParser.IfStmtContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterWhileStmt(CminusParser.WhileStmtContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitWhileStmt(CminusParser.WhileStmtContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterReturnStmt(CminusParser.ReturnStmtContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitReturnStmt(CminusParser.ReturnStmtContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterBreakStmt(CminusParser.BreakStmtContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitBreakStmt(CminusParser.BreakStmtContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterExpression(CminusParser.ExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitExpression(CminusParser.ExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterSimpleExpression(CminusParser.SimpleExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitSimpleExpression(CminusParser.SimpleExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterOrExpression(CminusParser.OrExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitOrExpression(CminusParser.OrExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterAndExpression(CminusParser.AndExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitAndExpression(CminusParser.AndExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterUnaryRelExpression(CminusParser.UnaryRelExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitUnaryRelExpression(CminusParser.UnaryRelExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterRelExpression(CminusParser.RelExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitRelExpression(CminusParser.RelExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterRelop(CminusParser.RelopContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitRelop(CminusParser.RelopContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterSumExpression(CminusParser.SumExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitSumExpression(CminusParser.SumExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterSumop(CminusParser.SumopContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitSumop(CminusParser.SumopContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterTermExpression(CminusParser.TermExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitTermExpression(CminusParser.TermExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterMulop(CminusParser.MulopContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitMulop(CminusParser.MulopContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterUnaryExpression(CminusParser.UnaryExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitUnaryExpression(CminusParser.UnaryExpressionContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterUnaryop(CminusParser.UnaryopContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitUnaryop(CminusParser.UnaryopContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterFactor(CminusParser.FactorContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitFactor(CminusParser.FactorContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterMutable(CminusParser.MutableContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitMutable(CminusParser.MutableContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterImmutable(CminusParser.ImmutableContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitImmutable(CminusParser.ImmutableContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterCall(CminusParser.CallContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitCall(CminusParser.CallContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void enterConstant(CminusParser.ConstantContext ctx) { } /** * {@inheritDoc} * *The default implementation does nothing.
*/ @Override public void exitConstant(CminusParser.ConstantContext 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) { } }