Commit Graph

13 Commits

Author SHA1 Message Date
Kanchalai Tanglertsampan 661634b4a5 Fix lastEncodedSourceMapSpan from being set to undefined 2016-01-29 18:20:05 -08:00
Sheetal Nandi acf54bb416 Merge branch 'master' into sourceMapDestructuring 2015-12-22 16:21:38 -08:00
Daniel Rosenwasser 11acb7bf16 Removed unused declarations in 'sourcemap.ts'. 2015-12-17 14:54:19 -08:00
Sheetal Nandi df3a74b6ca Removed some unnecessary changes and added comments 2015-12-10 15:35:47 -08:00
Sheetal Nandi 7d60c5e630 Fix the temporary assignment source maps in a better way
This doesnt create synthetic nodes with source map node on them
And makes us determine what to put source map on for temporary assignments
2015-12-10 14:10:34 -08:00
Sheetal Nandi 8948f9be50 Add support for modifying last encoded source map's source location
With this, we can just highlight the bindingElement when the temp variable
for it is assigned.
Note there are few scenarios like below which would still highlight let part
but thats because of how default value source mapping is currently which is next
in pipeline to support binding element with default values
for (let {name: nameA, skill: skillA } of robots) {
    console.log(nameA);
}
or
for (let [numberA2, nameA2, skillA2] of robots) {
    console.log(nameA2);
}
2015-12-10 12:29:14 -08:00
Sheetal Nandi 8af2160922 Make nested object literal destructuring pattern better 2015-12-09 12:38:26 -08:00
Sheetal Nandi 4ebf5695a7 Better sourcemaps for destructuring 2015-12-09 12:38:17 -08:00
Sheetal Nandi f315fc1c9e Merge branch 'master' into noSourcemapNames 2015-11-30 16:33:18 -08:00
Sheetal Nandi 322f084370 Merge branch 'master' into noSourcemapNames 2015-11-30 16:27:11 -08:00
Sheetal Nandi a87169829c Merge branch 'master' into sourceMapAndBreakpointDecorators 2015-11-30 14:14:06 -08:00
Ron Buckton b33eff1143 PR feedback 2015-11-25 12:47:32 -08:00
Ron Buckton 5c23a5f11e Extract source map generation logic out of the emitter. 2015-11-23 22:38:05 -08:00