Changeset 35290 in osm
- Timestamp:
- 2020-01-13T21:45:32+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/comfort0/src/net/simon04/comfort0/level0l/Level0LParser.jj
r35288 r35290 8 8 import org.openstreetmap.josm.data.osm.*; 9 9 import org.openstreetmap.josm.data.coor.*; 10 import java.util.ArrayList; 11 import java.util.List; 10 12 public class Level0LParser { 11 13 } … … 53 55 <V_EOL: ("\n" | "\r" | "\r\n") > : DATA 54 56 | <TEXT: (~["\n", "\r"])+ > 57 } 58 59 List<PrimitiveData> primitives(): 60 { 61 List<PrimitiveData> primitives = new ArrayList<PrimitiveData>(); 62 PrimitiveData p; 63 } 64 { 65 ( 66 ( p = node() | p = way() | p = relation() ) 67 { primitives.add(p); } 68 )* 69 <EOF> 70 { return primitives; } 55 71 } 56 72
Note:
See TracChangeset
for help on using the changeset viewer.