Uses of Class
net.hydromatic.morel.compile.CompileException
-
Packages that use CompileException Package Description net.hydromatic.morel.compile Validates programs (represented asAstNode), deduces their type, and compiles them into code that can be evaluated. -
-
Uses of CompileException in net.hydromatic.morel.compile
Subclasses of CompileException in net.hydromatic.morel.compile Modifier and Type Class Description static classTypeResolver.TypeExceptionError while deducing type.Methods in net.hydromatic.morel.compile with parameters of type CompileException Modifier and Type Method Description booleanTracer. handleCompileException(@Nullable CompileException e)Called with the exception thrown during validation, or null if no exception was thrown.booleanTracers.DelegatingTracer. handleCompileException(@Nullable CompileException e)booleanTracers.EmptyTracer. handleCompileException(@Nullable CompileException e)Method parameters in net.hydromatic.morel.compile with type arguments of type CompileException Modifier and Type Method Description private static voidCompiles. checkPatternCoverage(TypeSystem typeSystem, Core.Case kase, Consumer<CompileException> errorConsumer, Consumer<CompileException> warningConsumer)private static voidCompiles. checkPatternCoverage(TypeSystem typeSystem, Core.Decl decl, Consumer<CompileException> warningConsumer)Checks for exhaustive and redundant patterns, and throws if there are errors/warnings.private static CompiledStatementCompiles. prepareDecl(TypeSystem typeSystem, Session session, Environment env, @Nullable Calcite calcite, Ast.Decl decl, boolean isDecl, Consumer<CompileException> warningConsumer, Tracer tracer)Validates and compiles a declaration, and compiles it to code that can be evaluated by the interpreter.static CompiledStatementCompiles. prepareStatement(TypeSystem typeSystem, Session session, Environment env, AstNode statement, @Nullable Calcite calcite, Consumer<CompileException> warningConsumer, Tracer tracer)Validates and compiles a statement (expression or declaration), and compiles it to code that can be evaluated by the interpreter.static TracerTracers. withOnCompileException(Tracer tracer, Consumer<CompileException> consumer)
-