java.lang.Object
org.aya.concrete.stmt.CommonDecl
org.aya.concrete.stmt.ClassDecl
- All Implemented Interfaces:
Decl,Decl.Resulted,Decl.TopLevel,Stmt,AyaDocile,TyckUnit,org.aya.util.binop.OpDecl,org.aya.util.error.SourceNode
public abstract non-sealed class ClassDecl
extends CommonDecl
implements Decl.Resulted, Decl.TopLevel
Concrete classable definitions, corresponding to
ClassDef.- See Also:
-
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
FieldsFields inherited from class org.aya.concrete.stmt.CommonDecl
accessibility, bindBlock, entireSourcePos, opInfo, sourcePosFields inherited from interface org.aya.util.binop.OpDecl
APPLICATION -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedClassDecl(@NotNull org.aya.util.error.SourcePos sourcePos, @NotNull org.aya.util.error.SourcePos entireSourcePos, org.aya.util.binop.OpDecl.OpInfo opInfo, @NotNull BindBlock bindBlock, @NotNull Expr result, Decl.Personality personality, @NotNull Stmt.Accessibility accessibility) -
Method Summary
Methods inherited from class org.aya.concrete.stmt.CommonDecl
accessibility, bindBlock, entireSourcePos, opInfo, sourcePosMethods 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
-
ctx
-
result
-
-
Constructor Details
-
ClassDecl
protected ClassDecl(@NotNull @NotNull org.aya.util.error.SourcePos sourcePos, @NotNull @NotNull org.aya.util.error.SourcePos entireSourcePos, @Nullable org.aya.util.binop.OpDecl.OpInfo opInfo, @NotNull @NotNull BindBlock bindBlock, @NotNull @NotNull Expr result, @NotNull Decl.Personality personality, @NotNull @NotNull Stmt.Accessibility accessibility)
-
-
Method Details
-
personality
- Specified by:
personalityin interfaceDecl.TopLevel
-
getCtx
- Specified by:
getCtxin interfaceDecl.TopLevel
-
setCtx
- Specified by:
setCtxin interfaceDecl.TopLevel
-
result
- Specified by:
resultin interfaceDecl.Resulted
-
setResult
- Specified by:
setResultin interfaceDecl.Resulted
-
toString
- Overrides:
toStringin classCommonDecl
-