Commit Graph

18 Commits

Author SHA1 Message Date
Tobias Koppers e78745221e Merge pull request #4700 from webpack/bug/future-var-declaration
add parser prewalking to capture scope
2017-04-13 15:23:48 +02:00
Tobias Koppers 52f2daf89f add test cases and fix a bug 2017-04-13 14:52:49 +02:00
Tobias Koppers 3afe67d6fb add parser prewalking to capture scope
fixes #4608
2017-04-13 09:05:29 +02:00
Shubheksha Jalan c04cdcc445 fix test for var 2017-01-25 18:13:17 +05:30
Shubheksha Jalan bd5fd5a886 added tests for var 2017-01-24 15:09:17 +05:30
Shubheksha Jalan d91d17f2cf refactor(ES6): Parser.test.js 2017-01-18 19:54:20 +05:30
Diogo Franco (Kovensky) fc8b1d348d Add async/await support to Parser 2016-10-31 10:48:33 +09:00
Tobias Koppers c3e6fcf36a fixed beautify issues 2016-09-08 21:41:03 +02:00
Bazyli Brzóska fe0c8cafb3 Keep the parsed comments along with the AST (#2905)
When plugging into the 'program' hook of the Parser, comments are preserved and passed as the second parameter, after the AST. 
This allows external plugins to make use of the comments contained within the files without re-parsing each file.
2016-09-08 20:52:53 +02:00
Tobias Koppers 7af71d4a69 allow a['b'] instead of a.b
fixed #2228
2016-06-04 12:06:10 +02:00
Tobias Koppers c0afdf9c6a beautify tests, lint hot and scripts 2015-08-09 12:42:43 +02:00
Tobias Koppers c0f1fe6600 fixed test cases 2015-02-28 01:42:09 +01:00
Tobias Koppers cc930801b5 more similar bugs with testcases
fixed #626
2014-12-16 08:12:30 +01:00
Tobias Koppers a1ceccfc07 Added test for memberExpression parsing 2014-12-16 08:00:05 +01:00
Tobias Koppers ca46619b5f renaming is off by default and only enabled for defined expressions
fixes #336
2014-07-02 21:34:29 +02:00
Tobias Koppers 945d0c686f started renaming support
this currently only works for free vars that are really available.
2014-01-31 10:57:28 +01:00
Tobias Koppers bc843d005c fixed even more of the tests 2013-10-16 08:57:37 +02:00
Tobias Koppers ee01837d66 Refactored everything for 0.9 2013-01-30 18:49:25 +01:00