caustic.grammar.CausticListener Maven / Gradle / Ivy
// Generated from caustic-compiler/src/main/antlr/Caustic.g4 by ANTLR 4.7
package caustic.grammar;
import org.antlr.v4.runtime.tree.ParseTreeListener;
/**
* This interface defines a complete listener for a parse tree produced by
* {@link CausticParser}.
*/
public interface CausticListener extends ParseTreeListener {
/**
* Enter a parse tree produced by {@link CausticParser#comment}.
* @param ctx the parse tree
*/
void enterComment(CausticParser.CommentContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#comment}.
* @param ctx the parse tree
*/
void exitComment(CausticParser.CommentContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#constant}.
* @param ctx the parse tree
*/
void enterConstant(CausticParser.ConstantContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#constant}.
* @param ctx the parse tree
*/
void exitConstant(CausticParser.ConstantContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#name}.
* @param ctx the parse tree
*/
void enterName(CausticParser.NameContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#name}.
* @param ctx the parse tree
*/
void exitName(CausticParser.NameContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#funcall}.
* @param ctx the parse tree
*/
void enterFuncall(CausticParser.FuncallContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#funcall}.
* @param ctx the parse tree
*/
void exitFuncall(CausticParser.FuncallContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#primaryExpression}.
* @param ctx the parse tree
*/
void enterPrimaryExpression(CausticParser.PrimaryExpressionContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#primaryExpression}.
* @param ctx the parse tree
*/
void exitPrimaryExpression(CausticParser.PrimaryExpressionContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#prefixExpression}.
* @param ctx the parse tree
*/
void enterPrefixExpression(CausticParser.PrefixExpressionContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#prefixExpression}.
* @param ctx the parse tree
*/
void exitPrefixExpression(CausticParser.PrefixExpressionContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#multiplicativeExpression}.
* @param ctx the parse tree
*/
void enterMultiplicativeExpression(CausticParser.MultiplicativeExpressionContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#multiplicativeExpression}.
* @param ctx the parse tree
*/
void exitMultiplicativeExpression(CausticParser.MultiplicativeExpressionContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#additiveExpression}.
* @param ctx the parse tree
*/
void enterAdditiveExpression(CausticParser.AdditiveExpressionContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#additiveExpression}.
* @param ctx the parse tree
*/
void exitAdditiveExpression(CausticParser.AdditiveExpressionContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#relationalExpression}.
* @param ctx the parse tree
*/
void enterRelationalExpression(CausticParser.RelationalExpressionContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#relationalExpression}.
* @param ctx the parse tree
*/
void exitRelationalExpression(CausticParser.RelationalExpressionContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#equalityExpression}.
* @param ctx the parse tree
*/
void enterEqualityExpression(CausticParser.EqualityExpressionContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#equalityExpression}.
* @param ctx the parse tree
*/
void exitEqualityExpression(CausticParser.EqualityExpressionContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#logicalAndExpression}.
* @param ctx the parse tree
*/
void enterLogicalAndExpression(CausticParser.LogicalAndExpressionContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#logicalAndExpression}.
* @param ctx the parse tree
*/
void exitLogicalAndExpression(CausticParser.LogicalAndExpressionContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#logicalOrExpression}.
* @param ctx the parse tree
*/
void enterLogicalOrExpression(CausticParser.LogicalOrExpressionContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#logicalOrExpression}.
* @param ctx the parse tree
*/
void exitLogicalOrExpression(CausticParser.LogicalOrExpressionContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#expression}.
* @param ctx the parse tree
*/
void enterExpression(CausticParser.ExpressionContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#expression}.
* @param ctx the parse tree
*/
void exitExpression(CausticParser.ExpressionContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#conditional}.
* @param ctx the parse tree
*/
void enterConditional(CausticParser.ConditionalContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#conditional}.
* @param ctx the parse tree
*/
void exitConditional(CausticParser.ConditionalContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#loop}.
* @param ctx the parse tree
*/
void enterLoop(CausticParser.LoopContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#loop}.
* @param ctx the parse tree
*/
void exitLoop(CausticParser.LoopContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#deletion}.
* @param ctx the parse tree
*/
void enterDeletion(CausticParser.DeletionContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#deletion}.
* @param ctx the parse tree
*/
void exitDeletion(CausticParser.DeletionContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#definition}.
* @param ctx the parse tree
*/
void enterDefinition(CausticParser.DefinitionContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#definition}.
* @param ctx the parse tree
*/
void exitDefinition(CausticParser.DefinitionContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#assignment}.
* @param ctx the parse tree
*/
void enterAssignment(CausticParser.AssignmentContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#assignment}.
* @param ctx the parse tree
*/
void exitAssignment(CausticParser.AssignmentContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#rollback}.
* @param ctx the parse tree
*/
void enterRollback(CausticParser.RollbackContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#rollback}.
* @param ctx the parse tree
*/
void exitRollback(CausticParser.RollbackContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#statement}.
* @param ctx the parse tree
*/
void enterStatement(CausticParser.StatementContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#statement}.
* @param ctx the parse tree
*/
void exitStatement(CausticParser.StatementContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#block}.
* @param ctx the parse tree
*/
void enterBlock(CausticParser.BlockContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#block}.
* @param ctx the parse tree
*/
void exitBlock(CausticParser.BlockContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#type}.
* @param ctx the parse tree
*/
void enterType(CausticParser.TypeContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#type}.
* @param ctx the parse tree
*/
void exitType(CausticParser.TypeContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#parameter}.
* @param ctx the parse tree
*/
void enterParameter(CausticParser.ParameterContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#parameter}.
* @param ctx the parse tree
*/
void exitParameter(CausticParser.ParameterContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#parameters}.
* @param ctx the parse tree
*/
void enterParameters(CausticParser.ParametersContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#parameters}.
* @param ctx the parse tree
*/
void exitParameters(CausticParser.ParametersContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#function}.
* @param ctx the parse tree
*/
void enterFunction(CausticParser.FunctionContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#function}.
* @param ctx the parse tree
*/
void exitFunction(CausticParser.FunctionContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#service}.
* @param ctx the parse tree
*/
void enterService(CausticParser.ServiceContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#service}.
* @param ctx the parse tree
*/
void exitService(CausticParser.ServiceContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#struct}.
* @param ctx the parse tree
*/
void enterStruct(CausticParser.StructContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#struct}.
* @param ctx the parse tree
*/
void exitStruct(CausticParser.StructContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#declaration}.
* @param ctx the parse tree
*/
void enterDeclaration(CausticParser.DeclarationContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#declaration}.
* @param ctx the parse tree
*/
void exitDeclaration(CausticParser.DeclarationContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#module}.
* @param ctx the parse tree
*/
void enterModule(CausticParser.ModuleContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#module}.
* @param ctx the parse tree
*/
void exitModule(CausticParser.ModuleContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#include}.
* @param ctx the parse tree
*/
void enterInclude(CausticParser.IncludeContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#include}.
* @param ctx the parse tree
*/
void exitInclude(CausticParser.IncludeContext ctx);
/**
* Enter a parse tree produced by {@link CausticParser#program}.
* @param ctx the parse tree
*/
void enterProgram(CausticParser.ProgramContext ctx);
/**
* Exit a parse tree produced by {@link CausticParser#program}.
* @param ctx the parse tree
*/
void exitProgram(CausticParser.ProgramContext ctx);
}