java.lang.Object
org.aya.tyck.tycker.TracedTycker
org.aya.tyck.tycker.StatedTycker
- Direct Known Subclasses:
MockTycker,PatClassifier
This is the second base-base class of a tycker.
It has the zonking stuffs and basic def-call related functions.
Apart from that, it also deals with core term references in concrete terms.
-
Field Summary
FieldsFields inherited from class org.aya.tyck.tycker.TracedTycker
reporter, traceBuilder -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStatedTycker(@NotNull org.aya.util.reporter.Reporter reporter, Trace.Builder traceBuilder, @NotNull TyckState state) -
Method Summary
Modifier and TypeMethodDescriptionprotected final booleancompareRestr(@NotNull org.aya.guest0x0.cubical.Restr<Term> lhs, @NotNull org.aya.guest0x0.cubical.Restr<Term> rhs) Sub lr, Sub rlare unused because they are solely for the purpose of unification.protected @NotNull SubstconOwnerSubst(@NotNull ConCall conCall) Used for getting the subst for an inductive type's constructor's types.defCall(DefVar<D, S> defVar, Callable.Factory<D, S> function) protected final @NotNull Result@NotNull Unifierunifier(@NotNull org.aya.util.error.SourcePos pos, @NotNull org.aya.util.Ordering ord, @NotNull LocalCtx ctx) @NotNull Term
-
Field Details
-
state
-
-
Constructor Details
-
StatedTycker
protected StatedTycker(@NotNull @NotNull org.aya.util.reporter.Reporter reporter, @Nullable Trace.Builder traceBuilder, @NotNull @NotNull TyckState state)
-
-
Method Details
-
whnf
-
defCall
-
inferRef
-
unifier
-
compareRestr
protected final boolean compareRestr(@NotNull @NotNull org.aya.guest0x0.cubical.Restr<Term> lhs, @NotNull @NotNull org.aya.guest0x0.cubical.Restr<Term> rhs) Sub lr, Sub rlare unused because they are solely for the purpose of unification. In this case, we don't expect unification. -
conOwnerSubst
Used for getting the subst for an inductive type's constructor's types. This method handles both indexed and non-indexed constructors.
-