模块 org.aya

接口 Stmt

所有超级接口:
org.aya.util.distill.AyaDocile, org.aya.util.error.SourceNode, TyckUnit
所有已知子接口:
Command
所有已知实现类:
Command.Import, Command.Module, Command.Open, Decl, Decl.DataDecl, Decl.FnDecl, Decl.PrimDecl, Decl.StructDecl, Generalize, Remark

public sealed interface Stmt extends org.aya.util.distill.AyaDocile, TyckUnit permits Command, Decl, Generalize, Remark
  • 嵌套类概要

    嵌套类
    修饰符和类型
    接口
    说明
    static enum 
     
    static interface 
     
  • 方法概要

    修饰符和类型
    方法
    说明
    default <P, R> R
    accept(@NotNull Stmt.Visitor<P,R> visitor, P p)
     
     
    default void
    desugar(@NotNull ResolveInfo resolveInfo)
     
    <P, R> R
    doAccept(@NotNull Stmt.Visitor<P,R> visitor, P p)
     
    static void
    resolve(@NotNull kala.collection.SeqLike<Stmt> statements, @NotNull ResolveInfo resolveInfo, @NotNull ModuleLoader loader)
     
    default @NotNull org.aya.pretty.doc.Doc
    toDoc(@NotNull org.aya.util.distill.DistillerOptions options)
     

    从接口继承的方法 org.aya.util.distill.AyaDocile

    debuggerOnlyToDoc

    从接口继承的方法 org.aya.util.error.SourceNode

    sourcePos

    从接口继承的方法 org.aya.tyck.order.TyckUnit

    needTyck
  • 方法详细资料

    • accessibility

      @Contract(pure=true) @NotNull @NotNull Stmt.Accessibility accessibility()
      API Note:
      the \import stmts do not have a meaningful accessibility, do not refer to this in those cases
    • resolve

      @Contract(mutates="param1") static void resolve(@NotNull @NotNull kala.collection.SeqLike<Stmt> statements, @NotNull @NotNull ResolveInfo resolveInfo, @NotNull @NotNull ModuleLoader loader)
    • desugar

      default void desugar(@NotNull @NotNull ResolveInfo resolveInfo)
    • toDoc

      @NotNull default @NotNull org.aya.pretty.doc.Doc toDoc(@NotNull @NotNull org.aya.util.distill.DistillerOptions options)
      指定者:
      toDoc 在接口中 org.aya.util.distill.AyaDocile
    • doAccept

      <P, R> R doAccept(@NotNull @NotNull Stmt.Visitor<P,R> visitor, P p)
    • accept

      default <P, R> R accept(@NotNull @NotNull Stmt.Visitor<P,R> visitor, P p)