- Enclosing interface:
public static interface ElementMatcher.CompiledRecipeA "compiled" representation of a textual recipe. It is assumed that the element matchers will want to create some intermediate representation of the textual recipe that is faster to transform into a tree filter.
@Nullable <E extends Element<E>> TreeFilter<E> filterFor(ArchiveAnalyzer<E> archiveAnalyzer)The recipe needs to be transformed into a
TreeFilterto be used for filtering of the element forest. It is assumed that the element matcher may want cooperate with the archive analyzer that produced the element forest to correctly set up the filter.
archiveAnalyzer- the archive analyzer that produced the element forest that will be filtered by the returned tree filter
- a tree filter to use for filtering the forest or null if the recipe is not applicable to elements of the provided archive analyzer