main.io.github.moonlightsuite.moonlight.script.MoonLightScriptVisitor Maven / Gradle / Ivy
// Generated from io/github/moonlightsuite/moonlight/script/MoonLightScript.g4 by ANTLR 4.8
package io.github.moonlightsuite.moonlight.script;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**
* This interface defines a complete generic visitor for a parse tree produced
* by {@link MoonLightScriptParser}.
*
* @param The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public interface MoonLightScriptVisitor extends ParseTreeVisitor {
/**
* Visit a parse tree produced by {@link MoonLightScriptParser#model}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitModel(MoonLightScriptParser.ModelContext ctx);
/**
* Visit a parse tree produced by {@link MoonLightScriptParser#scriptConstant}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitScriptConstant(MoonLightScriptParser.ScriptConstantContext ctx);
/**
* Visit a parse tree produced by {@link MoonLightScriptParser#scriptFormula}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitScriptFormula(MoonLightScriptParser.ScriptFormulaContext ctx);
/**
* Visit a parse tree produced by {@link MoonLightScriptParser#variableDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitVariableDeclaration(MoonLightScriptParser.VariableDeclarationContext ctx);
/**
* Visit a parse tree produced by the {@code integerType}
* labeled alternative in {@link MoonLightScriptParser#basicType}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIntegerType(MoonLightScriptParser.IntegerTypeContext ctx);
/**
* Visit a parse tree produced by the {@code realType}
* labeled alternative in {@link MoonLightScriptParser#basicType}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRealType(MoonLightScriptParser.RealTypeContext ctx);
/**
* Visit a parse tree produced by the {@code booleanType}
* labeled alternative in {@link MoonLightScriptParser#basicType}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBooleanType(MoonLightScriptParser.BooleanTypeContext ctx);
/**
* Visit a parse tree produced by the {@code referenceType}
* labeled alternative in {@link MoonLightScriptParser#basicType}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitReferenceType(MoonLightScriptParser.ReferenceTypeContext ctx);
/**
* Visit a parse tree produced by {@link MoonLightScriptParser#typeElement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTypeElement(MoonLightScriptParser.TypeElementContext ctx);
/**
* Visit a parse tree produced by {@link MoonLightScriptParser#scriptType}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitScriptType(MoonLightScriptParser.ScriptTypeContext ctx);
/**
* Visit a parse tree produced by the {@code minMaxSemiring}
* labeled alternative in {@link MoonLightScriptParser#semiringExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMinMaxSemiring(MoonLightScriptParser.MinMaxSemiringContext ctx);
/**
* Visit a parse tree produced by the {@code booleanSemiring}
* labeled alternative in {@link MoonLightScriptParser#semiringExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBooleanSemiring(MoonLightScriptParser.BooleanSemiringContext ctx);
/**
* Visit a parse tree produced by {@link MoonLightScriptParser#scriptDomain}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitScriptDomain(MoonLightScriptParser.ScriptDomainContext ctx);
/**
* Visit a parse tree produced by {@link MoonLightScriptParser#scriptSignal}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitScriptSignal(MoonLightScriptParser.ScriptSignalContext ctx);
/**
* Visit a parse tree produced by {@link MoonLightScriptParser#scriptSpace}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitScriptSpace(MoonLightScriptParser.ScriptSpaceContext ctx);
/**
* Visit a parse tree produced by the {@code binaryMathCallExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBinaryMathCallExpression(MoonLightScriptParser.BinaryMathCallExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code implyExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitImplyExpression(MoonLightScriptParser.ImplyExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code notExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNotExpression(MoonLightScriptParser.NotExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code falseExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFalseExpression(MoonLightScriptParser.FalseExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code relationExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRelationExpression(MoonLightScriptParser.RelationExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code onceExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitOnceExpression(MoonLightScriptParser.OnceExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code bracketExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBracketExpression(MoonLightScriptParser.BracketExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code untilExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitUntilExpression(MoonLightScriptParser.UntilExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code everywhereExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEverywhereExpression(MoonLightScriptParser.EverywhereExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code andExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAndExpression(MoonLightScriptParser.AndExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code trueExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTrueExpression(MoonLightScriptParser.TrueExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code unaryMathCallExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitUnaryMathCallExpression(MoonLightScriptParser.UnaryMathCallExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code nextExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNextExpression(MoonLightScriptParser.NextExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code realExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRealExpression(MoonLightScriptParser.RealExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code unaryExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitUnaryExpression(MoonLightScriptParser.UnaryExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code sinceExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSinceExpression(MoonLightScriptParser.SinceExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code referenceExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitReferenceExpression(MoonLightScriptParser.ReferenceExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code intExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIntExpression(MoonLightScriptParser.IntExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code globallyExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitGloballyExpression(MoonLightScriptParser.GloballyExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code reachExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitReachExpression(MoonLightScriptParser.ReachExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code ifThenElseExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIfThenElseExpression(MoonLightScriptParser.IfThenElseExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code orExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitOrExpression(MoonLightScriptParser.OrExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code escapeExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEscapeExpression(MoonLightScriptParser.EscapeExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code somewhereExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSomewhereExpression(MoonLightScriptParser.SomewhereExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code mulDivExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMulDivExpression(MoonLightScriptParser.MulDivExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code sumDifExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSumDifExpression(MoonLightScriptParser.SumDifExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code historicallyExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitHistoricallyExpression(MoonLightScriptParser.HistoricallyExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code eventuallyExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEventuallyExpression(MoonLightScriptParser.EventuallyExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code infinityExpression}
* labeled alternative in {@link MoonLightScriptParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInfinityExpression(MoonLightScriptParser.InfinityExpressionContext ctx);
/**
* Visit a parse tree produced by {@link MoonLightScriptParser#interval}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInterval(MoonLightScriptParser.IntervalContext ctx);
/**
* Visit a parse tree produced by {@link MoonLightScriptParser#binaryMathFunction}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBinaryMathFunction(MoonLightScriptParser.BinaryMathFunctionContext ctx);
/**
* Visit a parse tree produced by {@link MoonLightScriptParser#unaryMathFunction}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitUnaryMathFunction(MoonLightScriptParser.UnaryMathFunctionContext ctx);
}