java.lang.Object
org.aya.concrete.stmt.CommonDecl
org.aya.concrete.stmt.TeleDecl.StructField
- All Implemented Interfaces:
Decl,Decl.Resulted,Decl.Telescopic<Term>,Stmt,AyaDocile,TyckUnit,org.aya.util.binop.OpDecl,org.aya.util.error.SourceNode
public static final class TeleDecl.StructField
extends CommonDecl
implements Decl.Telescopic<Term>, Decl.Resulted
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aya.concrete.stmt.Decl
Decl.Personality, Decl.Resulted, Decl.Telescopic<RetTy extends Term>, Decl.TopLevelNested 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 TypeFieldDescription@NotNull kala.control.Option<Expr>final booleanfinal @NotNull DefVar<FieldDef,TeleDecl.StructField> @NotNull Expr@NotNull kala.collection.immutable.ImmutableSeq<Expr.Param>Fields inherited from class org.aya.concrete.stmt.CommonDecl
accessibility, bindBlock, entireSourcePos, opInfo, sourcePosFields inherited from interface org.aya.util.binop.OpDecl
APPLICATION -
Constructor Summary
ConstructorsConstructorDescriptionStructField(@NotNull org.aya.util.error.SourcePos sourcePos, @NotNull org.aya.util.error.SourcePos entireSourcePos, @Nullable org.aya.util.binop.OpDecl.OpInfo opInfo, @NotNull String name, @NotNull kala.collection.immutable.ImmutableSeq<Expr.Param> telescope, @NotNull Expr result, @NotNull kala.control.Option<Expr> body, boolean coerce, @NotNull BindBlock bindBlock) -
Method Summary
Modifier and TypeMethodDescription@NotNull DefVar<FieldDef,TeleDecl.StructField> ref()@NotNull Exprresult()voidvoidsetSignature(@Nullable Def.Signature<Term> signature) voidsetTelescope(@NotNull kala.collection.immutable.ImmutableSeq<Expr.Param> telescope) @Nullable Def.Signature<Term>@NotNull kala.collection.immutable.ImmutableSeq<Expr.Param>Methods inherited from class org.aya.concrete.stmt.CommonDecl
accessibility, bindBlock, entireSourcePos, opInfo, sourcePos, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aya.generic.AyaDocile
debuggerOnlyToDoc
-
Field Details
-
ref
-
structRef
-
result
-
body
-
coerce
public final boolean coerce -
telescope
-
signature
-
-
Constructor Details
-
StructField
public StructField(@NotNull @NotNull org.aya.util.error.SourcePos sourcePos, @NotNull @NotNull org.aya.util.error.SourcePos entireSourcePos, @Nullable @Nullable org.aya.util.binop.OpDecl.OpInfo opInfo, @NotNull @NotNull String name, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<Expr.Param> telescope, @NotNull @NotNull Expr result, @NotNull @NotNull kala.control.Option<Expr> body, boolean coerce, @NotNull @NotNull BindBlock bindBlock)
-
-
Method Details
-
ref
-
telescope
- Specified by:
telescopein interfaceDecl.Telescopic<Term>
-
setTelescope
public void setTelescope(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<Expr.Param> telescope) - Specified by:
setTelescopein interfaceDecl.Telescopic<Term>
-
signature
- Specified by:
signaturein interfaceDecl.Telescopic<Term>
-
setSignature
- Specified by:
setSignaturein interfaceDecl.Telescopic<Term>
-
result
- Specified by:
resultin interfaceDecl.Resulted
-
setResult
- Specified by:
setResultin interfaceDecl.Resulted
-