All Downloads are FREE. Search and download functionalities are using the official Maven repository.

caustic.grammar.CausticVisitor 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.ParseTreeVisitor;

/**
 * This interface defines a complete generic visitor for a parse tree produced
 * by {@link CausticParser}.
 *
 * @param  The return type of the visit operation. Use {@link Void} for
 * operations with no return type.
 */
public interface CausticVisitor extends ParseTreeVisitor {
	/**
	 * Visit a parse tree produced by {@link CausticParser#comment}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitComment(CausticParser.CommentContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#constant}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitConstant(CausticParser.ConstantContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#name}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitName(CausticParser.NameContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#funcall}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitFuncall(CausticParser.FuncallContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#primaryExpression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPrimaryExpression(CausticParser.PrimaryExpressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#prefixExpression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPrefixExpression(CausticParser.PrefixExpressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#multiplicativeExpression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitMultiplicativeExpression(CausticParser.MultiplicativeExpressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#additiveExpression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitAdditiveExpression(CausticParser.AdditiveExpressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#relationalExpression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitRelationalExpression(CausticParser.RelationalExpressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#equalityExpression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitEqualityExpression(CausticParser.EqualityExpressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#logicalAndExpression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitLogicalAndExpression(CausticParser.LogicalAndExpressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#logicalOrExpression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitLogicalOrExpression(CausticParser.LogicalOrExpressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#expression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitExpression(CausticParser.ExpressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#conditional}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitConditional(CausticParser.ConditionalContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#loop}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitLoop(CausticParser.LoopContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#deletion}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitDeletion(CausticParser.DeletionContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#definition}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitDefinition(CausticParser.DefinitionContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#assignment}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitAssignment(CausticParser.AssignmentContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#rollback}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitRollback(CausticParser.RollbackContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#statement}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitStatement(CausticParser.StatementContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#block}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitBlock(CausticParser.BlockContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#type}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitType(CausticParser.TypeContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#parameter}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitParameter(CausticParser.ParameterContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#parameters}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitParameters(CausticParser.ParametersContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#function}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitFunction(CausticParser.FunctionContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#service}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitService(CausticParser.ServiceContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#struct}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitStruct(CausticParser.StructContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#declaration}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitDeclaration(CausticParser.DeclarationContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#module}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitModule(CausticParser.ModuleContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#include}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitInclude(CausticParser.IncludeContext ctx);
	/**
	 * Visit a parse tree produced by {@link CausticParser#program}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitProgram(CausticParser.ProgramContext ctx);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy