java.lang.Object
org.aya.tyck.Tycker
- Direct Known Subclasses:
ExprTycker
This is a lightweight abstraction of a tycker,
primarily designed to be used in
Zonker.
Currently, it seems unnecessary, but maybe we can make some other classes also inherit this class to gain some basic type checker functions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @NotNull org.aya.util.reporter.Reporterfinal @NotNull TyckStatefinal Trace.Builder -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTycker(@NotNull org.aya.util.reporter.Reporter reporter, @NotNull TyckState state, @Nullable Trace.Builder traceBuilder) -
Method Summary
Modifier and TypeMethodDescriptionvoid<R> Rvoidtracing(@NotNull Consumer<@NotNull Trace.Builder> consumer) @NotNull Unifierunifier(@NotNull org.aya.util.error.SourcePos pos, @NotNull org.aya.util.Ordering ord, @NotNull LocalCtx ctx) @NotNull Term@NotNull Term@NotNull org.aya.guest0x0.cubical.Partial<Term>
-
Field Details
-
reporter
@NotNull public final @NotNull org.aya.util.reporter.Reporter reporter -
state
-
traceBuilder
-
-
Constructor Details
-
Tycker
protected Tycker(@NotNull @NotNull org.aya.util.reporter.Reporter reporter, @NotNull @NotNull TyckState state, @Nullable Trace.Builder traceBuilder)
-
-
Method Details
-
zonk
-
zonk
-
solveMetas
public void solveMetas() -
whnf
-
tracing
-
traced
-
unifier
-