mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 09:27:34 +00:00
LibJS: Dump CallExpression arguments (if any)
This commit is contained in:
parent
137d68a2ae
commit
25db856134
1 changed files with 3 additions and 0 deletions
|
@ -318,6 +318,9 @@ void CallExpression::dump(int indent) const
|
||||||
{
|
{
|
||||||
print_indent(indent);
|
print_indent(indent);
|
||||||
printf("%s '%s'\n", class_name(), name().characters());
|
printf("%s '%s'\n", class_name(), name().characters());
|
||||||
|
|
||||||
|
for (auto& argument : m_arguments)
|
||||||
|
argument.dump(indent + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void StringLiteral::dump(int indent) const
|
void StringLiteral::dump(int indent) const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue