pegjs/lib/compiler
David Majda 7f8b3f7012 UMD parsers: Generate parser wrapper separately from its toplevel code
Code which was at the toplevel of the "generateJS" function in the code
generator is now split into "generateToplevel" (which genreates parser
toplevel code) and "generateWrapper" (which generates a wrapper around
it). This is pure refactoring, generated parser code is exactly the same
as before.

This change will make it easier to modifiy the code genreator to produce
UMD modules.

Part of work on #362.
2016-05-02 12:41:19 +02:00
..
passes UMD parsers: Generate parser wrapper separately from its toplevel code 2016-05-02 12:41:19 +02:00
asts.js Fix labels leaking to outer scope 2016-03-11 16:42:03 +01:00
js.js Rename javascript.js to js.js 2015-09-04 15:38:17 +02:00
opcodes.js Fix comment typo 2015-08-18 10:58:22 +02:00
visitor.js Fix labels leaking to outer scope 2016-03-11 16:42:03 +01:00