java.lang.Object
org.aya.tyck.tycker.AbstractTycker
- All Implemented Interfaces:
Contextful,Problematic,Stateful
- Direct Known Subclasses:
ExprTycker,TermComparator
public abstract sealed class AbstractTycker
extends Object
implements Stateful, Contextful, Problematic
permits ExprTycker, TermComparator
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractTycker(@NotNull TyckState state, @NotNull org.aya.syntax.ref.LocalCtx ctx, @NotNull org.aya.util.reporter.Reporter reporter) -
Method Summary
Modifier and TypeMethodDescriptionlazyJdg(@NotNull org.aya.syntax.core.term.Term wellTyped) @NotNull org.aya.syntax.ref.LocalCtxlocalCtx()@NotNull org.aya.syntax.ref.LocalVarputIndex(@NotNull org.aya.generic.NameGenerator nameGen, @NotNull org.aya.syntax.core.term.Term type) @NotNull org.aya.util.reporter.Reporterreporter()@NotNull org.aya.syntax.ref.LocalCtxsetLocalCtx(@NotNull org.aya.syntax.ref.LocalCtx ctx) UpdatelocalCtxwith the given one@NotNull TyckStatestate()kala.collection.immutable.ImmutableSeq<org.aya.util.error.WithPos<org.aya.syntax.core.term.Param>> zonk(kala.collection.immutable.ImmutableSeq<org.aya.util.error.WithPos<org.aya.syntax.core.term.Param>> tele) @NotNull org.aya.syntax.core.term.Termzonk(org.aya.syntax.core.term.Term t) @NotNull JdgMethods 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
-
state
-
reporter
@NotNull public final @NotNull org.aya.util.reporter.Reporter reporter
-
-
Constructor Details
-
AbstractTycker
protected AbstractTycker(@NotNull @NotNull TyckState state, @NotNull @NotNull org.aya.syntax.ref.LocalCtx ctx, @NotNull @NotNull org.aya.util.reporter.Reporter reporter)
-
-
Method Details
-
setLocalCtx
@NotNull public @NotNull org.aya.syntax.ref.LocalCtx setLocalCtx(@NotNull @NotNull org.aya.syntax.ref.LocalCtx ctx) Description copied from interface:ContextfulUpdatelocalCtxwith the given one- Specified by:
setLocalCtxin interfaceContextful- Parameters:
ctx- newLocalCtx- Returns:
- old context
-
localCtx
@NotNull public @NotNull org.aya.syntax.ref.LocalCtx localCtx()- Specified by:
localCtxin interfaceContextful
-
state
-
reporter
@NotNull public @NotNull org.aya.util.reporter.Reporter reporter()- Specified by:
reporterin interfaceProblematic
-
lazyJdg
-
putIndex
@NotNull public @NotNull org.aya.syntax.ref.LocalVar putIndex(@NotNull @NotNull org.aya.generic.NameGenerator nameGen, @NotNull @NotNull org.aya.syntax.core.term.Term type) -
zonk
@NotNull public @NotNull org.aya.syntax.core.term.Term zonk(org.aya.syntax.core.term.Term t) -
zonk
public kala.collection.immutable.ImmutableSeq<org.aya.util.error.WithPos<org.aya.syntax.core.term.Param>> zonk(kala.collection.immutable.ImmutableSeq<org.aya.util.error.WithPos<org.aya.syntax.core.term.Param>> tele) -
zonk
-