mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:08:11 +00:00
LibCpp: Parse 'using namespace' declarations
This gets us a little bit closer to a fully capable C++ parser.
This commit is contained in:
parent
2896d7796d
commit
3cd04f40e1
6 changed files with 64 additions and 0 deletions
|
@ -658,4 +658,11 @@ StringView Declaration::full_name() const
|
|||
return *m_full_name;
|
||||
}
|
||||
|
||||
void UsingNamespaceDeclaration::dump(FILE* output, size_t indent) const
|
||||
{
|
||||
ASTNode::dump(output, indent);
|
||||
print_indent(output, indent + 1);
|
||||
outln(output, "{}", full_name());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue