parser library

Contains the top-level function to parse source maps version 3.

Classes

Mapping
A mapping parsed out of a source map.
MappingBundle
MultiSectionMapping
A meta-level map containing sections.
SingleMapping
A map containing direct source mappings.
TargetEntry
A target segment entry read from a source map
TargetLineEntry
A line entry read from a source map.

Functions

parse(String jsonMap, {Map<String, Map>? otherMaps, Object? mapUrl}) Mapping
Parses a source map directly from a json string.
parseExtended(String jsonMap, {Map<String, Map>? otherMaps, Object? mapUrl}) Mapping
Parses a source map or source map bundle directly from a json string.
parseJson(Map map, {Map<String, Map>? otherMaps, Object? mapUrl}) Mapping
Parses a source map.
parseJsonExtended(Object? json, {Map<String, Map>? otherMaps, Object? mapUrl}) Mapping
Parses a source map or source map bundle.