dart-lang / source_maps

A package to programmatically manipulate source maps.
https://pub.dev/packages/source_maps
BSD 3-Clause "New" or "Revised" License
16 stars 14 forks source link

add Mapping.urls property to sourcemaps #6

Open DartBot opened 9 years ago

DartBot commented 9 years ago

Issue by sigmundch Originally opened as dart-lang/sdk#13194


Bug reported by @­skybrian in the old github repo (https://github.com/dart-lang/source-maps/issues/3)

Original bug description:


It seems like you should be able to say parse(json).urls to get all the source URL's, regardless of whether it's a SingleMapping or a MultiSectionMapping. To support this, Mapping should have an abstract "urls" getter which is implemented by MultiSectionMapping to combine all the url lists from the individual mappings.

Workaround: implement this yourself; it's not that hard.


DartBot commented 9 years ago

Comment by anders-sandholm


Removed Library-SourceMaps label. Added Pkg-SourceMaps label.