Module aya.base

Class TeleDecl.FnDecl

All Implemented Interfaces:
Decl, Decl.Resulted, Decl.Telescopic<Term>, Decl.TopLevel, Stmt, AyaDocile, TyckUnit, org.aya.util.binop.OpDecl, org.aya.util.error.SourceNode
Enclosing class:
TeleDecl<RetTy extends Term>

public static final class TeleDecl.FnDecl extends TeleDecl<Term>
Concrete function definition
See Also:
  • Field Details

  • Constructor Details

    • FnDecl

      public FnDecl(@NotNull @NotNull org.aya.util.error.SourcePos sourcePos, @NotNull @NotNull org.aya.util.error.SourcePos entireSourcePos, @NotNull @NotNull Stmt.Accessibility accessibility, @NotNull @NotNull EnumSet<Modifier> modifiers, @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.Either<Expr,kala.collection.immutable.ImmutableSeq<Pattern.Clause>> body, @NotNull @NotNull BindBlock bindBlock, @NotNull Decl.Personality personality)
  • Method Details