mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-10 19:46:03 +00:00
LibCpp: Support parsing enum classes
This commit is contained in:
parent
5ee753ffaa
commit
c1ee0c1685
Notes:
sideshowbarker
2024-07-18 11:23:38 +09:00
Author: https://github.com/itamar8910
Commit: c1ee0c1685
Pull-request: https://github.com/SerenityOS/serenity/pull/8260
Reviewed-by: https://github.com/alimpfard
2 changed files with 31 additions and 1 deletions
|
@ -505,6 +505,12 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
enum class Type {
|
||||
RegularEnum,
|
||||
EnumClass
|
||||
};
|
||||
|
||||
Type type { Type::RegularEnum };
|
||||
Vector<StringView> m_entries;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue