summaryrefslogtreecommitdiffstats
path: root/js/src/frontend/FullParseHandler.h
Commit message (Collapse)AuthorAgeLines
* Bug 1343481 - Part 7: Add BytecodeEmitter::emitDotGenerator and make ↵Gaming4JC2019-12-17-9/+12
| | | | | | yield/await nodes unary. Tag #1287
* Bug 1343481 - Part 3: Add JSOP_AWAIT and rename {yieldIndex,yieldOffset} to ↵Gaming4JC2019-12-17-1/+1
| | | | | | {yieldAndAwaitIndex,yieldAndAwaitOffset}. Tag #1287
* 1339395 - Part 2: Add parser support for rest and spread object properties.Gaming4JC2019-07-18-0/+12
|
* 1339395 - Part 1: Align parse method for object literals to match array ↵Gaming4JC2019-07-18-3/+2
| | | | literals.
* 1303703 - Part 3: Syntax parse destructuring assignment patterns.Gaming4JC2019-07-18-1/+5
|
* 1216630 - Print class source when calling toString on the constructor.Gaming4JC2019-07-18-2/+4
| | | | | | | | | | This is accomplished in the following ways. LazyScripts and JSScripts now have 4 offsets: - Source begin and end for the actual source. This is used for lazy parsing. - toString begin and end for toString. Some kinds of functions, like async, only have a different begin offset. Class constructors have different offsets for both begin and end. For syntactically present (i.e. non-default) constructors, the class source span is remembered directly on the LazyScript or JSScript. The toString implementation then splices out the substring directly. For default constructors, a new SRC_CLASS SrcNote type is added. It's binary and has as its arguments the begin and end offsets of the class expression or statement. MakeDefaultConstructor reads the note and overrides the cloned self-hosted function's source object. This is probably the least intrusive way to accomplish this.
* 1317375 - Implement "Template Literals Revision / Lifting Template Literal ↵Gaming4JC2019-07-18-0/+4
| | | | Restriction" ECMAScript proposal
* 1315815 - Don't treat async or await as a keyword when they contain escapes.Gaming4JC2019-07-18-11/+9
|
* Move the Parser::checkFunctionDefinition call into its callers.wolfbeast2019-04-06-3/+12
|
* Specify an explicit offset when warning about "use asm" found in thewolfbeast2019-04-05-1/+1
| | | | directive prologue of a script (rather than a function body).
* Part 1: Implement ES6 function name property semanticsjanekptacijarabaci2018-03-19-0/+7
| | | | Issue #78
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+977