Crate source_map_mappings [] [src]

Build Status

Parse the "mappings" string from a source map.

This is intended to be compiled to WebAssembly and eventually used from the mozilla/source-map library. This is not a general purpose source maps library.

Documentation

📚 Documentation on docs.rs 📚

License

Licensed under either of

at your option.

Contributing

See CONTRIBUTING.md for hacking.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Structs

AllGeneratedLocationsFor

An iterator returned by Mappings::all_generated_locations_for.

Mapping

A single bidirectional mapping.

Mappings

A parsed set of mappings that can be queried.

OriginalLocation

Original location information within a mapping.

Enums

Bias

When doing fuzzy searching, whether to slide the next larger or next smaller mapping from the queried location.

Error

Errors that can occur during parsing.

Functions

parse_mappings

Parse a source map's "mappings" string into a queryable Mappings structure.