mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-31 06:38:22 +00:00
LibJS: Parse generator functions in object literals
Also add some parser tests
This commit is contained in:
parent
2661a88108
commit
d374295a26
Notes:
sideshowbarker
2024-07-18 12:15:06 +09:00
Author: https://github.com/alimpfard
Commit: d374295a26
Pull-request: https://github.com/SerenityOS/serenity/pull/8050
Reviewed-by: https://github.com/linusg
3 changed files with 34 additions and 5 deletions
|
@ -29,6 +29,7 @@ struct FunctionNodeParseOptions {
|
|||
IsGetterFunction = 1 << 3,
|
||||
IsSetterFunction = 1 << 4,
|
||||
IsArrowFunction = 1 << 5,
|
||||
IsGeneratorFunction = 1 << 6,
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue