Package net.hydromatic.morel.compile
Class Tracers.DelegatingTracer
java.lang.Object
net.hydromatic.morel.compile.Tracers.DelegatingTracer
- All Implemented Interfaces:
Tracer
- Enclosing class:
Tracers
Tracer that delegates to an underlying tracer.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleCompileException(@Nullable CompileException e) Called with the exception thrown during validation, or null if no exception was thrown.voidCalled when the expression is converted to core.booleanonException(@Nullable Throwable e) Called with the exception thrown during evaluation, or null if no exception was thrown.voidCalled when code is generated.voidCalled on the result of an evaluation.booleanCalled with the exception thrown during type resolution.voidonWarnings(List<Throwable> warningList) Called with the list of warnings after evaluation.
-
Field Details
-
tracer
-
-
Constructor Details
-
DelegatingTracer
DelegatingTracer(Tracer tracer)
-
-
Method Details
-
onCore
Description copied from interface:TracerCalled when the expression is converted to core. -
onPlan
Description copied from interface:TracerCalled when code is generated. -
onResult
Description copied from interface:TracerCalled on the result of an evaluation. -
onWarnings
Description copied from interface:TracerCalled with the list of warnings after evaluation.- Specified by:
onWarningsin interfaceTracer
-
onException
Description copied from interface:TracerCalled with the exception thrown during evaluation, or null if no exception was thrown. Returns whether a handler was found.- Specified by:
onExceptionin interfaceTracer
-
onTypeException
Description copied from interface:TracerCalled with the exception thrown during type resolution. Returns whether a handler was found.- Specified by:
onTypeExceptionin interfaceTracer
-
handleCompileException
Description copied from interface:TracerCalled with the exception thrown during validation, or null if no exception was thrown. Returns whether a handler was found.- Specified by:
handleCompileExceptionin interfaceTracer
-