java.lang.Object
org.aya.tyck.Tycker
org.aya.tyck.ExprTycker
- API Note:
- make sure to instantiate this class once for each
Decl.TopLevel. Do not use multiple instances in the tycking of oneDecl.TopLeveland do not reuse instances of this class in the tycking of multipleDecl.TopLevels.
-
嵌套类概要
嵌套类修饰符和类型类说明static interfacestatic final recordstatic final recordExprTycker.TermResult.typeis the type ofExprTycker.TermResult.wellTyped.static final record -
字段概要
字段从类继承的字段 org.aya.tyck.Tycker
reporter, state, traceBuilder -
构造器概要
构造器构造器说明ExprTycker(PrimDef.Factory primFactory, AyaShape.Factory shapeFactory, @NotNull org.aya.util.reporter.Reporter reporter, @Nullable Trace.Builder traceBuilder) -
方法概要
修饰符和类型方法说明@NotNull ExprTycker.Result@NotNull org.aya.guest0x0.cubical.Restr<Term>@NotNull ExprTycker.SortResult@NotNull ExprTycker.SortResultsortPi(@NotNull Expr expr, FormTerm.Sort domain, FormTerm.Sort codomain) @NotNull ExprTycker.Resultsynthesize(@NotNull Expr expr) @NotNull ExprTycker.TyResult@NotNull Unifierunifier(@NotNull org.aya.util.error.SourcePos pos, @NotNull org.aya.util.Ordering ord) @NotNull ExprTycker.Resultzonk(@NotNull ExprTycker.Result result)
-
字段详细资料
-
localCtx
-
shapeFactory
-
-
构造器详细资料
-
ExprTycker
public ExprTycker(@NotNull PrimDef.Factory primFactory, @NotNull AyaShape.Factory shapeFactory, @NotNull @NotNull org.aya.util.reporter.Reporter reporter, @Nullable Trace.Builder traceBuilder)
-
-
方法详细资料
-
restr
-
ty
-
inherit
@NotNull public @NotNull ExprTycker.Result inherit(@NotNull @NotNull Expr expr, @NotNull @NotNull Term type) -
synthesize
-
sort
-
sort
-
sortPi
@NotNull public FormTerm.Sort sortPi(@NotNull @NotNull Expr expr, @NotNull FormTerm.Sort domain, @NotNull FormTerm.Sort codomain) -
zonk
-
unifier
@NotNull public @NotNull Unifier unifier(@NotNull @NotNull org.aya.util.error.SourcePos pos, @NotNull @NotNull org.aya.util.Ordering ord)
-