|
WSF
|
#include <UsSymbolTable.hpp>

Public Types | |
| typedef std::pair< int, int > | TemplateArgs |
| typedef std::pair< int, TemplateArgs > | TemplateType |
| typedef std::map< TemplateType, UsType * > | TemplateTypeMap |
| typedef std::set< const char *, wizard::UtilCStringCompare > | StrMap |
| typedef std::map< UsFunction, int > | PrototypeMap |
| typedef std::map< const char *, int, wizard::UtilCStringCompare > | NameMap |
Public Member Functions | |
| UsTypeList () | |
| ~UsTypeList () | |
| UsType * | GetType (int aTypeId) |
| UsType * | GetType (TemplateType aTypeId) |
| std::pair< UsType *, UsType * > | GetTemplateArgs (TemplateArgs aArgs) |
| const char * | GetString (const char *aString) |
| std::string | GetTypeName (int aTypeId) |
| UsType * | FindType (const std::string &aTypeName) |
| UsType * | FindType (const char *aTypeStr) |
| UsType * | FindTypeOrMakeTemplate (const std::string &aTypeName) |
| void | AddType (const std::string &aTypeName, UsType *aType) |
| int | AddPrototype (const UsFunction &aPrototype) |
| const UsFunction * | GetPrototype (int aId) |
| std::string | GetFunctionPrototype (const std::string &aName, const UsFunction &aFunction) |
| UT_MEMORY_DEBUG_MARKER (cMDB_UsTypeList) | |
Static Public Member Functions | |
| static int | SplitTemplateType (const std::string &aTypeName, std::string &aBaseName, std::string &aTemplateArg1, std::string &aTemplateArg2) |
Public Attributes | |
| NameMap | mNameMap |
| std::vector< UsType * > | mTypes |
| TemplateTypeMap | mTemplateTypes |
| UsType * | mMapBase |
| UsType * | mSetBase |
| UsType * | mArrayBase |
| std::vector< const UsFunction * > | mPrototypes |
| PrototypeMap | mPrototypeMap |
| StrMap | mStrings |
Static Public Attributes | |
| static const int | cPROTOTYPE_ID_START = 100000 |
| typedef std::map<const char*, int, wizard::UtilCStringCompare> UsTypeList::NameMap |
| typedef std::map<UsFunction, int> UsTypeList::PrototypeMap |
| typedef std::set<const char*, wizard::UtilCStringCompare> UsTypeList::StrMap |
| typedef std::pair<int, int> UsTypeList::TemplateArgs |
| typedef std::pair<int, TemplateArgs> UsTypeList::TemplateType |
| typedef std::map<TemplateType, UsType*> UsTypeList::TemplateTypeMap |
| UsTypeList::UsTypeList | ( | ) |
References mArrayBase, mMapBase, mSetBase, and mTypes.
| int UsTypeList::AddPrototype | ( | const UsFunction & | aPrototype | ) |
References cPROTOTYPE_ID_START, mPrototypeMap, and mPrototypes.
| void UsTypeList::AddType | ( | const std::string & | aTypeName, |
| UsType * | aType ) |
References GetString(), mNameMap, UsType::mTypeId, and mTypes.
| UsType * UsTypeList::FindType | ( | const std::string & | aTypeName | ) |
References FindType().
Referenced by FindType(), and FindTypeOrMakeTemplate().
| UsType * UsTypeList::FindTypeOrMakeTemplate | ( | const std::string & | aTypeName | ) |
References FindType(), FindTypeOrMakeTemplate(), GetType(), UsType::Id(), and WsfParseUtil::IsWhitespace().
Referenced by FindTypeOrMakeTemplate().
| std::string UsTypeList::GetFunctionPrototype | ( | const std::string & | aName, |
| const UsFunction & | aFunction ) |
| const UsFunction * UsTypeList::GetPrototype | ( | int | aId | ) |
References cPROTOTYPE_ID_START, and mPrototypes.
Referenced by wizard::WsfScriptLookup::GetScriptValDescription().
| const char * UsTypeList::GetString | ( | const char * | aString | ) |
| std::pair< UsType *, UsType * > UsTypeList::GetTemplateArgs | ( | TemplateArgs | aArgs | ) |
| UsType * UsTypeList::GetType | ( | int | aTypeId | ) |
References mTypes.
Referenced by FindTypeOrMakeTemplate(), wizard::WsfScriptLookup::GetScriptValDescription(), GetTemplateArgs(), GetType(), and GetTypeName().
| UsType * UsTypeList::GetType | ( | TemplateType | aTypeId | ) |
References GetString(), GetTemplateArgs(), GetType(), UsType::mName, mNameMap, UsType::mTemplateArgs, mTemplateTypes, UsType::mTypeId, mTypes, and UsType::Specialize().
| std::string UsTypeList::GetTypeName | ( | int | aTypeId | ) |
References GetType(), and UsType::mName.
Referenced by wizard::WsfScriptLookup::GetFunctionDescription(), GetFunctionPrototype(), and wizard::EditAssist_Script::SetScriptType().
|
static |
References WsfParseUtil::IsWhitespace(), and SplitTemplateType().
Referenced by wizard::WsfScriptTypes::FindTypeOrMakeTemplate(), SplitTemplateType(), and wizard::WsfScriptTypes::WsfScriptTypes().
| UsTypeList::UT_MEMORY_DEBUG_MARKER | ( | cMDB_UsTypeList | ) |
References cMDB_UsTypeList.
|
static |
| UsType* UsTypeList::mArrayBase |
Referenced by UsTypeList().
| UsType* UsTypeList::mMapBase |
Referenced by UsTypeList().
| NameMap UsTypeList::mNameMap |
Referenced by AddType(), FindType(), and GetType().
| PrototypeMap UsTypeList::mPrototypeMap |
Referenced by AddPrototype().
| std::vector<const UsFunction*> UsTypeList::mPrototypes |
Referenced by AddPrototype(), and GetPrototype().
| UsType* UsTypeList::mSetBase |
Referenced by UsTypeList().
| StrMap UsTypeList::mStrings |
Referenced by GetString(), and ~UsTypeList().
| TemplateTypeMap UsTypeList::mTemplateTypes |
Referenced by GetType().
| std::vector<UsType*> UsTypeList::mTypes |
Referenced by AddType(), FindType(), GetType(), GetType(), UsTypeList(), and ~UsTypeList().