- All Implemented Interfaces:
Def,GenericDef,AyaDocile
core data definition, corresponding to
TeleDecl.DataDecl-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.aya.core.def.UserDef
UserDef.TypeNested classes/interfaces inherited from interface org.aya.core.def.Def
Def.Signature<T extends Term> -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @NotNull kala.collection.immutable.ImmutableSeq<CtorDef>final @NotNull DefVar<DataDef,TeleDecl.DataDecl> Fields inherited from class org.aya.core.def.TopLevelDef
result, telescope -
Constructor Summary
ConstructorsConstructorDescriptionDataDef(@NotNull DefVar<DataDef, TeleDecl.DataDecl> ref, @NotNull kala.collection.immutable.ImmutableSeq<Term.Param> telescope, SortTerm result, @NotNull kala.collection.immutable.ImmutableSeq<CtorDef> body) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull DefVar<DataDef,TeleDecl.DataDecl> fromCtor(@NotNull DefVar<CtorDef, TeleDecl.DataCtor> conHead) @NotNull DefVar<DataDef,TeleDecl.DataDecl> ref()Methods inherited from class org.aya.core.def.TopLevelDef
result, telescopeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aya.generic.AyaDocile
debuggerOnlyToDoc
-
Field Details
-
ref
-
body
-
-
Constructor Details
-
DataDef
public DataDef(@NotNull @NotNull DefVar<DataDef, TeleDecl.DataDecl> ref, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<Term.Param> telescope, SortTerm result, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<CtorDef> body)
-
-
Method Details
-
fromCtor
@NotNull public static @NotNull DefVar<DataDef,TeleDecl.DataDecl> fromCtor(@NotNull @NotNull DefVar<CtorDef, TeleDecl.DataCtor> conHead) -
ref
-