summaryrefslogtreecommitdiffstats
path: root/js/src/frontend/ParseNode.h
Commit message (Collapse)AuthorAgeLines
* Bug 1343481 - Part 7: Add BytecodeEmitter::emitDotGenerator and make ↵Gaming4JC2019-12-17-2/+4
| | | | | | yield/await nodes unary. Tag #1287
* 1216630 - Print class source when calling toString on the constructor.Gaming4JC2019-07-18-2/+3
| | | | | | | | | | 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-2/+16
| | | | Restriction" ECMAScript proposal
* Move the Parser::checkFunctionDefinition call into its callers.wolfbeast2019-04-06-2/+6
|
* Bug 1322314 - Disallow emitting ParseNode twicejanekptacijarabaci2018-03-20-3/+1
| | | | | Issue #73 [Depends on] Bug 1147371: Implement IteratorClose
* Part 1: Implement ES6 function name property semanticsjanekptacijarabaci2018-03-19-0/+15
| | | | Issue #78
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+1450