filter fragments according to tags by collecting tags as applicable to each fragment and applying them
From a Seq of Fragments create a seq of corresponding tags for each fragment, considering that:
From a Seq of Fragments create a seq of corresponding tags for each fragment, considering that:
TaggedAs
fragment is applicable to the the previous fragmentTag
fragment is applicable to the the next fragmentAsSection
fragment is applicable to the the previous fragment to the next AsSection
fragment with the same nameSection
fragment is applicable to the the next fragment to the next Section
fragment with the same name
This trait selects fragments based on their tags