glagol-dsl / php-source-maps
PHP library for reading Source Maps v3
v0.4.6
2018-04-16 11:03 UTC
Requires
- php: ~7.1
- illuminate/support: 5.*
Requires (Dev)
- phpunit/phpunit: 6.*
README
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.