mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
JSSpecCompiler: Parse lists in xspec mode
This commit is contained in:
parent
d14bb7e91e
commit
e1a1f4ed1a
9 changed files with 102 additions and 0 deletions
|
@ -187,4 +187,11 @@ void FunctionPointer::dump_tree(StringBuilder& builder)
|
|||
dump_node(builder, "Func \"{}\"", m_declaration->m_name);
|
||||
}
|
||||
|
||||
void List::dump_tree(StringBuilder& builder)
|
||||
{
|
||||
dump_node(builder, "List");
|
||||
for (auto const& element : m_elements)
|
||||
element->format_tree(builder);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue