- All Superinterfaces:
AyaDocile, GenericDef
- All Known Implementing Classes:
CtorDef, DataDef, FieldDef, FnDef, PrimDef, StructDef, SubLevelDef, TopLevelDef, UserDef, UserDef.Type
-
Nested Class Summary
Nested Classes
static final record
Signature of a definition, used in concrete and tycking.
-
Method Summary
static @NotNull kala.collection.Seq<CtorDef>
static @NotNull kala.collection.immutable.ImmutableSeq<Term.Param>
@NotNull kala.collection.immutable.ImmutableSeq<Term.Param>
default @NotNull org.aya.pretty.doc.Doc
toDoc(@NotNull org.aya.util.prettier.PrettierOptions options)
-
Method Details
-
defType
@NotNull
static @NotNull Term defType(@NotNull
@NotNull DefVar<? extends Def,? extends TeleDecl<?>> defVar)
-
defTele
@NotNull
static @NotNull kala.collection.immutable.ImmutableSeq<Term.Param> defTele(@NotNull
@NotNull DefVar<? extends Def,? extends TeleDecl<?>> defVar)
-
-
defResult
@Contract(pure=true)
@NotNull
static <T extends Term> T defResult(@NotNull
@NotNull DefVar<? extends Def,? extends TeleDecl<? extends T>> defVar)
-
-
telescope
@NotNull
@NotNull kala.collection.immutable.ImmutableSeq<Term.Param> telescope()
-
toDoc
@NotNull
default @NotNull org.aya.pretty.doc.Doc toDoc(@NotNull
@NotNull org.aya.util.prettier.PrettierOptions options)
- Specified by:
toDoc in interface AyaDocile