模块 org.aya

类 Decl.DataCtor

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

public static final class Decl.DataCtor extends Signatured
  • 字段详细资料

    • ref

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

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

      public kala.collection.immutable.ImmutableSeq<Term.Param> patternTele
      Similar to Signatured.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
  • 构造器详细资料

    • 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)
  • 方法详细资料