java.lang.Object
org.aya.core.def.PrimDef.Factory
- 封闭类:
PrimDef
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明@NotNull kala.control.Option<kala.collection.immutable.ImmutableSeq<@NotNull PrimDef.ID>>checkDependency(@NotNull PrimDef.ID name) voidclear()voidclear(@NotNull PrimDef.ID name) @NotNull PrimDeffactory(@NotNull PrimDef.ID name, @NotNull DefVar<PrimDef, TeleDecl.PrimDecl> ref) getCall(@NotNull PrimDef.ID id) getCall(@NotNull PrimDef.ID id, @NotNull kala.collection.immutable.ImmutableSeq<Arg<Term>> args) @NotNull kala.control.Option<PrimDef>getOption(@NotNull PrimDef.ID name) @NotNull PrimDefgetOrCreate(@NotNull PrimDef.ID name, @NotNull DefVar<PrimDef, TeleDecl.PrimDecl> ref) booleanhave(@NotNull PrimDef.ID name) booleanwhether redefinition should be treated as error@NotNull Termunfold(@NotNull PrimDef.ID name, CallTerm.Prim primCall, @NotNull TyckState state)
-
构造器详细资料
-
Factory
public Factory()
-
-
方法详细资料
-
factory
@NotNull public @NotNull PrimDef factory(@NotNull @NotNull PrimDef.ID name, @NotNull @NotNull DefVar<PrimDef, TeleDecl.PrimDecl> ref) -
getCall
@NotNull public CallTerm.Prim getCall(@NotNull @NotNull PrimDef.ID id, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<Arg<Term>> args) -
getCall
-
getOption
-
have
-
suppressRedefinition
public boolean suppressRedefinition()whether redefinition should be treated as error -
getOrCreate
@NotNull public @NotNull PrimDef getOrCreate(@NotNull @NotNull PrimDef.ID name, @NotNull @NotNull DefVar<PrimDef, TeleDecl.PrimDecl> ref) -
checkDependency
@NotNull public @NotNull kala.control.Option<kala.collection.immutable.ImmutableSeq<@NotNull PrimDef.ID>> checkDependency(@NotNull @NotNull PrimDef.ID name) -
unfold
@NotNull public @NotNull Term unfold(@NotNull @NotNull PrimDef.ID name, @NotNull CallTerm.Prim primCall, @NotNull @NotNull TyckState state) -
clear
public void clear() -
clear
-