Expand description
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
§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.
Modules§
- comparators
- Comparator functions for sorting mappings in different ways.
Structs§
- AllGenerated
Locations For - An iterator returned by
Mappings::all_generated_locations_for
. - ByOriginal
Location - An iterator returned by
Mappings::by_original_location
. - Mapping
- A single bidirectional mapping.
- Mappings
- A parsed set of mappings that can be queried.
- Original
Location - 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.
Traits§
- Observer
- A trait for defining a set of RAII types that can observe the start and end of various operations and queries we perform in their constructors and destructors.
Functions§
- parse_
mappings - Parse a source map’s
"mappings"
string into a queryableMappings
structure.