Dart CI pub package package publisher

This project implements a Dart pub package to work with source maps.

Docs and usage

The implementation is based on the source map version 3 spec which was originated from the Closure Compiler and has been implemented in Chrome and Firefox.

In this package we provide:

  • Data types defining file locations and spans: these are not part of the original source map specification. These data types are great for tracking source locations on source maps, but they can also be used by tools to reporting useful error messages that include on source locations.
  • A builder that creates a source map programatically and produces the encoded source map format.
  • A parser that reads the source map format and provides APIs to read the mapping information.

Libraries

builder
Contains a builder object useful for creating source maps programatically.
parser
Contains the top-level function to parse source maps version 3.
printer
Contains a code printer that generates code by recording the source maps.
refactor
Tools to help implement refactoring like transformations to Dart code.
source_maps
Library to create and parse source maps.