Module aya.ide

Interface SyntaxNodeAction.Cursor

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, SyntaxNodeAction<XY>, UnaryOperator<org.aya.concrete.Expr>
All Known Implementing Classes:
ComputeTerm
Enclosing interface:
SyntaxNodeAction<Location>

public static interface SyntaxNodeAction.Cursor extends SyntaxNodeAction<XY>
Need to visit the decl/expr placed at the cursor position XY
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.aya.ide.syntax.SyntaxNodeAction

    SyntaxNodeAction.Cursor, SyntaxNodeAction.Ranged
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    accept(@NotNull XY xy, @NotNull org.aya.util.error.SourcePos sourcePos)
     

    Methods inherited from interface java.util.function.Consumer

    andThen

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

    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

    Methods inherited from interface org.aya.ide.syntax.SyntaxNodeAction

    accept, apply, location
  • Method Details

    • accept

      default boolean accept(@NotNull @NotNull XY xy, @NotNull @NotNull org.aya.util.error.SourcePos sourcePos)
      Specified by:
      accept in interface SyntaxNodeAction<XY>