- All Implemented Interfaces:
Decl,Decl.TopLevel,Stmt,AyaDocile,TyckUnit,org.aya.util.binop.OpDecl,org.aya.util.error.SourceNode
Concrete data definition
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.aya.concrete.stmt.decl.TeleDecl
TeleDecl.DataCtor, TeleDecl.DataDecl, TeleDecl.FnDecl, TeleDecl.PrimDecl, TeleDecl.StructDecl, TeleDecl.StructField, TeleDecl.TopLevel<RetTy extends Term>Nested classes/interfaces inherited from interface org.aya.util.binop.OpDecl
org.aya.util.binop.OpDecl.BindPred, org.aya.util.binop.OpDecl.OpInfoNested classes/interfaces inherited from interface org.aya.concrete.stmt.Stmt
Stmt.Accessibility -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @NotNull kala.collection.immutable.ImmutableSeq<TeleDecl.DataCtor>final @NotNull kala.collection.mutable.MutableList<@NotNull CtorDef>Yet type-checked constructorsfinal @NotNull DefVar<DataDef,TeleDecl.DataDecl> Fields inherited from class org.aya.concrete.stmt.decl.TeleDecl.TopLevel
ctxFields inherited from class org.aya.concrete.stmt.decl.CommonDecl
infoFields inherited from interface org.aya.util.binop.OpDecl
APPLICATION -
Constructor Summary
ConstructorsConstructorDescriptionDataDecl(@NotNull DeclInfo info, @NotNull String name, @NotNull kala.collection.immutable.ImmutableSeq<Expr.Param> telescope, @Nullable Expr result, @NotNull kala.collection.immutable.ImmutableSeq<TeleDecl.DataCtor> body, DeclInfo.Personality personality) -
Method Summary
Methods inherited from class org.aya.concrete.stmt.decl.TeleDecl.TopLevel
getCtx, personality, setCtxMethods inherited from class org.aya.concrete.stmt.decl.TeleDecl
modifyResult, modifyTelescopeMethods inherited from class org.aya.concrete.stmt.decl.CommonDecl
info, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aya.generic.AyaDocile
debuggerOnlyToDocMethods inherited from interface org.aya.concrete.stmt.decl.Decl
accessibility, bindBlock, entireSourcePos, needTyck, opInfo, sourcePos
-
Field Details
-
ref
-
body
-
checkedBody
Yet type-checked constructors
-
-
Constructor Details
-
DataDecl
public DataDecl(@NotNull @NotNull DeclInfo info, @NotNull @NotNull String name, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<Expr.Param> telescope, @Nullable @Nullable Expr result, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<TeleDecl.DataCtor> body, @NotNull DeclInfo.Personality personality)
-
-
Method Details