mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
LibCpp: Parse braced initialization list
This commit is contained in:
parent
d482b3fd60
commit
44833f1621
4 changed files with 51 additions and 10 deletions
|
@ -91,6 +91,7 @@ private:
|
|||
bool match_name();
|
||||
bool match_cpp_cast_expression();
|
||||
bool match_sizeof_expression();
|
||||
bool match_braced_init_list();
|
||||
|
||||
enum class TemplatizedMatchResult {
|
||||
NoMatch,
|
||||
|
@ -135,6 +136,7 @@ private:
|
|||
NonnullRefPtr<Name> parse_name(ASTNode& parent);
|
||||
NonnullRefPtr<CppCastExpression> parse_cpp_cast_expression(ASTNode& parent);
|
||||
NonnullRefPtr<SizeofExpression> parse_sizeof_expression(ASTNode& parent);
|
||||
NonnullRefPtr<BracedInitList> parse_braced_init_list(ASTNode& parent);
|
||||
|
||||
bool match(Token::Type);
|
||||
Token consume(Token::Type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue