summaryrefslogtreecommitdiffstats
path: root/js/src/frontend/Parser.h
Commit message (Collapse)AuthorAgeLines
* 1317375 - Implement "Template Literals Revision / Lifting Template Literal ↵Gaming4JC2019-07-18-1/+2
| | | | Restriction" ECMAScript proposal
* 1325157 - Implement a ParserBase class that holds functionality that's ↵Gaming4JC2019-07-18-120/+131
| | | | identical between syntax parsing and full parsing.
* 636635 - Do not create named lambda binding for a function created by ↵Gaming4JC2019-07-18-3/+4
| | | | Function constructor.
* 1317153 - Provide better error message when errornous syntax possibly match ↵Gaming4JC2019-07-18-0/+4
| | | | "await SOMETHING" outside async function.
* Remove Parser::reportHelper since it's no longer used.wolfbeast2019-04-06-3/+0
|
* Remove Parser::reportWithNode and its remaining callers.wolfbeast2019-04-06-1/+0
| | | | | 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-1/+1
| | | | explicitly-specified offsets.
* Simplify checking of targets within destructuring patterns.wolfbeast2019-04-06-9/+0
|
* Simplify increment/decrement operand checking.wolfbeast2019-04-06-1/+1
|
* Inline Parser::checkAssignmentToCall into its sole caller.wolfbeast2019-04-06-2/+0
|
* Simplify checking of the left-hand side of assignment and compoundwolfbeast2019-04-06-4/+0
| | | | assignment expressions.
* Report some errors about invalid left-hand-sides in for-in/of loop headswolfbeast2019-04-06-2/+0
| | | | using code with an explicitly computed offset.
* Introduce Parser::warningAtwolfbeast2019-04-06-2/+3
| | | | | This reduces reporting an warning at a particular offset to its bare essentials, simplifying calls.
* Remove Parser::reportBadReturnwolfbeast2019-04-06-2/+0
| | | | Report simpler errors that don't use the offset of a node as location.
* Introduce Parser::errorAtwolfbeast2019-04-06-0/+3
| | | | | 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-2/+0
|
* Move the Parser::checkFunctionDefinition call into its callers.wolfbeast2019-04-06-2/+3
|
* Move part of Parser::functionDefinition into callers.wolfbeast2019-04-06-3/+2
|
* Track strict mode errors in unary deletions correctly whenwolfbeast2019-04-05-0/+7
| | | | syntax-parsing.
* Change report at current offset to warning(), extraWarning() and error()wolfbeast2019-04-05-1/+12
|
* Remove the |bool strict| argument from the report-at-current-offsetwolfbeast2019-04-05-1/+8
| | | | | Parser function (zeport). zeport => qeport
* Split Parser::report into Parser::zeport (a temporary name) that useswolfbeast2019-04-05-6/+7
| | | | | the current offset, and Parser::reportWithNode that derives it from a Node.
* Stage 1-1: Implement Function.prototype.toString revision proposal.wolfbeast2019-02-02-11/+17
| | | | Tag #960
* Remove telemetry leftovers from JS engine.adeshkp2019-01-30-2/+0
|
* Bug 755821: Function() should use the parser's argument parsing codejanekptacijarabaci2018-03-16-7/+9
|
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+1430