Package net.hydromatic.morel.util
Interface Tracers.ConfigurableTracer
- All Superinterfaces:
Unifier.Tracer
- All Known Implementing Classes:
Tracers.ConfigurableTracerImpl
- Enclosing class:
Tracers
Tracer that allows each of its methods to be modified using a handler.
-
Method Summary
Modifier and TypeMethodDescriptionSets handler forUnifier.Tracer.onConflict(Sequence, Sequence).Sets handler forUnifier.Tracer.onCycle(Variable, Term).withDeleteHandler(BiConsumer<Unifier.Term, Unifier.Term> handler) Sets handler forUnifier.Tracer.onDelete(Term, Term).Sets handler forUnifier.Tracer.onSequence(Sequence, Sequence).withSubstituteHandler(Tracers.QuadConsumer<Unifier.Term, Unifier.Term, Unifier.Term, Unifier.Term> handler) Sets handler forUnifier.Tracer.onSubstitute(Term, Term, Term, Term).withSwapHandler(BiConsumer<Unifier.Term, Unifier.Term> handler) Sets handler forUnifier.Tracer.onSwap(Term, Term).Sets handler forUnifier.Tracer.onVariable(Variable, Term).Methods inherited from interface net.hydromatic.morel.util.Unifier.Tracer
onConflict, onCycle, onDelete, onSequence, onSubstitute, onSwap, onVariable
-
Method Details
-
withDeleteHandler
Sets handler forUnifier.Tracer.onDelete(Term, Term). -
withConflictHandler
Tracers.ConfigurableTracer withConflictHandler(BiConsumer<Unifier.Sequence, Unifier.Sequence> handler) Sets handler forUnifier.Tracer.onConflict(Sequence, Sequence). -
withSequenceHandler
Tracers.ConfigurableTracer withSequenceHandler(BiConsumer<Unifier.Sequence, Unifier.Sequence> handler) Sets handler forUnifier.Tracer.onSequence(Sequence, Sequence). -
withSwapHandler
Sets handler forUnifier.Tracer.onSwap(Term, Term). -
withCycleHandler
Sets handler forUnifier.Tracer.onCycle(Variable, Term). -
withVariableHandler
Sets handler forUnifier.Tracer.onVariable(Variable, Term). -
withSubstituteHandler
Tracers.ConfigurableTracer withSubstituteHandler(Tracers.QuadConsumer<Unifier.Term, Unifier.Term, Unifier.Term, Unifier.Term> handler) Sets handler forUnifier.Tracer.onSubstitute(Term, Term, Term, Term).
-