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, matchprivate final java.lang.String role
HasRole(PushbackTokenizer tokenizer)
public boolean match(OsmPrimitive osm)
SearchCompiler.Matchmatch in class SearchCompiler.Matchosm - the primitive to test