Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a unified SourceMap class #13805

Closed
nex3 opened this issue Oct 3, 2013 · 3 comments
Closed

Create a unified SourceMap class #13805

nex3 opened this issue Oct 3, 2013 · 3 comments
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. pkg-sourcemaps

Comments

@nex3
Copy link
Member

nex3 commented Oct 3, 2013

Right now, when building a source map, you can only get a map or a JSON string. When parsing the map, though, you get an instance of the Mapping interface, which provides a few APIs for inspecting the contents but no way to re-serialize the map.

It would be preferable to have a single class representing a source map that can be serialized and inspected. It would also be good to have a more thorough inspection API than Mapping currently provides -- at the very least a way to get a list of all the segments in the source map, a way to access/modify the source files, etc.

@anders-sandholm
Copy link
Contributor

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

@kegluneq
Copy link

kegluneq commented Jul 8, 2014

Submitted r38073 as a start to this.

@nex3 nex3 added Type-Defect area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. pkg-sourcemaps labels Jul 8, 2014
@DartBot
Copy link

DartBot commented Jun 5, 2015

This issue has been moved to dart-lang/source_maps#7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. pkg-sourcemaps
Projects
None yet
Development

No branches or pull requests

5 participants