@FunctionalInterface public interface Visitor
Segment visitor. Visitor methods get called by segments on entering a Visitable, their child
Visitables and on leaving the Visitable.| Modifier and Type | Method and Description |
|---|---|
void |
enter(Visitable segment)
Enter a
Visitable. |
default void |
leave(Visitable segment)
Leave a
Visitable. |
Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.