459 lines
12 KiB
Java
459 lines
12 KiB
Java
package gen;// Generated from C:/Users/dh10krj/OneDrive - Durr Group/Dokumente/S4/Compilerbau/projekt/NichtHaskell/Source/Decaf.g4 by ANTLR 4.13.1
|
|
|
|
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 DecafListener},
|
|
* which can be extended to create a listener which only needs to handle a subset
|
|
* of the available methods.
|
|
*/
|
|
@SuppressWarnings("CheckReturnValue")
|
|
public class DecafBaseListener implements DecafListener {
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterProgram(DecafParser.ProgramContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitProgram(DecafParser.ProgramContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterClassdecl(DecafParser.ClassdeclContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitClassdecl(DecafParser.ClassdeclContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterConstuctorDecl(DecafParser.ConstuctorDeclContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitConstuctorDecl(DecafParser.ConstuctorDeclContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterMethodDecl(DecafParser.MethodDeclContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitMethodDecl(DecafParser.MethodDeclContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterFieldDecl(DecafParser.FieldDeclContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitFieldDecl(DecafParser.FieldDeclContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterParameterList(DecafParser.ParameterListContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitParameterList(DecafParser.ParameterListContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterParameter(DecafParser.ParameterContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitParameter(DecafParser.ParameterContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterExpression(DecafParser.ExpressionContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitExpression(DecafParser.ExpressionContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterSubExpression(DecafParser.SubExpressionContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitSubExpression(DecafParser.SubExpressionContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterAssignableExpr(DecafParser.AssignableExprContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitAssignableExpr(DecafParser.AssignableExprContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterInstVar(DecafParser.InstVarContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitInstVar(DecafParser.InstVarContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterMethodCall(DecafParser.MethodCallContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitMethodCall(DecafParser.MethodCallContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterArgumentList(DecafParser.ArgumentListContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitArgumentList(DecafParser.ArgumentListContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterSubReceiver(DecafParser.SubReceiverContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitSubReceiver(DecafParser.SubReceiverContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterReceiver(DecafParser.ReceiverContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitReceiver(DecafParser.ReceiverContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterReceivingMethod(DecafParser.ReceivingMethodContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitReceivingMethod(DecafParser.ReceivingMethodContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterBinaryExpr(DecafParser.BinaryExprContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitBinaryExpr(DecafParser.BinaryExprContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterCalcExpr(DecafParser.CalcExprContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitCalcExpr(DecafParser.CalcExprContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterDotExpr(DecafParser.DotExprContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitDotExpr(DecafParser.DotExprContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterDotSubExpr(DecafParser.DotSubExprContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitDotSubExpr(DecafParser.DotSubExprContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterNonCalcExpr(DecafParser.NonCalcExprContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitNonCalcExpr(DecafParser.NonCalcExprContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterNonCalcOperator(DecafParser.NonCalcOperatorContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitNonCalcOperator(DecafParser.NonCalcOperatorContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterStmtExpr(DecafParser.StmtExprContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitStmtExpr(DecafParser.StmtExprContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterStatement(DecafParser.StatementContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitStatement(DecafParser.StatementContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterReturnStmt(DecafParser.ReturnStmtContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitReturnStmt(DecafParser.ReturnStmtContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterLocalVarDecl(DecafParser.LocalVarDeclContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitLocalVarDecl(DecafParser.LocalVarDeclContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterBlock(DecafParser.BlockContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitBlock(DecafParser.BlockContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterWhileStmt(DecafParser.WhileStmtContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitWhileStmt(DecafParser.WhileStmtContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterIfElseStmt(DecafParser.IfElseStmtContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitIfElseStmt(DecafParser.IfElseStmtContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterIfStmt(DecafParser.IfStmtContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitIfStmt(DecafParser.IfStmtContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterElseStmt(DecafParser.ElseStmtContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitElseStmt(DecafParser.ElseStmtContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterAssign(DecafParser.AssignContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitAssign(DecafParser.AssignContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterNewDecl(DecafParser.NewDeclContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitNewDecl(DecafParser.NewDeclContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterType(DecafParser.TypeContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitType(DecafParser.TypeContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void enterValue(DecafParser.ValueContext ctx) { }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation does nothing.</p>
|
|
*/
|
|
@Override public void exitValue(DecafParser.ValueContext 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) { }
|
|
} |