mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibCpp: Parse C-Style parse expressions
This commit is contained in:
parent
ec2c54ee2e
commit
aa717e6a62
Notes:
sideshowbarker
2024-07-18 20:41:18 +09:00
Author: https://github.com/itamar8910
Commit: aa717e6a62
Pull-request: https://github.com/SerenityOS/serenity/pull/6009
4 changed files with 65 additions and 3 deletions
|
@ -90,6 +90,7 @@ private:
|
|||
bool match_template_arguments();
|
||||
bool match_name();
|
||||
bool match_cpp_cast_expression();
|
||||
bool match_c_style_cast_expression();
|
||||
bool match_sizeof_expression();
|
||||
bool match_braced_init_list();
|
||||
|
||||
|
@ -137,6 +138,7 @@ private:
|
|||
NonnullRefPtr<CppCastExpression> parse_cpp_cast_expression(ASTNode& parent);
|
||||
NonnullRefPtr<SizeofExpression> parse_sizeof_expression(ASTNode& parent);
|
||||
NonnullRefPtr<BracedInitList> parse_braced_init_list(ASTNode& parent);
|
||||
NonnullRefPtr<CStyleCastExpression> parse_c_style_cast_expression(ASTNode& parent);
|
||||
|
||||
bool match(Token::Type);
|
||||
Token consume(Token::Type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue