java.lang.Object
org.aya.tyck.tycker.AbstractTycker
org.aya.unify.TermComparator
org.aya.unify.Unifier
- All Implemented Interfaces:
Contextful,Problematic,Stateful
-
Nested Class Summary
Nested classes/interfaces inherited from class org.aya.unify.TermComparator
TermComparator.FailureData -
Field Summary
FieldsFields inherited from class org.aya.unify.TermComparator
cmp, posFields inherited from class org.aya.tyck.tycker.AbstractTycker
reporter, state -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateEqn(@NotNull org.aya.syntax.core.term.Term lhs, @NotNull org.aya.syntax.core.term.Term rhs) @NotNull Unifierderive(@NotNull org.aya.util.error.SourcePos pos, org.aya.util.Ordering ordering) protected @Nullable org.aya.syntax.core.term.TermdoSolveMeta(@NotNull org.aya.syntax.core.term.call.MetaCall meta, @NotNull org.aya.syntax.core.term.Term rhs, @Nullable org.aya.syntax.core.term.Term type) Trying to solve withMethods inherited from class org.aya.unify.TermComparator
checkEqn, compare, getFailure, putIndex, solveMetaMethods inherited from class org.aya.tyck.tycker.AbstractTycker
lazyJdg, localCtx, putIndex, reporter, setLocalCtx, state, zonk, zonk, zonkMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aya.tyck.tycker.Contextful
freshMeta, generatePi, mockTerm, subscoped, withMethods inherited from interface org.aya.tyck.tycker.Problematic
fail, fail, failMethods inherited from interface org.aya.tyck.tycker.Stateful
freezeHoles, solve, whnf
-
Field Details
-
allowVague
public boolean allowVague
-
-
Constructor Details
-
Unifier
public Unifier(@NotNull @NotNull TyckState state, @NotNull @NotNull org.aya.syntax.ref.LocalCtx ctx, @NotNull @NotNull org.aya.util.reporter.Reporter reporter, @NotNull @NotNull org.aya.util.error.SourcePos pos, @NotNull @NotNull org.aya.util.Ordering cmp, boolean allowDelay)
-
-
Method Details
-
createEqn
@NotNull public TyckState.Eqn createEqn(@NotNull @NotNull org.aya.syntax.core.term.Term lhs, @NotNull @NotNull org.aya.syntax.core.term.Term rhs) -
derive
@NotNull public @NotNull Unifier derive(@NotNull @NotNull org.aya.util.error.SourcePos pos, org.aya.util.Ordering ordering) -
doSolveMeta
@Nullable protected @Nullable org.aya.syntax.core.term.Term doSolveMeta(@NotNull @NotNull org.aya.syntax.core.term.call.MetaCall meta, @NotNull @NotNull org.aya.syntax.core.term.Term rhs, @Nullable @Nullable org.aya.syntax.core.term.Term type) Description copied from class:TermComparatorTrying to solve with- Specified by:
doSolveMetain classTermComparator- Parameters:
rhs- in whnf
-