Uses of Class
net.hydromatic.morel.compile.CompileException
Packages that use CompileException
Package
Description
Validates programs
(represented as
AstNode),
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.compileModifier and TypeClassDescriptionstatic classError while deducing type.Methods in net.hydromatic.morel.compile with parameters of type CompileExceptionModifier and TypeMethodDescriptionbooleanTracer.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 CompileExceptionModifier and TypeMethodDescriptionprivate 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, 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)