Uses of Interface
net.hydromatic.morel.compile.Tracer
-
Packages that use Tracer Package Description net.hydromatic.morel.compile Validates programs (represented asAstNode), 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 Tracer Modifier and Type Class Description private static classTracers.DelegatingTracerTracer that delegates to an underlying tracer.private static classTracers.EmptyTracerTracer that does nothing.Fields in net.hydromatic.morel.compile declared as Tracer Modifier and Type Field Description (package private) static TracerTracers.EmptyTracer. INSTANCE(package private) TracerTracers.DelegatingTracer. tracerMethods in net.hydromatic.morel.compile that return Tracer Modifier and Type Method Description static 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 Tracer Modifier and Type Method Description 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)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 Constructor Description DelegatingTracer(Tracer tracer)
-