TypeChecker
Constructors
Link copied to clipboard
public void TypeChecker(List<MoonLightParseError> errors, TypeEnvironment typeEnvironment, TypeChecker.EvaluationContext evaluationContext, boolean isSpatial)
Functions
Link copied to clipboard
Link copied to clipboard
public static boolean checkType(List<MoonLightParseError> errors, TypeEnvironment typeEnvironment, MoonLightType expected, MoonLightScriptParser.ExpressionContext value)
Link copied to clipboard
Link copied to clipboard
public static MoonLightType inferType(List<MoonLightParseError> errors, TypeEnvironment typeEnvironment, MoonLightScriptParser.ExpressionContext value)
Link copied to clipboard
Visit a parse tree produced by the andExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
public MoonLightType visitBinaryMathCallExpression(MoonLightScriptParser.BinaryMathCallExpressionContext ctx)
Visit a parse tree produced by the binaryMathCallExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by MoonLightScriptParser#binaryMathFunction.
Link copied to clipboard
Visit a parse tree produced by the booleanSemiring} labeled alternative in MoonLightScriptParser#semiringExpression.
Link copied to clipboard
Visit a parse tree produced by the booleanType} labeled alternative in MoonLightScriptParser#basicType.
Link copied to clipboard
Visit a parse tree produced by the bracketExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Visit a parse tree produced by the escapeExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
public MoonLightType visitEventuallyExpression(MoonLightScriptParser.EventuallyExpressionContext ctx)
Visit a parse tree produced by the eventuallyExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
public MoonLightType visitEverywhereExpression(MoonLightScriptParser.EverywhereExpressionContext ctx)
Visit a parse tree produced by the everywhereExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by the falseExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by the globallyExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
public MoonLightType visitHistoricallyExpression(MoonLightScriptParser.HistoricallyExpressionContext ctx)
Visit a parse tree produced by the historicallyExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
public MoonLightType visitIfThenElseExpression(MoonLightScriptParser.IfThenElseExpressionContext ctx)
Visit a parse tree produced by the ifThenElseExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by the implyExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by the infinityExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by the integerType} labeled alternative in MoonLightScriptParser#basicType.
Link copied to clipboard
Visit a parse tree produced by MoonLightScriptParser#interval.
Link copied to clipboard
Visit a parse tree produced by the intExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by the minMaxSemiring} labeled alternative in MoonLightScriptParser#semiringExpression.
Link copied to clipboard
Visit a parse tree produced by MoonLightScriptParser#model.
Link copied to clipboard
Visit a parse tree produced by the mulDivExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by the nextExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by the notExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by the onceExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by the orExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by the reachExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by the realExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by the realType} labeled alternative in MoonLightScriptParser#basicType.
Link copied to clipboard
Visit a parse tree produced by the referenceExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by the referenceType} labeled alternative in MoonLightScriptParser#basicType.
Link copied to clipboard
Visit a parse tree produced by the relationExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by MoonLightScriptParser#scriptConstant.
Link copied to clipboard
Visit a parse tree produced by MoonLightScriptParser#scriptDomain.
Link copied to clipboard
Visit a parse tree produced by MoonLightScriptParser#scriptFormula.
Link copied to clipboard
Visit a parse tree produced by MoonLightScriptParser#scriptSignal.
Link copied to clipboard
Visit a parse tree produced by MoonLightScriptParser#scriptSpace.
Link copied to clipboard
Visit a parse tree produced by MoonLightScriptParser#scriptType.
Link copied to clipboard
Visit a parse tree produced by the sinceExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by the somewhereExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by the sumDifExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Link copied to clipboard
Visit a parse tree produced by the trueExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by MoonLightScriptParser#typeElement.
Link copied to clipboard
Visit a parse tree produced by the unaryExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
public MoonLightType visitUnaryMathCallExpression(MoonLightScriptParser.UnaryMathCallExpressionContext ctx)
Visit a parse tree produced by the unaryMathCallExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by MoonLightScriptParser#unaryMathFunction.
Link copied to clipboard
Visit a parse tree produced by the untilExpression} labeled alternative in MoonLightScriptParser#expression.
Link copied to clipboard
Visit a parse tree produced by MoonLightScriptParser#variableDeclaration.