Module aya.base

Interface StmtFolder<R>

All Superinterfaces:
ExprFolder<R>, Function<Stmt,R>, PatternFolder<R>

public interface StmtFolder<R> extends Function<Stmt,R>, ExprFolder<R>
  • Method Details

    • foldModuleDecl

      @NotNull default R foldModuleDecl(@NotNull R acc, @NotNull @NotNull QualifiedID mod)
    • foldModuleRef

      @NotNull default R foldModuleRef(@NotNull R acc, @NotNull @NotNull QualifiedID mod)
    • fold

      @NotNull default R fold(@NotNull R acc, @NotNull @NotNull BindBlock bb)
    • fold

      @MustBeInvokedByOverriders @NotNull default R fold(@NotNull R acc, @NotNull @NotNull Stmt stmt)
    • apply

      @NotNull default R apply(@NotNull @NotNull Stmt stmt)
      Specified by:
      apply in interface Function<Stmt,R>