ICG 2
Electric Boogaloo
Public Member Functions | Public Attributes | List of all members
TypedefInfo Class Referencefinal

Hold information about a typedef statement. More...

#include <TypedefInfo.hpp>

Inheritance diagram for TypedefInfo:
ICGTemplateEngine::recursable

Public Member Functions

 TypedefInfo (std::string alias, std::string existing)
 
ICGTemplateEngine::Dictionary toDictionary () const override
 Get a map of token name -> token value for this object. More...
 
ICGTemplateEngine::ListTokenItems nextLevel () const override
 Get the value of any recursable objects nested in this one. May return empty if this is a "leaf". More...
 
std::string toString () const override
 Get a string representation. More...
 

Public Attributes

std::string existing_name
 
std::string alias_name
 

Detailed Description

Hold information about a typedef statement.

Constructor & Destructor Documentation

◆ TypedefInfo()

TypedefInfo::TypedefInfo ( std::string  alias,
std::string  existing 
)

Member Function Documentation

◆ nextLevel()

ICGTemplateEngine::ListTokenItems TypedefInfo::nextLevel ( ) const
overridevirtual

Get the value of any recursable objects nested in this one. May return empty if this is a "leaf".

Returns
ListTokenItems std::map<std::string, std::vector<const recursable *>>

Implements ICGTemplateEngine::recursable.

◆ toDictionary()

ICGTemplateEngine::Dictionary TypedefInfo::toDictionary ( ) const
overridevirtual

Get a map of token name -> token value for this object.

Returns
Dictionary std::map<std::string, std::string>

Implements ICGTemplateEngine::recursable.

◆ toString()

std::string TypedefInfo::toString ( ) const
overridevirtual

Get a string representation.

Returns
std::string

Implements ICGTemplateEngine::recursable.

Member Data Documentation

◆ alias_name

std::string TypedefInfo::alias_name

◆ existing_name

std::string TypedefInfo::existing_name

The documentation for this class was generated from the following files: