Module aya.base

Class MockTycker

Direct Known Subclasses:
ConcreteAwareTycker, TermComparator

public abstract sealed class MockTycker extends StatedTycker permits ConcreteAwareTycker, TermComparator
This is the 2.25-th base class of a tycker.
See Also:
  • Field Details

    • ctx

      @NotNull public @NotNull LocalCtx ctx
  • Constructor Details

    • MockTycker

      protected MockTycker(@NotNull @NotNull org.aya.util.reporter.Reporter reporter, @Nullable Trace.Builder traceBuilder, @NotNull @NotNull TyckState state, @NotNull @NotNull LocalCtx ctx)
  • Method Details

    • unifier

      @NotNull public @NotNull Unifier unifier(@NotNull @NotNull org.aya.util.error.SourcePos pos, @NotNull @NotNull org.aya.util.Ordering ord)
    • synthesizer

      @NotNull public @NotNull Synthesizer synthesizer()
    • mockTerm

      @NotNull protected final @NotNull Term mockTerm(Term.Param param, org.aya.util.error.SourcePos pos)
    • mockArg

      @NotNull protected final @NotNull org.aya.util.Arg<Term> mockArg(Term.Param param, org.aya.util.error.SourcePos pos)
    • generatePi

      @NotNull protected final @NotNull Term generatePi(@NotNull Expr.Lambda expr)
    • instImplicits

      protected final Result instImplicits(@NotNull @NotNull Result result, @NotNull @NotNull org.aya.util.error.SourcePos pos)
    • subscoped

      public <R> R subscoped(@NotNull @NotNull Supplier<R> action)