Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | 1339963 - Part 3: Check IdentifierName in ExportClause without from. | Gaming4JC | 2019-07-18 | -0/+33 |
| | ||||
* | 1339963 - Part 2: Use MUST_MATCH_TOKEN for contextual keyword where it can ↵ | Gaming4JC | 2019-07-18 | -14/+2 |
| | | | | be used. | |||
* | 1339963 - Part 1: Split Parser::exportDeclaration. | Gaming4JC | 2019-07-18 | -210/+486 |
| | ||||
* | 1340089 - Check the binding name in comprehensionFor. | Gaming4JC | 2019-07-18 | -0/+2 |
| | ||||
* | 1336783 - followup: Fix rooting. | Gaming4JC | 2019-07-18 | -31/+37 |
| | ||||
* | 1336783 - Part 3 - Use simpler macro to avoid internal compiler error on ↵ | Gaming4JC | 2019-07-18 | -4/+7 |
| | | | | SM-tc(H). | |||
* | 1336783 - Part 2: Remove Parser::checkStrictBinding. | Gaming4JC | 2019-07-18 | -73/+70 |
| | ||||
* | 1336783 - Part 1: Rework on reserved word and remove TokenStream::KeywordIsName. | Gaming4JC | 2019-07-18 | -625/+858 |
| | ||||
* | 1283712 - Part 3: Add Parser::errorWithNotes and Parser::errorWithNotesAt. | Gaming4JC | 2019-07-18 | -35/+82 |
| | ||||
* | 1339137 - Don't do Annex B lexical function behavior when redeclaring a ↵ | Gaming4JC | 2019-07-18 | -5/+21 |
| | | | | parameter name in a function with parameter expressions. | |||
* | 1337143 - Tweak ExportClause parsing to eliminate a peekToken where a ↵ | Gaming4JC | 2019-07-18 | -7/+16 |
| | | | | simpler consuming getToken could be performed. | |||
* | 1337143 - Tweak NamedImports parsing to eliminate a complexifying peekToken ↵ | Gaming4JC | 2019-07-18 | -9/+13 |
| | | | | where getToken could be used. | |||
* | 1320408 - Part 2: Change JSFunction::getOrCreateScript to static method. | Gaming4JC | 2019-07-18 | -1/+2 |
| | ||||
* | 1317375 - Implement "Template Literals Revision / Lifting Template Literal ↵ | Gaming4JC | 2019-07-18 | -68/+202 |
| | | | | Restriction" ECMAScript proposal | |||
* | 1317374 - Don't do Annex B lexical function behavior when redeclaring a ↵ | Gaming4JC | 2019-07-18 | -0/+6 |
| | | | | parameter name. | |||
* | 1326454 - Don't report an error when SourceCoords::add fails, because it ↵ | Gaming4JC | 2019-07-18 | -6/+12 |
| | | | | fails only when an underlying Vector::append fails, and that vector handles OOM reporting itself. | |||
* | 1326454 - Add assertions to TokenStream::skipChars{,IgnoreEOL} verifying EOF ↵ | Gaming4JC | 2019-07-18 | -3/+8 |
| | | | | isn't yet hit and that newlines aren't skipped, if appropriate. | |||
* | 1326454 - Make TokenStream::skipChars{,IgnoreEOL} accept an unsigned ↵ | Gaming4JC | 2019-07-18 | -8/+16 |
| | | | | integral number of chars to skip. | |||
* | 1326454 - Make TokenStream::peekChar's signature fallible. | Gaming4JC | 2019-07-18 | -18/+45 |
| | ||||
* | 1326454 - Rename TokenStream::getBracedUnicode to ↵ | Gaming4JC | 2019-07-18 | -16/+46 |
| | | | | TokenStream::matchBracedUnicode and make its signature fallible. | |||
* | 1326454 - Introduce TokenStream::warning that warns at the current offset. | Gaming4JC | 2019-07-18 | -10/+14 |
| | ||||
* | 1326454 - Introduce TokenStream::error that reports an error at the current ↵ | Gaming4JC | 2019-07-18 | -10/+30 |
| | | | | offset. | |||
* | 1325157 - Implement a ParserBase class that holds functionality that's ↵ | Gaming4JC | 2019-07-18 | -170/+181 |
| | | | | identical between syntax parsing and full parsing. | |||
* | 1320403 - Move JSFunction::EXPR_BODY to JSScript, LazyScript, and FunctionBox. | Gaming4JC | 2019-07-18 | -5/+21 |
| | ||||
* | 636635 - Do not create named lambda binding for a function created by ↵ | Gaming4JC | 2019-07-18 | -13/+15 |
| | | | | Function constructor. | |||
* | 1317379 - Disallow generator functions and async functions as direct ↵ | Gaming4JC | 2019-07-18 | -21/+62 |
| | | | | children of if/else. | |||
* | 1296814 - Move FunctionDeclaration-as-consequent/alternative handling out of ↵ | Gaming4JC | 2019-07-18 | -32/+24 |
| | | | | Parser::functionStmt into Parser::consequentOrAlternative. | |||
* | 1317153 - Provide better error message when errornous syntax possibly match ↵ | Gaming4JC | 2019-07-18 | -33/+60 |
| | | | | "await SOMETHING" outside async function. | |||
* | 1315815 - Don't treat async or await as a keyword when they contain escapes. | Gaming4JC | 2019-07-18 | -64/+80 |
| | ||||
* | Remove JSOP_SPREADCALLARRAY and just use JSOP_NEWARRAY again. | wolfbeast | 2019-06-18 | -6/+5 |
| | ||||
* | Make use of ArrayObjects in favor of generic JS objects. | wolfbeast | 2019-06-12 | -2/+2 |
| | | | | | ArrayObjects has been a thing for years but been under-used. About time they are used where prudent. | |||
* | Improve efficiency of (C++) heap allocations related to | wolfbeast | 2019-05-28 | -14/+24 |
| | | | | | | BytecodeEmitter::code. While there, also add some sanity checks and clean up code. | |||
* | Remove useless assert. | wolfbeast | 2019-04-25 | -1/+0 |
| | | | | Resolves #1055. | |||
* | Rename TokenStream::reportStrictWarningErrorNumberVA to | wolfbeast | 2019-04-06 | -10/+9 |
| | | | | | | | TokenStream::reportExtraWarningErrorNumberVA for clarity. Emit Extra Warnings instead of Strict Warnings from the BCE where it makes sense. | |||
* | Remove Parser::reportHelper since it's no longer used. | wolfbeast | 2019-04-06 | -27/+0 |
| | ||||
* | Inline Parser::reportHelper into its callers. | wolfbeast | 2019-04-06 | -8/+29 |
| | ||||
* | Remove Parser::reportWithNode and its remaining callers. | wolfbeast | 2019-04-06 | -24/+7 |
| | | | | | 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 using | wolfbeast | 2019-04-06 | -30/+27 |
| | | | | explicitly-specified offsets. | |||
* | Simplify checking of targets within destructuring patterns. | wolfbeast | 2019-04-06 | -81/+14 |
| | ||||
* | Simplify increment/decrement operand checking. | wolfbeast | 2019-04-06 | -17/+19 |
| | ||||
* | Inline Parser::checkAssignmentToCall into its sole caller. | wolfbeast | 2019-04-06 | -16/+5 |
| | ||||
* | Specify an explicit offset when reporting an error for a for-of loop | wolfbeast | 2019-04-06 | -1/+1 |
| | | | | whose target is an expression that begins with 'let'. | |||
* | Simplify checking of the left-hand side of assignment and compound | wolfbeast | 2019-04-06 | -50/+28 |
| | | | | assignment expressions. | |||
* | Remove for-in/of loop parsing code that redundantly marks the loop | wolfbeast | 2019-04-06 | -6/+0 |
| | | | | target as assigned -- Parser::forHeadStart already does this. | |||
* | Report some errors about invalid left-hand-sides in for-in/of loop heads | wolfbeast | 2019-04-06 | -38/+26 |
| | | | | using code with an explicitly computed offset. | |||
* | Report the error for uninitialized const-declaration in for(;;) loop | wolfbeast | 2019-04-06 | -1/+1 |
| | | | | head using an explicit offset. | |||
* | Remove Parser::reportWithOffset since it's no longer used. | wolfbeast | 2019-04-06 | -12/+0 |
| | ||||
* | Introduce Parser::warningAt | wolfbeast | 2019-04-06 | -12/+19 |
| | | | | | This reduces reporting an warning at a particular offset to its bare essentials, simplifying calls. | |||
* | Report for-loop-decl-with-initializer errors using a specified offset | wolfbeast | 2019-04-06 | -2/+2 |
| | | | | instead of a node's offset. | |||
* | Report bad-class-member errors using a specified offset instead of a node's ↵ | wolfbeast | 2019-04-06 | -4/+4 |
| | | | | offset. |