glagol-dsl/php-source-maps

PHP library for reading Source Maps v3

v0.4.6 2018-04-16 11:03 UTC

This package is not auto-updated.

Last update: 2024-04-28 03:25:20 UTC


README

CircleCI

Note: this is a source maps consumer implementation with modifications to its algorithm to satisfy the needs of Glagol DSL

Rationale

While PHP exception stack traces do give line numbers - columns are not provided. Hence mapping traces to original Glagol code becomes difficult. This is the reason why Glagol DSL Source Maps reference the generated symbol names instead of the original (the way it is originally defined in Source Maps revision 3) within the mapping.