java.lang.Object
org.aya.concrete.stmt.decl.CommonDecl
org.aya.concrete.stmt.decl.TeleDecl<RetTy>
org.aya.concrete.stmt.decl.TeleDecl.TopLevel<RetTy>
- All Implemented Interfaces:
Decl,Decl.TopLevel,Stmt,AyaDocile,TyckUnit,org.aya.util.binop.OpDecl,org.aya.util.error.SourceNode
- Direct Known Subclasses:
TeleDecl.DataDecl,TeleDecl.FnDecl,TeleDecl.PrimDecl
public abstract static sealed class TeleDecl.TopLevel<RetTy extends Term>
extends TeleDecl<RetTy>
implements Decl.TopLevel
permits TeleDecl.DataDecl, TeleDecl.FnDecl, TeleDecl.PrimDecl
-
Nested Class Summary
Nested classes/interfaces inherited from class org.aya.concrete.stmt.decl.TeleDecl
TeleDecl.BlockBody, TeleDecl.ClassMember, TeleDecl.DataCtor, TeleDecl.DataDecl, TeleDecl.ExprBody, TeleDecl.FnBody, TeleDecl.FnDecl, TeleDecl.PrimDecl, TeleDecl.TopLevel<RetTy extends Term>Nested 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.decl.CommonDecl
infoFields inherited from interface org.aya.util.binop.OpDecl
APPLICATION -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTopLevel(@NotNull DeclInfo info, @NotNull kala.collection.immutable.ImmutableSeq<Expr.Param> telescope, @Nullable Expr result, DeclInfo.Personality personality) -
Method Summary
Methods inherited from class org.aya.concrete.stmt.decl.TeleDecl
modifyResult, modifyTelescope, refMethods inherited from class org.aya.concrete.stmt.decl.CommonDecl
info, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aya.generic.AyaDocile
debuggerOnlyToDocMethods inherited from interface org.aya.concrete.stmt.decl.Decl
accessibility, bindBlock, entireSourcePos, needTyck, opInfo, sourcePos
-
Field Details
-
ctx
-
-
Constructor Details
-
TopLevel
protected TopLevel(@NotNull @NotNull DeclInfo info, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<Expr.Param> telescope, @Nullable @Nullable Expr result, @NotNull DeclInfo.Personality personality)
-
-
Method Details
-
personality
- Specified by:
personalityin interfaceDecl.TopLevel
-
getCtx
- Specified by:
getCtxin interfaceDecl.TopLevel
-
setCtx
- Specified by:
setCtxin interfaceDecl.TopLevel
-