模块 org.aya
程序包 org.aya.tyck

类 ExprTycker

java.lang.Object
org.aya.tyck.Tycker
org.aya.tyck.ExprTycker

public final class ExprTycker extends Tycker
API Note:
make sure to instantiate this class once for each Decl. Do not use multiple instances in the tycking of one Decl and do not reuse instances of this class in the tycking of multiple Decls.
  • 字段详细资料

    • localCtx

      @NotNull public @NotNull LocalCtx localCtx
    • traceBuilder

      @Nullable public final Trace.Builder traceBuilder
  • 构造器详细资料

    • ExprTycker

      public ExprTycker(@NotNull @NotNull org.aya.util.reporter.Reporter reporter, @Nullable Trace.Builder traceBuilder)
  • 方法详细资料

    • solveMetas

      public void solveMetas()
    • inherit

      @NotNull public @NotNull ExprTycker.Result inherit(@NotNull @NotNull Expr expr, @NotNull @NotNull Term type)
    • synthesize

      @NotNull public @NotNull ExprTycker.Result synthesize(@NotNull @NotNull Expr expr)
    • zonk

      @NotNull public @NotNull ExprTycker.Result zonk(@NotNull @NotNull ExprTycker.Result result)
    • unifier

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

      @NotNull public @NotNull DefEq unifier(@NotNull @NotNull org.aya.util.error.SourcePos pos, @NotNull @NotNull org.aya.util.Ordering ord, @NotNull @NotNull LocalCtx ctx)
    • ensureUniv

      public int ensureUniv(@NotNull @NotNull Expr expr, @NotNull @NotNull Term term)