TypeChecker

public class TypeChecker

Constructors

Link copied to clipboard
public void TypeChecker(List<MoonLightParseError> errors, TypeEnvironment typeEnvironment, TypeChecker.EvaluationContext evaluationContext, boolean isSpatial)

Types

Link copied to clipboard
public enum EvaluationContext

Functions

Link copied to clipboard
public void checkBoolean(ParserRuleContext ctx)
Link copied to clipboard
public void checkReal(ParserRuleContext ctx)
Link copied to clipboard
public boolean checkType(MoonLightType expected, ParserRuleContext ctx)
public static boolean checkType(List<MoonLightParseError> errors, TypeEnvironment typeEnvironment, MoonLightType expected, ExpressionContext value)
Link copied to clipboard
public MoonLightType infer(ExpressionContext value)
Link copied to clipboard
public static MoonLightType inferType(List<MoonLightParseError> errors, TypeEnvironment typeEnvironment, ExpressionContext value)
Link copied to clipboard
public MoonLightType visitAndExpression(AndExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitBinaryMathCallExpression(BinaryMathCallExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitBracketExpression(BracketExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitEscapeExpression(EscapeExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitEventuallyExpression(EventuallyExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitEverywhereExpression(EverywhereExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitFalseExpression(FalseExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitGloballyExpression(GloballyExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitHistoricallyExpression(HistoricallyExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitIfThenElseExpression(IfThenElseExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitImplyExpression(ImplyExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitInfinityExpression(InfinityExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitIntExpression(IntExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitMulDivExpression(MulDivExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitNextExpression(NextExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitNotExpression(NotExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitOnceExpression(OnceExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitOrExpression(OrExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitReachExpression(ReachExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitRealExpression(RealExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitReferenceExpression(ReferenceExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitRelationExpression(RelationExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitSinceExpression(SinceExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitSomewhereExpression(SomewhereExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitSumDifExpression(SumDifExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitTrueExpression(TrueExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitUnaryExpression(UnaryExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitUnaryMathCallExpression(UnaryMathCallExpressionContext ctx)
Link copied to clipboard
public MoonLightType visitUntilExpression(UntilExpressionContext ctx)