模块 aya.base

类 TeleDecl.DataCtor

java.lang.Object
org.aya.concrete.stmt.CommonDecl
org.aya.concrete.stmt.TeleDecl.DataCtor
所有已实现的接口:
Decl, Decl.Telescopic, Stmt, AyaDocile, TyckUnit, org.aya.util.binop.OpDecl, org.aya.util.error.SourceNode
封闭类:
TeleDecl

public static final class TeleDecl.DataCtor extends CommonDecl implements Decl.Telescopic
  • 字段详细资料

    • ref

      @NotNull public final @NotNull DefVar<CtorDef,TeleDecl.DataCtor> ref
    • dataRef

      public DefVar<DataDef,TeleDecl.DataDecl> dataRef
    • patternTele

      public kala.collection.immutable.ImmutableSeq<Term.Param> patternTele
      Similar to Decl.Telescopic.signature(), but stores the bindings in patterns
    • clauses

      @NotNull public @NotNull kala.collection.immutable.ImmutableSeq<Pattern.Clause> clauses
    • patterns

      @NotNull public @NotNull kala.collection.immutable.ImmutableSeq<Pattern> patterns
    • coerce

      public final boolean coerce
    • yetTyckedPat

      @Nullable public @Nullable kala.collection.immutable.ImmutableSeq<Pat> yetTyckedPat
      used when tycking constructor's header
    • yetTycker

      @Nullable public @Nullable PatTycker yetTycker
      used when tycking constructor's header
    • telescope

      @NotNull public @NotNull kala.collection.immutable.ImmutableSeq<Expr.Param> telescope
    • signature

      @Nullable public Def.Signature signature
  • 构造器详细资料

    • DataCtor

      public DataCtor(@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 kala.collection.immutable.ImmutableSeq<Pattern.Clause> clauses, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<Pattern> patterns, boolean coerce, @NotNull @NotNull BindBlock bindBlock)
  • 方法详细资料