Module aya.base

Class TeleDecl.FnDecl

All Implemented Interfaces:
Decl, 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.TopLevel<Term>
Concrete function definition
See Also:
  • Field Details

    • modifiers

      @NotNull public final @NotNull EnumSet<Modifier> modifiers
    • ref

      @NotNull public final @NotNull DefVar<FnDef,TeleDecl.FnDecl> ref
    • isAnonymous

      public final boolean isAnonymous
      If a function is anonymous. It only occurs when the personality is example/counterexample, and the ref.name is generated.
    • body

      @NotNull public @NotNull TeleDecl.FnBody body
  • Constructor Details

  • Method Details