模块 org.aya

类 DefEq

java.lang.Object
org.aya.tyck.unify.DefEq

public final class DefEq extends Object
Implementation Note:
in case compareUntyped(Term, Term, Sub, Sub) returns null, we will consider it a unification failure, so be careful when returning null.
  • 构造器详细资料

    • DefEq

      public DefEq(@NotNull @NotNull org.aya.util.Ordering cmp, @NotNull @NotNull org.aya.util.reporter.Reporter reporter, boolean allowVague, boolean allowConfused, @Nullable Trace.Builder traceBuilder, @NotNull @NotNull TyckState state, @NotNull @NotNull org.aya.util.error.SourcePos pos, @NotNull @NotNull LocalCtx ctx)
  • 方法详细资料

    • getFailure

      @NotNull public @NotNull DefEq.FailureData getFailure()
    • compare

      public boolean compare(@NotNull @NotNull Term lhs, @NotNull @NotNull Term rhs, @Nullable @Nullable Term type)
    • checkEqn

      public void checkEqn(@NotNull TyckState.Eqn eqn)