private class ContextSwitchTemplate.AndSet extends ContextSwitchTemplate.ContextProvider
Modifier and Type | Field and Description |
---|---|
private ContextSwitchTemplate.ContextProvider |
lhs |
private ContextSwitchTemplate.ContextProvider |
rhs |
condition
Constructor and Description |
---|
ContextSwitchTemplate.AndSet(ContextSwitchTemplate.ContextProvider lhs,
ContextSwitchTemplate.ContextProvider rhs) |
Modifier and Type | Method and Description |
---|---|
(package private) List<OsmPrimitive> |
getPrimitives(OsmPrimitive root) |
boolean |
match(OsmPrimitive osm) |
evaluate, existsMatch, forallMatch
private final ContextSwitchTemplate.ContextProvider lhs
private final ContextSwitchTemplate.ContextProvider rhs
ContextSwitchTemplate.AndSet(ContextSwitchTemplate.ContextProvider lhs, ContextSwitchTemplate.ContextProvider rhs)
public boolean match(OsmPrimitive osm)
match
in class SearchCompiler.Match
List<OsmPrimitive> getPrimitives(OsmPrimitive root)
getPrimitives
in class ContextSwitchTemplate.ContextProvider