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 #7

Open
DartBot opened this issue Jun 5, 2015 · 2 comments
Open

Create a unified SourceMap class #7

DartBot opened this issue Jun 5, 2015 · 2 comments
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@DartBot
Copy link

DartBot commented Jun 5, 2015

<img src="https://github.com/avatars/u/188?v=3" align="left" width="96" height="96"hspace="10"> Issue by nex3
Originally opened as dart-lang/sdk#13805


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.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://github.com/avatars/u/3276024?v=3" align="left" width="48" height="48"hspace="10"> Comment by anders-sandholm


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

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://github.com/avatars/u/613610?v=3" align="left" width="48" height="48"hspace="10"> Comment by kegluneq


Submitted dart-lang/sdk@890433d as a start to this.

@DartBot DartBot added the type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) label Jun 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

1 participant