OptionalenterCalled when entering a node (pre-order).
The current AST node
Path from root to parent (current node NOT included)
false to skip traversing this node's children, otherwise continue
OptionalleaveCalled when leaving a node (post-order).
The current AST node
Path from root to parent (current node NOT included)
Visitor interface for SpEL AST traversal.
Usage pattern:
The
ancestorsparameter provides the full path from the root node to the current node's parent (current node NOT included).