summaryrefslogtreecommitdiff
path: root/js/src/frontend/Parser.h
Commit message (Collapse)AuthorAge
* Issue mcp-graveyard/UXP#1656 - Part 7: Nuke vim config lines in JSMoonchild2020-09-24
|
* Bug 1331092 - Part 9: Implement for-await-of.Gaming4JC2019-12-17
| | | | Tag mcp-graveyard/UXP#1287
* Bug 1343481 - Part 7: Add BytecodeEmitter::emitDotGenerator and make ↵Gaming4JC2019-12-17
| | | | | | yield/await nodes unary. Tag mcp-graveyard/UXP#1287
* Bug 1343481 - Part 1: Remove {JSFunction,JSScript,LazyScript}.isGenerator() ↵Gaming4JC2019-12-17
| | | | | | method. Tag mcp-graveyard/UXP#1287
* 1303703 - Part 3: Syntax parse destructuring assignment patterns.Gaming4JC2019-07-18
|
* 1303703 - Part 2: Clean-up bits of destructuring parsing which are no longer ↵Gaming4JC2019-07-18
| | | | needed.
* 1303703 - Part 1: Separate binding pattern parsing from object/array literal ↵Gaming4JC2019-07-18
| | | | parsing.
* 420857 - Part 1: Report the position of opening brace for missing brace ↵Gaming4JC2019-07-18
| | | | error in function body.
* 1357506 - Remove assert that constructorBox can only be set once when ↵Gaming4JC2019-07-18
| | | | | | | parsing classes. Both asm.js and syntax parsing can abort and rewind parsing of an inner function. The bookkeeping to make sure that a class's constructor FunctionBox is only set once is not worth it -- duplicate constructor definitions already throw an early error.
* 1216630 - Rename preludeStart and postludeEnd to toStringStart and ↵Gaming4JC2019-07-18
| | | | toStringEnd and misc fixes.
* 1216630 - Print class source when calling toString on the constructor.Gaming4JC2019-07-18
| | | | | | | | | | 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.
* 104442 - Part 1: Report the position and the kind of previous declaration ↵Gaming4JC2019-07-18
| | | | for redeclaration error.
* 1339963 - Part 3: Check IdentifierName in ExportClause without from.Gaming4JC2019-07-18
|
* 1339963 - Part 1: Split Parser::exportDeclaration.Gaming4JC2019-07-18
|
* 1336783 - followup: Fix rooting.Gaming4JC2019-07-18
|
* 1336783 - Part 2: Remove Parser::checkStrictBinding.Gaming4JC2019-07-18
|
* 1336783 - Part 1: Rework on reserved word and remove TokenStream::KeywordIsName.Gaming4JC2019-07-18
|
* 1283712 - Part 3: Add Parser::errorWithNotes and Parser::errorWithNotesAt.Gaming4JC2019-07-18
|
* 1317375 - Implement "Template Literals Revision / Lifting Template Literal ↵Gaming4JC2019-07-18
| | | | Restriction" ECMAScript proposal
* 1325157 - Implement a ParserBase class that holds functionality that's ↵Gaming4JC2019-07-18
| | | | identical between syntax parsing and full parsing.
* 636635 - Do not create named lambda binding for a function created by ↵Gaming4JC2019-07-18
| | | | Function constructor.
* 1317153 - Provide better error message when errornous syntax possibly match ↵Gaming4JC2019-07-18
| | | | "await SOMETHING" outside async function.
* Remove Parser::reportHelper since it's no longer used.wolfbeast2019-04-06
|
* Remove Parser::reportWithNode and its remaining callers.wolfbeast2019-04-06
| | | | | All of the callsites have a full ParseNode* at hand, of which the offset can be directly accessed.
* Report errors for bad increment/decrement operands usingwolfbeast2019-04-06
| | | | explicitly-specified offsets.
* Simplify checking of targets within destructuring patterns.wolfbeast2019-04-06
|
* Simplify increment/decrement operand checking.wolfbeast2019-04-06
|
* Inline Parser::checkAssignmentToCall into its sole caller.wolfbeast2019-04-06
|
* Simplify checking of the left-hand side of assignment and compoundwolfbeast2019-04-06
| | | | assignment expressions.
* Report some errors about invalid left-hand-sides in for-in/of loop headswolfbeast2019-04-06
| | | | using code with an explicitly computed offset.
* Introduce Parser::warningAtwolfbeast2019-04-06
| | | | | This reduces reporting an warning at a particular offset to its bare essentials, simplifying calls.
* Remove Parser::reportBadReturnwolfbeast2019-04-06
| | | | Report simpler errors that don't use the offset of a node as location.
* Introduce Parser::errorAtwolfbeast2019-04-06
| | | | | This reduces reporting an error at a particular offset to its bare essentials, simplifying calls.
* Inline Parser::checkFunctionDefinition into its sole caller.wolfbeast2019-04-06
|
* Move the Parser::checkFunctionDefinition call into its callers.wolfbeast2019-04-06
|
* Move part of Parser::functionDefinition into callers.wolfbeast2019-04-06
|
* Track strict mode errors in unary deletions correctly whenwolfbeast2019-04-05
| | | | syntax-parsing.
* Change report at current offset to warning(), extraWarning() and error()wolfbeast2019-04-05
|
* Remove the |bool strict| argument from the report-at-current-offsetwolfbeast2019-04-05
| | | | | Parser function (zeport). zeport => qeport
* Split Parser::report into Parser::zeport (a temporary name) that useswolfbeast2019-04-05
| | | | | the current offset, and Parser::reportWithNode that derives it from a Node.
* Stage 1-1: Implement Function.prototype.toString revision proposal.wolfbeast2019-02-02
| | | | Tag mcp-graveyard/UXP#960
* Remove telemetry leftovers from JS engine.adeshkp2019-01-30
|
* Bug 755821: Function() should use the parser's argument parsing codejanekptacijarabaci2018-03-16
|
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02