private static 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) java.util.List<OsmPrimitive> |
getPrimitives(OsmPrimitive root) |
boolean |
match(OsmPrimitive osm)
Tests whether the primitive matches this criterion.
|
evaluate, existsMatch, forallMatch, matchprivate final SearchCompiler.Match childCondition
ParentSet(SearchCompiler.Match child)
public boolean match(OsmPrimitive osm)
SearchCompiler.Matchmatch in class SearchCompiler.Matchosm - the primitive to testjava.util.List<OsmPrimitive> getPrimitives(OsmPrimitive root)
getPrimitives in class ContextSwitchTemplate.ContextProvider