Sebastian McKenzie
4a19661346
Generate names field for identifiers to get correct names mappings ( #3658 )
2016-08-16 13:43:55 -04:00
Logan Smyth
475581dc66
Ditch the tiny Position class.
2016-07-14 21:55:08 -07:00
Logan Smyth
8379c21939
Drop unneeded condition in SourceMap class.
2016-07-14 21:54:47 -07:00
Logan Smyth
c5a6c5c291
Pass values directly to avoid object usage.
2016-07-05 21:01:33 -07:00
Logan Smyth
177c092496
Remove sideeffectful position mutation.
2016-07-02 15:38:05 -07:00
Logan Smyth
76bb1dffaa
Track sourcemap location on a stack - fixes T7255
2016-04-11 01:54:40 -07:00
Dale Bustad
f007b51554
Accept filename-to-file-content hash as code parameter of generate.
2016-03-07 02:47:28 -08:00
Dale Bustad
26dcd6400f
When generating sourcemaps, use per-node source filename if present.
2016-03-07 02:47:27 -08:00
kpdecker
94e7e4da8e
Update source map handling to be reentrant
...
Rather than repeating the original location when we exit a node, we need to restore the previous parent’s original line location, since the source map format denotes the start location.
2015-12-18 01:11:32 -06:00
kpdecker
9b79fbcdf5
Avoid emitting duplicate source map entries
2015-12-18 00:57:48 -06:00
Daniel Lo Nigro
0076204f80
Fix Flow.
...
Removed `@flow` annotation from files that don't actually pass Flow check at the moment. These will be added back file by file once the files are properly converted to use Flow.
Closes #3064
2015-11-15 21:30:22 -08:00
Sebastian McKenzie
227ed5638a
add flow type annotations
2015-09-23 16:10:44 +01:00
Sebastian McKenzie
c99a179401
var -> let
2015-09-18 18:45:55 +01:00
Sebastian McKenzie
3ef9bffcc2
split up babel core into multiple modules
2015-08-11 17:40:59 +01:00