Module aya.ide

Interface SyntaxDeclAction

All Superinterfaces:
Consumer<org.aya.concrete.stmt.Stmt>, org.aya.concrete.visitor.EndoExpr, org.aya.concrete.visitor.EndoPattern, Function<org.aya.concrete.Expr,org.aya.concrete.Expr>, org.aya.concrete.visitor.StmtConsumer, UnaryOperator<org.aya.concrete.Expr>
All Known Implementing Classes:
Folding, ProjectSymbol

public interface SyntaxDeclAction extends org.aya.concrete.visitor.StmtConsumer
Traverse only definitions' name and commands.
Implementation Note:
This does not modify the AST.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    accept(@NotNull org.aya.concrete.stmt.Stmt stmt)
     

    Methods inherited from interface java.util.function.Consumer

    andThen

    Methods inherited from interface org.aya.concrete.visitor.EndoExpr

    apply, post, pre

    Methods inherited from interface org.aya.concrete.visitor.EndoPattern

    apply, post, pre

    Methods inherited from interface java.util.function.Function

    andThen, compose

    Methods inherited from interface org.aya.concrete.visitor.StmtConsumer

    visitTelescopic
  • Method Details

    • accept

      default void accept(@NotNull @NotNull org.aya.concrete.stmt.Stmt stmt)
      Specified by:
      accept in interface Consumer<org.aya.concrete.stmt.Stmt>
      Specified by:
      accept in interface org.aya.concrete.visitor.StmtConsumer