One Pass Visitor
- A one pass visitor traverses a UML model in a single pass (see also two pass visitor).
- The visitor traverses the spanning tree of composition of metamodel elements.
- The default traversal follows a depth first ordering, shown by the spanning tree arrows below. For each traversal on a particular node, the visit will only return after all its sub-nodes have been traversed. I.e. In the given example below, all 10 nodes will be traversed before the visitor call completes.