|
WSF
|
#include <UsSymbolTable.hpp>

Public Types | |
| enum | Flags { cCONSTRUCTIBLE = 1 , cCLONEABLE = 2 , cCONTAINER = 4 , cLESS_THAN_COMPARABLE = 8 , cEQUALITY_COMPARABLE = 16 } |
| typedef std::multimap< const char *, UsFunction, wizard::UtilCStringCompare > | MethodMap |
| using | VarMap = std::map<std::string, UsType*> |
Public Member Functions | |
| UsType (UsTypeList *aTypes) | |
| UsType * | Specialize (std::pair< UsType *, UsType * > aTemplateArgs) const |
| void | ReSpecialize (UsType *aTemplateBase) |
| int | Id () const |
| bool | IsImplicitlyCastable (int aTypeId) const |
| bool | IsExplicitlyCastable (int aTypeId) const |
| bool | IsBaseType (int aTypeId) const |
| bool | HasStaticMethod (const char *aName) |
| UsFunction * | FindMethod (const char *aName, std::vector< int > &aArgTypes) |
| void | AddInheritedType (int aTypeId) |
| void | AddImplicitCastType (int aTypeId) |
| void | AddExplicitCastType (int aTypeId) |
| bool | HasMethod (const char *aName, const UsFunction &aFunc) const |
Public Attributes | |
| UsTypeList * | mTypeList |
| int | mTypeId |
| int | mFlags |
| std::string | mName |
| std::pair< UsType *, UsType * > | mTemplateArgs |
| MethodMap | mMethods |
| std::vector< int > | mInheritedTypes |
| std::vector< int > | mImplicitCastTypes |
| std::vector< int > | mExplicitCastTypes |
| VarMap | mVariables |
| typedef std::multimap<const char*, UsFunction, wizard::UtilCStringCompare> UsType::MethodMap |
| using UsType::VarMap = std::map<std::string, UsType*> |
| enum UsType::Flags |
|
inlineexplicit |
References mFlags, mTypeId, and mTypeList.
Referenced by FindMethod(), ReSpecialize(), and Specialize().
|
inline |
References mExplicitCastTypes.
|
inline |
References mImplicitCastTypes.
|
inline |
References mInheritedTypes, and mTypeId.
| UsFunction * UsType::FindMethod | ( | const char * | aName, |
| std::vector< int > & | aArgTypes ) |
References UsFunction::cVARARGS, IsBaseType(), IsImplicitlyCastable(), UsFunction::mArgs, UsFunction::mFlags, mMethods, mTypeList, ok, DynamicArray< T, ARRAY_SIZE, GROW_SIZE >::size(), and UsType().
Referenced by Us::UsCtx::Call().
| bool UsType::HasMethod | ( | const char * | aName, |
| const UsFunction & | aFunc ) const |
References mMethods.
Referenced by wizard::WsfScriptTypes::CopyInheritedMethods().
| bool UsType::HasStaticMethod | ( | const char * | aName | ) |
References UsFunction::cSTATIC, UsFunction::mFlags, and mMethods.
Referenced by Us::UsCtx::GetAttribute().
|
inline |
References mTypeId.
Referenced by Us::UsCtx::AddAppVariable(), Us::UsCtx::AddEntry(), Us::UsCtx::AddParam(), Us::UsCtx::ExplicitCast(), UsTypeList::FindTypeOrMakeTemplate(), Us::UsCtx::ImplicitCast(), wizard::WsfScriptTypes::InitType(), Us::UsCtx::RealizeContainer(), Us::UsCtx::SetRType(), and Us::UsCtx::VarDecl().
| bool UsType::IsBaseType | ( | int | aTypeId | ) | const |
References mInheritedTypes.
Referenced by Us::UsCtx::ExplicitCast(), FindMethod(), and Us::UsCtx::ImplicitCast().
| bool UsType::IsExplicitlyCastable | ( | int | aTypeId | ) | const |
References mExplicitCastTypes.
Referenced by Us::UsCtx::ExplicitCast().
| bool UsType::IsImplicitlyCastable | ( | int | aTypeId | ) | const |
References mImplicitCastTypes.
Referenced by Us::UsCtx::ExplicitCast(), FindMethod(), and Us::UsCtx::ImplicitCast().
| void UsType::ReSpecialize | ( | UsType * | aTemplateBase | ) |
References mMethods, mTemplateArgs, mTypeId, and UsType().
Referenced by wizard::WsfScriptTypes::WsfScriptTypes().
References mName, mTypeId, mTypeList, and UsType().
Referenced by UsTypeList::GetType().
| std::vector<int> UsType::mExplicitCastTypes |
Referenced by AddExplicitCastType(), and IsExplicitlyCastable().
| int UsType::mFlags |
Referenced by Us::UsCtx::Ctor(), Us::UsCtx::RealizeContainer(), and UsType().
| std::vector<int> UsType::mImplicitCastTypes |
Referenced by AddImplicitCastType(), IsImplicitlyCastable(), and wizard::WsfScriptTypes::WsfScriptTypes().
| std::vector<int> UsType::mInheritedTypes |
| MethodMap UsType::mMethods |
Referenced by wizard::WsfScriptLookup::AddMethodSymbols(), wizard::WsfScriptLookup::AddSymbolsFromType(), wizard::WsfScriptTypes::CopyInheritedMethods(), FindMethod(), Us::UsCtx::GetAttribute(), Us::UsCtx::GetClassMethod(), wizard::WsfScriptLookup::GetCurrentCallInfo(), wizard::WsfScriptLookup::GetScriptValDescription(), HasMethod(), wizard::WsfScriptLookup::HasMethodSymbols(), HasStaticMethod(), ReSpecialize(), and wizard::WsfScriptTypes::WsfScriptTypes().
| std::string UsType::mName |
Referenced by Us::UsCtx::ExpectedType(), wizard::WsfScriptData::FindScriptTypeDocumentation(), wizard::WsfScriptLookup::GetScriptValDescription(), UsTypeList::GetType(), UsTypeList::GetTypeName(), Us::UsCtx::ImplicitCast(), wizard::EditAssist_Script::SetScriptType(), Specialize(), and wizard::WsfScriptTypes::WsfScriptTypes().
| int UsType::mTypeId |
| UsTypeList* UsType::mTypeList |
Referenced by FindMethod(), Specialize(), and UsType().
| VarMap UsType::mVariables |
Referenced by Us::UsCtx::GetClassVariable().