15 TypedefInfo (std::string alias, std::string existing);
22 std::string
toString()
const override;
An interface for an object that has some attributes that should be used in a list_ token,...
Definition: ICGTemplateEngine.hpp:35
Hold information about a typedef statement.
Definition: TypedefInfo.hpp:13
ICGTemplateEngine::ListTokenItems nextLevel() const override
Get the value of any recursable objects nested in this one. May return empty if this is a "leaf".
Definition: TypedefInfo.cpp:20
std::string alias_name
Definition: TypedefInfo.hpp:18
ICGTemplateEngine::Dictionary toDictionary() const override
Get a map of token name -> token value for this object.
Definition: TypedefInfo.cpp:10
TypedefInfo(std::string alias, std::string existing)
Definition: TypedefInfo.cpp:8
std::string existing_name
Definition: TypedefInfo.hpp:17
std::string toString() const override
Get a string representation.
Definition: TypedefInfo.cpp:24
std::map< std::string, std::vector< const recursable * > > ListTokenItems
Lists that we can recurse into.
Definition: ICGTemplateEngine.hpp:23
std::map< std::string, std::string > Dictionary
Map of token name to string it should be replaced with.
Definition: ICGTemplateEngine.hpp:21