mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
LibJS: Add object literal method shorthand
This commit is contained in:
parent
88f7f9712d
commit
28ef654d13
3 changed files with 37 additions and 4 deletions
|
@ -44,7 +44,7 @@ public:
|
|||
NonnullRefPtr<Program> parse_program();
|
||||
|
||||
template<typename FunctionNodeType>
|
||||
NonnullRefPtr<FunctionNodeType> parse_function_node();
|
||||
NonnullRefPtr<FunctionNodeType> parse_function_node(bool need_function_keyword = true);
|
||||
|
||||
NonnullRefPtr<Statement> parse_statement();
|
||||
NonnullRefPtr<BlockStatement> parse_block_statement();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue