SymbolFactory populates a symbol table.
declare the enumeration as a new TYPE as well as all the enumerators as CONST
Lookup the scope of a qualified name.
When parsing a function definition the declarator is seen first, and thus a prototype is created to hold the parameters.
When parsing a class or function template the template-parameter-list is seen first.
Create a symbol lookup table for the given language. Right now only CXX is supported.
declare the enumeration as a new TYPE as well as all the enumerators as CONST
Lookup the scope of a qualified name. The encoded name is modified in place to refer to the unqualified name.
When parsing a function definition the declarator is seen first, and thus a prototype is created to hold the parameters. Later, when the function definition proper is seen, the symbols are transfered and the prototype is deleted.
When parsing a class or function template the template-parameter-list is seen first. Since ClassSpec and Declarator don't know they are part of a template declaration, we cache it here so it gets consumed when the Class or PrototypeScope are created.