mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
LibJS: Parse labelled statements
All statements now have an optional label string that can be null.
This commit is contained in:
parent
5cd01ed79e
commit
10bf4ba3dc
4 changed files with 44 additions and 0 deletions
|
@ -78,6 +78,7 @@ public:
|
|||
NonnullRefPtr<CallExpression> parse_call_expression(NonnullRefPtr<Expression>);
|
||||
NonnullRefPtr<NewExpression> parse_new_expression();
|
||||
RefPtr<FunctionExpression> try_parse_arrow_function_expression(bool expect_parens);
|
||||
RefPtr<Statement> try_parse_labelled_statement();
|
||||
|
||||
struct Error {
|
||||
String message;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue