1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:28:11 +00:00
serenity/Libraries/LibJS/Tests/functions
Linus Groh 39a1c9d827 LibJS: Implement 'new.target'
This adds a new MetaProperty AST node which will be used for
'new.target' and 'import.meta' meta properties. The parser now
distinguishes between "in function context" and "in arrow function
context" (which is required for this).
When encountering TokenType::New we will attempt to parse it as meta
property and resort to regular new expression parsing if that fails,
much like the parsing of labelled statements.
2020-11-02 22:40:59 +01:00
..
arrow-functions.js LibJS: Don't parse arrow function with newline between ) and => 2020-10-19 11:31:55 +02:00
constructor-basic.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
function-default-parameters.js Everywhere: Fix typos 2020-10-02 16:03:17 +02:00
function-duplicate-parameters.js LibJS: Implement rules for duplicate function parameters 2020-10-25 12:56:02 +01:00
function-hoisting.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
function-length.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
function-missing-arg.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
function-name.js LibJS: Do not revisit already visited values in update_function_name() 2020-09-19 00:33:56 +02:00
function-new-target.js LibJS: Implement 'new.target' 2020-11-02 22:40:59 +01:00
function-rest-params.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
function-spread.js LibJS: Integrate iterator protocol into language features 2020-07-14 17:58:42 +02:00
function-strict-mode.js LibJS: Allow all line terminators to be used for line continuations 2020-10-25 19:45:47 +01:00
function-this-in-arguments.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
function-TypeError.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00