@FunctionalInterface public interface Visitor
Segment
visitor. Visitor methods get called by segments on entering a Visitable
, their child
Visitable
s 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–2020 Pivotal Software, Inc.. All rights reserved.