private class ContextSwitchTemplate.ParentSet extends ContextSwitchTemplate.ContextProvider
Modifier and Type | Field and Description |
---|---|
private SearchCompiler.Match |
childCondition |
condition
Constructor and Description |
---|
ParentSet(SearchCompiler.Match child) |
Modifier and Type | Method and Description |
---|---|
(package private) List<OsmPrimitive> |
getPrimitives(OsmPrimitive root) |
boolean |
match(OsmPrimitive osm)
Tests whether the primitive matches this criterion.
|
evaluate, existsMatch, forallMatch, match
private final SearchCompiler.Match childCondition
ParentSet(SearchCompiler.Match child)
public boolean match(OsmPrimitive osm)
SearchCompiler.Match
match
in class SearchCompiler.Match
osm
- the primitive to testList<OsmPrimitive> getPrimitives(OsmPrimitive root)
getPrimitives
in class ContextSwitchTemplate.ContextProvider