mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
JSSpecCompiler: Let FunctionDeclaration know its name and category
This is achieved by moving ClauseHeader::{AbstractOperation,Accessor,
Method} to Function.h itself and storing them in FunctionDeclaration.
This commit also introduces QualifiedName class that is used to store
function's name split by '.' (just like it appear in the spec).
This commit is contained in:
committed by
Andrew Kaster
parent
70cfa60f56
commit
0e7c33b1be
@@ -185,7 +185,7 @@ void Enumerator::dump_tree(StringBuilder& builder)
|
||||
|
||||
void FunctionPointer::dump_tree(StringBuilder& builder)
|
||||
{
|
||||
dump_node(builder, "Func \"{}\"", m_declaration->m_name);
|
||||
dump_node(builder, "Func \"{}\"", m_declaration->name());
|
||||
}
|
||||
|
||||
void List::dump_tree(StringBuilder& builder)
|
||||
|
||||
Reference in New Issue
Block a user