mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:57:44 +00:00
LibJS: Parse generator functions in object literals
Also add some parser tests
This commit is contained in:
parent
2661a88108
commit
d374295a26
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