Uses of Interface
net.hydromatic.morel.compile.Tracer
Packages that use Tracer
Package
Description
Validates programs
(represented as
AstNode),
deduces their type,
and compiles them into code that can be evaluated.-
Uses of Tracer in net.hydromatic.morel.compile
Classes in net.hydromatic.morel.compile that implement TracerModifier and TypeClassDescriptionprivate static classTracer that delegates to an underlying tracer.private static classTracer that does nothing.Fields in net.hydromatic.morel.compile declared as TracerModifier and TypeFieldDescription(package private) static final TracerTracers.EmptyTracer.INSTANCE(package private) final TracerTracers.DelegatingTracer.tracerMethods in net.hydromatic.morel.compile that return TracerModifier and TypeMethodDescriptionstatic TracerTracers.empty()Returns a tracer that does nothing.static TracerTracers.withOnCompileException(Tracer tracer, Consumer<CompileException> consumer) static TracerTracers.withOnCore(Tracer tracer, int pass, Consumer<Core.Decl> consumer) Returns a tracer that performs the given action on a declaration, then calls the underlying tracer.static TracerTracers.withOnException(Tracer tracer, Consumer<@Nullable Throwable> consumer) static TracerTracers.withOnPlan(Tracer tracer, Consumer<Code> consumer) Returns a tracer that performs the given action on code, then calls the underlying tracer.static TracerTracers.withOnResult(Tracer tracer, Consumer<Object> consumer) Returns a tracer that performs the given action on the result of an evaluation, then calls the underlying tracer.static TracerTracers.withOnTypeException(Tracer tracer, Consumer<TypeResolver.TypeException> consumer) static TracerTracers.withOnWarnings(Tracer tracer, Consumer<List<Throwable>> consumer) Methods in net.hydromatic.morel.compile with parameters of type TracerModifier and TypeMethodDescriptionprivate 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) static TracerTracers.withOnCore(Tracer tracer, int pass, Consumer<Core.Decl> consumer) Returns a tracer that performs the given action on a declaration, then calls the underlying tracer.static TracerTracers.withOnException(Tracer tracer, Consumer<@Nullable Throwable> consumer) static TracerTracers.withOnPlan(Tracer tracer, Consumer<Code> consumer) Returns a tracer that performs the given action on code, then calls the underlying tracer.static TracerTracers.withOnResult(Tracer tracer, Consumer<Object> consumer) Returns a tracer that performs the given action on the result of an evaluation, then calls the underlying tracer.static TracerTracers.withOnTypeException(Tracer tracer, Consumer<TypeResolver.TypeException> consumer) static TracerTracers.withOnWarnings(Tracer tracer, Consumer<List<Throwable>> consumer) Constructors in net.hydromatic.morel.compile with parameters of type Tracer