mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
LibCpp: Support parsing class declarations
This commit is contained in:
parent
247f8f8dbb
commit
4831dc0e30
Notes:
sideshowbarker
2024-07-18 19:22:29 +09:00
Author: https://github.com/itamar8910
Commit: 4831dc0e30
Pull-request: https://github.com/SerenityOS/serenity/pull/6498
2 changed files with 11 additions and 0 deletions
|
@ -69,6 +69,7 @@ private:
|
|||
Enum,
|
||||
Struct,
|
||||
Namespace,
|
||||
Class,
|
||||
};
|
||||
|
||||
Optional<DeclarationType> match_declaration_in_translation_unit();
|
||||
|
@ -80,6 +81,7 @@ private:
|
|||
bool match_expression();
|
||||
bool match_secondary_expression();
|
||||
bool match_enum_declaration();
|
||||
bool match_class_declaration();
|
||||
bool match_struct_declaration();
|
||||
bool match_literal();
|
||||
bool match_unary_expression();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue