LibJS: Parse generator functions in object literals

Also add some parser tests
This commit is contained in:
Ali Mohammad Pur 2021-06-14 14:52:59 +04:30 committed by Linus Groh
commit d374295a26
Notes: sideshowbarker 2024-07-18 12:15:06 +09:00
3 changed files with 34 additions and 5 deletions

View file

@ -29,6 +29,7 @@ struct FunctionNodeParseOptions {
IsGetterFunction = 1 << 3,
IsSetterFunction = 1 << 4,
IsArrowFunction = 1 << 5,
IsGeneratorFunction = 1 << 6,
};
};