java.lang.Object
org.aya.concrete.stmt.CommonDecl
- All Implemented Interfaces:
Decl,Stmt,AyaDocile,TyckUnit,org.aya.util.binop.OpDecl,org.aya.util.error.SourceNode
- Direct Known Subclasses:
ClassDecl,TeleDecl,TeleDecl.DataCtor,TeleDecl.StructField
public abstract sealed class CommonDecl
extends Object
implements Decl
permits ClassDecl, TeleDecl<RetTy>, TeleDecl.DataCtor, TeleDecl.StructField
Common parts of concrete definitions.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aya.concrete.stmt.Decl
Decl.Personality, Decl.Resulted, Decl.Telescopic<RetTy extends Term>, Decl.TopLevelNested classes/interfaces inherited from interface org.aya.util.binop.OpDecl
org.aya.util.binop.OpDecl.BindPred, org.aya.util.binop.OpDecl.OpInfoNested classes/interfaces inherited from interface org.aya.concrete.stmt.Stmt
Stmt.Accessibility -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @NotNull Stmt.Accessibilityfinal @NotNull BindBlockfinal @NotNull org.aya.util.error.SourcePosfinal @Nullable org.aya.util.binop.OpDecl.OpInfofinal @NotNull org.aya.util.error.SourcePosFields inherited from interface org.aya.util.binop.OpDecl
APPLICATION -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCommonDecl(@NotNull org.aya.util.error.SourcePos sourcePos, @NotNull org.aya.util.error.SourcePos entireSourcePos, @NotNull Stmt.Accessibility accessibility, org.aya.util.binop.OpDecl.OpInfo opInfo, @NotNull BindBlock bindBlock) -
Method Summary
Modifier and TypeMethodDescription@NotNull Stmt.Accessibility@NotNull BindBlock@NotNull org.aya.util.error.SourcePos@Nullable org.aya.util.binop.OpDecl.OpInfoopInfo()@NotNull org.aya.util.error.SourcePostoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aya.generic.AyaDocile
debuggerOnlyToDoc
-
Field Details
-
accessibility
-
sourcePos
@NotNull public final @NotNull org.aya.util.error.SourcePos sourcePos -
entireSourcePos
@NotNull public final @NotNull org.aya.util.error.SourcePos entireSourcePos -
opInfo
@Nullable public final @Nullable org.aya.util.binop.OpDecl.OpInfo opInfo -
bindBlock
-
-
Constructor Details
-
CommonDecl
protected CommonDecl(@NotNull @NotNull org.aya.util.error.SourcePos sourcePos, @NotNull @NotNull org.aya.util.error.SourcePos entireSourcePos, @NotNull @NotNull Stmt.Accessibility accessibility, @Nullable org.aya.util.binop.OpDecl.OpInfo opInfo, @NotNull @NotNull BindBlock bindBlock)
-
-
Method Details
-
bindBlock
-
sourcePos
@NotNull public @NotNull org.aya.util.error.SourcePos sourcePos()- Specified by:
sourcePosin interfaceorg.aya.util.error.SourceNode
-
entireSourcePos
@NotNull public @NotNull org.aya.util.error.SourcePos entireSourcePos()- Specified by:
entireSourcePosin interfaceDecl
-
accessibility
- Specified by:
accessibilityin interfaceDecl- Specified by:
accessibilityin interfaceStmt
-
opInfo
@Nullable public @Nullable org.aya.util.binop.OpDecl.OpInfo opInfo() -
toString
-