- All Superinterfaces:
EndoPattern,Function<Expr,,Expr> UnaryOperator<Expr>
- All Known Subinterfaces:
StmtConsumer
- All Known Implementing Classes:
Desugarer,ExprResolver
A convenient interface to obtain an endomorphism on `Expr`.
One can specify the `pre` and `post` method which represents a recursive step in pre- and post-order respectively.
Additionally, one can define `pre` and `post` logic on patterns as well, since we extend `EndoPattern` here.
-
Method Summary
Methods inherited from interface org.aya.concrete.visitor.EndoPattern
apply, post, pre