- 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 Subinterfaces:
SyntaxNodeAction.Cursor,SyntaxNodeAction.Ranged
- All Known Implementing Classes:
ComputeTerm,InlayHints
public interface SyntaxNodeAction<Location>
extends org.aya.concrete.visitor.StmtConsumer, org.aya.concrete.visitor.EndoPattern
Ignore the traversal of definitions and large expressions when they don't contain the location.
- Implementation Note:
- This does not modify the AST.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceNeed to visit the decl/expr placed at the cursor position XYstatic interfaceNeed to visit all decls inside XYXY range -
Method Summary
Methods inherited from interface org.aya.concrete.visitor.EndoExpr
post, preMethods inherited from interface org.aya.concrete.visitor.EndoPattern
apply, post, preMethods inherited from interface org.aya.concrete.visitor.StmtConsumer
visitTelescopic
-
Method Details
-
location
-
accept
-
accept
default void accept(@NotNull @NotNull org.aya.concrete.stmt.Stmt stmt) -
apply
@NotNull default @NotNull org.aya.concrete.Expr apply(@NotNull @NotNull org.aya.concrete.Expr expr)
-