Interface LineageReducer<T>

Type Parameters:
T - the type reduced to.
All Known Implementing Classes:
NamingStrategy

public interface LineageReducer<T>
Visit the Lineage of a GherkinDocument element or Pickle and reduce it.

Because we are using messages we can not express the hierarchy of elements in a GherkinDocument programmatically as a tree of nodes. But we can still express the operations that would be typically done this way as an operation on the lineage of those messages.