Changeset 4817 in josm for trunk/src/org/openstreetmap/josm/tools/template_engine/ContextSwitchTemplate.java
- Timestamp:
- 2012-01-18T20:19:02+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/template_engine/ContextSwitchTemplate.java
r4725 r4817 184 184 private Match transform(Match m, int searchExpressionPosition) throws ParseError { 185 185 if (m instanceof Parent) { 186 Match child = transform(((Parent) m).get Child(), searchExpressionPosition);186 Match child = transform(((Parent) m).getOperand(), searchExpressionPosition); 187 187 return new ParentSet(child); 188 188 } else if (m instanceof Child) { 189 Match parent = transform(((Child) m).get Parent(), searchExpressionPosition);189 Match parent = transform(((Child) m).getOperand(), searchExpressionPosition); 190 190 return new ChildSet(parent); 191 191 } else if (m instanceof And) {
Note:
See TracChangeset
for help on using the changeset viewer.