private static class SearchCompiler.HasRole extends SearchCompiler.Match
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
role |
Constructor and Description |
---|
HasRole(PushbackTokenizer tokenizer) |
Modifier and Type | Method and Description |
---|---|
boolean |
match(OsmPrimitive osm)
Tests whether the primitive matches this criterion.
|
evaluate, existsMatch, forallMatch, match
private final java.lang.String role
HasRole(PushbackTokenizer tokenizer)
public boolean match(OsmPrimitive osm)
SearchCompiler.Match
match
in class SearchCompiler.Match
osm
- the primitive to test