Modifier and Type | Class and Description |
---|---|
static class |
SearchCompiler.Always
Matches every OsmPrimitive.
|
static class |
SearchCompiler.And
Matches if both left and right expressions match.
|
private static class |
SearchCompiler.Any
Match a string in any tags (key or value), with optional regex and case insensitivity.
|
private static class |
SearchCompiler.AreaSize
Matches if the size of the area is within the given range
|
static class |
SearchCompiler.BinaryMatch
A binary search operator which may take data parameters.
|
private static class |
SearchCompiler.BooleanMatch
Matches if the value of the corresponding key is ''yes'', ''true'', ''1'' or ''on''.
|
private static class |
SearchCompiler.ChangesetId
Matches objects with a changeset ID in the given range.
|
static class |
SearchCompiler.Child
Matches objects if they are children of the expression
|
private static class |
SearchCompiler.Closed
Matches ways which are closed (i.e. first and last node are the same)
|
static class |
SearchCompiler.ExactKeyValue
Matches objects with the exact given key-value pair.
|
private static class |
SearchCompiler.ExactType |
private static class |
SearchCompiler.Id
Matches objects with ID in the given range.
|
private static class |
SearchCompiler.InArea
Matches objects within the given bounds.
|
private static class |
SearchCompiler.Incomplete
Match objects that are incomplete, where only id and type are known.
|
private static class |
SearchCompiler.InDataSourceArea
Matches objects within source area ("downloaded area").
|
private static class |
SearchCompiler.InView
Matches objects within current map view.
|
private static class |
SearchCompiler.KeyValue
Matches objects with the given key-value pair.
|
private static class |
SearchCompiler.Modified
Matches all objects that have been modified, created, or undeleted
|
static class |
SearchCompiler.Never
Never matches any OsmPrimitive.
|
private static class |
SearchCompiler.New
Matches objects that are new (i.e. have not been uploaded to the server)
|
private static class |
SearchCompiler.NodeCountRange
Matches ways with a number of nodes in given range
|
static class |
SearchCompiler.Not
Inverts the match.
|
private static class |
SearchCompiler.Nth
Matches the n-th object of a relation and/or the n-th node of a way.
|
static class |
SearchCompiler.Or
Matches if the left OR the right expression match.
|
static class |
SearchCompiler.Parent
Matches objects if they are parents of the expression
|
private static class |
SearchCompiler.RangeMatch
Matches objects with properties in a certain range.
|
private static class |
SearchCompiler.RoleMatch
Matches objects with the given relation role (i.e.
|
private static class |
SearchCompiler.Selected
Matches all objects currently selected
|
private static class |
SearchCompiler.TagCountRange
Matches objects with a number of tags in given range
|
private static class |
SearchCompiler.TimestampRange
Matches objects with a timestamp in given range
|
static class |
SearchCompiler.UnaryMatch
A unary search operator which may take data parameters.
|
private static class |
SearchCompiler.Untagged
Matches objects that don't have any interesting tags (i.e. only has source,
FIXME, etc.).
|
private static class |
SearchCompiler.UserMatch
Matches objects last changed by the given username.
|
static class |
SearchCompiler.ValueComparison |
private static class |
SearchCompiler.Version
Matches objects with a version number in the given range.
|
static class |
SearchCompiler.Xor
Matches if the left OR the right expression match, but not both.
|
Modifier and Type | Field and Description |
---|---|
protected SearchCompiler.Match |
SearchCompiler.BinaryMatch.lhs |
protected SearchCompiler.Match |
SearchCompiler.UnaryMatch.match |
protected SearchCompiler.Match |
SearchCompiler.BinaryMatch.rhs |
Modifier and Type | Method and Description |
---|---|
static SearchCompiler.Match |
SearchCompiler.compile(String searchStr,
boolean caseSensitive,
boolean regexSearch) |
SearchCompiler.Match |
SearchCompiler.CoreSimpleMatchFactory.get(String keyword,
PushbackTokenizer tokenizer) |
SearchCompiler.Match |
SearchCompiler.SimpleMatchFactory.get(String keyword,
PushbackTokenizer tokenizer) |
SearchCompiler.Match |
SearchCompiler.BinaryMatch.getLhs() |
SearchCompiler.Match |
SearchCompiler.Not.getMatch() |
SearchCompiler.Match |
SearchCompiler.UnaryMatch.getOperand() |
SearchCompiler.Match |
SearchCompiler.BinaryMatch.getRhs() |
SearchCompiler.Match |
SearchCompiler.parse()
Parse search string.
|
private SearchCompiler.Match |
SearchCompiler.parseExpression()
Parse expression.
|
private SearchCompiler.Match |
SearchCompiler.parseExpression(String errorMessage)
Parse expression, showing the specified error message if parsing fails.
|
private SearchCompiler.Match |
SearchCompiler.parseFactor()
Parse next factor (a search operator or search term).
|
private SearchCompiler.Match |
SearchCompiler.parseFactor(String errorMessage) |
private SearchCompiler.Match |
SearchCompiler.parseKV(String key,
String value) |
Modifier and Type | Method and Description |
---|---|
SearchCompiler.UnaryMatch |
SearchCompiler.CoreUnaryMatchFactory.get(String keyword,
SearchCompiler.Match matchOperand,
PushbackTokenizer tokenizer) |
SearchCompiler.UnaryMatch |
SearchCompiler.UnaryMatchFactory.get(String keyword,
SearchCompiler.Match matchOperand,
PushbackTokenizer tokenizer) |
SearchCompiler.BinaryMatch |
SearchCompiler.BinaryMatchFactory.get(String keyword,
SearchCompiler.Match lhs,
SearchCompiler.Match rhs,
PushbackTokenizer tokenizer) |
Constructor and Description |
---|
And(SearchCompiler.Match lhs,
SearchCompiler.Match rhs) |
BinaryMatch(SearchCompiler.Match lhs,
SearchCompiler.Match rhs) |
Child(SearchCompiler.Match m) |
Not(SearchCompiler.Match match) |
Or(SearchCompiler.Match lhs,
SearchCompiler.Match rhs) |
Parent(SearchCompiler.Match m) |
UnaryMatch(SearchCompiler.Match match) |
Xor(SearchCompiler.Match lhs,
SearchCompiler.Match rhs) |
Modifier and Type | Method and Description |
---|---|
boolean |
WayPoint.evaluateCondition(SearchCompiler.Match condition) |
Modifier and Type | Field and Description |
---|---|
private static SearchCompiler.Match |
OsmPrimitive.directionKeys |
(package private) SearchCompiler.Match |
FilterMatcher.FilterInfo.match |
private static SearchCompiler.Match |
OsmPrimitive.reversedDirectionKeys |
Modifier and Type | Method and Description |
---|---|
boolean |
OsmPrimitive.evaluateCondition(SearchCompiler.Match condition) |
Modifier and Type | Field and Description |
---|---|
private SearchCompiler.Match |
RelationListDialog.RelationListModel.filter |
Modifier and Type | Method and Description |
---|---|
void |
RelationListDialog.RelationListModel.setFilter(SearchCompiler.Match filter) |
Modifier and Type | Method and Description |
---|---|
boolean |
Marker.evaluateCondition(SearchCompiler.Match condition) |
Modifier and Type | Field and Description |
---|---|
SearchCompiler.Match |
TaggingPresetItems.Role.memberExpression |
SearchCompiler.Match |
TaggingPreset.nameTemplateFilter |
Modifier and Type | Class and Description |
---|---|
private class |
ContextSwitchTemplate.AndSet |
private class |
ContextSwitchTemplate.ChildSet |
private class |
ContextSwitchTemplate.ContextProvider |
private class |
ContextSwitchTemplate.OrSet |
private class |
ContextSwitchTemplate.ParentSet |
Modifier and Type | Field and Description |
---|---|
private SearchCompiler.Match |
ContextSwitchTemplate.ParentSet.childCondition |
private SearchCompiler.Match |
SearchExpressionCondition.condition |
(package private) SearchCompiler.Match |
ContextSwitchTemplate.ContextProvider.condition |
private SearchCompiler.Match |
ContextSwitchTemplate.ChildSet.parentCondition |
Modifier and Type | Method and Description |
---|---|
private SearchCompiler.Match |
ContextSwitchTemplate.transform(SearchCompiler.Match m,
int searchExpressionPosition) |
Modifier and Type | Method and Description |
---|---|
boolean |
TemplateEngineDataProvider.evaluateCondition(SearchCompiler.Match condition) |
private SearchCompiler.Match |
ContextSwitchTemplate.transform(SearchCompiler.Match m,
int searchExpressionPosition) |
Constructor and Description |
---|
ChildSet(SearchCompiler.Match parentCondition) |
ContextSwitchTemplate(SearchCompiler.Match match,
TemplateEntry template,
int searchExpressionPosition) |
ParentSet(SearchCompiler.Match child) |
SearchExpressionCondition(SearchCompiler.Match condition,
TemplateEntry text) |