mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:27:34 +00:00
LibCpp: Parse inheritance
This commit is contained in:
parent
8cfabbcd93
commit
f4cca20972
8 changed files with 43 additions and 1 deletions
14
Userland/Libraries/LibCpp/Tests/parser/inheritance.ast
Normal file
14
Userland/Libraries/LibCpp/Tests/parser/inheritance.ast
Normal file
|
@ -0,0 +1,14 @@
|
|||
TranslationUnit[0:0->3:1]
|
||||
StructOrClassDeclaration[0:6->3:1]
|
||||
A
|
||||
:
|
||||
Name[0:17->0:32]
|
||||
SomeNamespace::B
|
||||
,
|
||||
Name[0:43->0:43]
|
||||
C
|
||||
|
||||
VariableDeclaration[2:4->3:0]
|
||||
NamedType[2:4->2:6]
|
||||
int
|
||||
x
|
Loading…
Add table
Add a link
Reference in a new issue