Module aya.base

Class CommonDecl

java.lang.Object
org.aya.concrete.stmt.decl.CommonDecl
All Implemented Interfaces:
Decl, Stmt, AyaDocile, TyckUnit, org.aya.util.binop.OpDecl, org.aya.util.error.SourceNode
Direct Known Subclasses:
ClassDecl, TeleDecl

public abstract sealed class CommonDecl extends Object implements Decl permits ClassDecl, TeleDecl<RetTy>
Common parts of concrete definitions. In particular, it does not assume the definition to have a telescope.
See Also:
API Note:
This class should only be used in extends and permits clause. Use Decl elsewhere instead.
  • Field Details

    • info

      @NotNull public final @NotNull DeclInfo info
  • Constructor Details

    • CommonDecl

      protected CommonDecl(@NotNull @NotNull DeclInfo info)
  • Method Details