|
WSF
|
#include <WsfParseType.hpp>
Public Types | |
| using | SymbolTable = std::map<UtStringRef, WsfParseType*> |
Public Member Functions | |
| const WsfParseType * | FindNestedSymbol (const WsfParseTypePath &aKey) const |
| WsfParseType * | FindNestedSymbol (const WsfParseTypePath &aKey) |
| WsfParseType (const UtStringRef &aName, WsfParseType *aParentPtr=nullptr) | |
| WsfParseType (const UtStringRef &aName, const WsfParseType &aRhs, WsfParseType *aContainerPtr) | |
| ~WsfParseType () | |
| void | Clear () |
| const UtStringRef & | GetTypeName () const |
| WsfParseType * | GetSourceType () const |
| void | SetSourceType (WsfParseType *aSourceTypePtr) |
| const WsfParseType * | GetEffectiveSourceType () const |
| WsfParseType * | GetContainer () const |
| void | SetContainer (WsfParseType *aContainerPtr) |
| void | Print (std::ostream &aStream, const std::string &aIndent) |
| const WsfParseType * | FindType (const WsfParseTypePath &aKey) const |
| WsfParseType * | FindType (const WsfParseTypePath &aKey) |
| const WsfParseType * | FindType (const UtStringRef &aKey) const |
| WsfParseType * | FindType (const UtStringRef &aKey) |
| const WsfParseType * | FindTypeLocal (const WsfParseTypePath &aKey) const |
| WsfParseType * | FindTypeLocal (const WsfParseTypePath &aKey) |
| WsfParseType * | FindTypeLocal (const UtStringRef &aKey) const |
| WsfParseType & | AddType (const WsfParseTypePath &aPath, WsfParseType *aTypePtr) |
| WsfParseType & | AddType (WsfParseType *aTypePtr) |
| bool | RemoveType (const UtStringRef &aKey) |
| bool | RemoveType (const WsfParseTypePath &aKey) |
| void | Merge (WsfParseType &aRhs) |
| void | SetRule (WsfParseRule *aReaderPtr) |
| WsfParseRule * | GetRule () const |
| bool | HasSymbols () const |
| const SymbolTable & | GetSymbols () const |
| SymbolTable::const_iterator | begin () const |
| SymbolTable::const_iterator | end () const |
| int | GetDepth () const |
| void | GetAncestry (std::vector< WsfParseType * > &aAncestry) |
| void | GetAncestry (std::vector< const WsfParseType * > &aAncestry) const |
| void | GetPath (WsfParseTypePath &aPath) const |
| using WsfParseType::SymbolTable = std::map<UtStringRef, WsfParseType*> |
|
inline |
References WsfParseType().
Referenced by AddType(), AddType(), FindNestedSymbol(), FindNestedSymbol(), FindType(), FindType(), FindType(), FindType(), FindTypeLocal(), FindTypeLocal(), FindTypeLocal(), GetContainer(), GetEffectiveSourceType(), GetSourceType(), Merge(), RemoveType(), SetContainer(), SetSourceType(), WsfParseType(), and WsfParseType().
| WsfParseType::WsfParseType | ( | const UtStringRef & | aName, |
| const WsfParseType & | aRhs, | ||
| WsfParseType * | aContainerPtr ) |
References WsfParseType().
| WsfParseType::~WsfParseType | ( | ) |
References Clear().
| WsfParseType & WsfParseType::AddType | ( | const WsfParseTypePath & | aPath, |
| WsfParseType * | aTypePtr ) |
References AddType(), and WsfParseType().
Referenced by AddType(), and WsfParseTypeLoadRule::Read().
| WsfParseType & WsfParseType::AddType | ( | WsfParseType * | aTypePtr | ) |
References Merge(), SetContainer(), and WsfParseType().
|
inline |
| void WsfParseType::Clear | ( | ) |
Referenced by Merge(), and ~WsfParseType().
|
inline |
|
inline |
References FindNestedSymbol(), and WsfParseType().
| const WsfParseType * WsfParseType::FindNestedSymbol | ( | const WsfParseTypePath & | aKey | ) | const |
|
inline |
References FindType(), and WsfParseType().
| const WsfParseType * WsfParseType::FindType | ( | const UtStringRef & | aKey | ) | const |
References FindType(), FindTypeLocal(), and WsfParseType().
|
inline |
References FindType(), and WsfParseType().
| const WsfParseType * WsfParseType::FindType | ( | const WsfParseTypePath & | aKey | ) | const |
| WsfParseType * WsfParseType::FindTypeLocal | ( | const UtStringRef & | aKey | ) | const |
References WsfParseType().
|
inline |
References WsfParseType().
| const WsfParseType * WsfParseType::FindTypeLocal | ( | const WsfParseTypePath & | aKey | ) | const |
References FindTypeLocal(), and WsfParseType().
Referenced by wizard::WsfScriptContainer::FindNearestAncestor(), FindNestedSymbol(), FindType(), FindType(), FindTypeLocal(), GetEffectiveSourceType(), and WsfParseTypeLoadRule::Read().
| void WsfParseType::GetAncestry | ( | std::vector< const WsfParseType * > & | aAncestry | ) | const |
| void WsfParseType::GetAncestry | ( | std::vector< WsfParseType * > & | aAncestry | ) |
Referenced by wizard::AutoComplete::ExpandRefType(), and wizard::ParseResults::FindCreateTypeNode().
|
inline |
References WsfParseType().
Referenced by wizard::ParseResults::FindCreateTypeNode(), FindNestedSymbol(), and GetEffectiveSourceType().
|
inline |
| const WsfParseType * WsfParseType::GetEffectiveSourceType | ( | ) | const |
References FindTypeLocal(), GetContainer(), GetSourceType(), GetTypeName(), and WsfParseType().
Referenced by wizard::WsfScriptContainer::FindNearestAncestor(), and wizard::WsfScriptContainer::GetChildContainer().
| void WsfParseType::GetPath | ( | WsfParseTypePath & | aPath | ) | const |
|
inline |
|
inline |
References WsfParseType().
Referenced by GetEffectiveSourceType().
|
inline |
Referenced by WsfPProxyRegistry::BuildBasicRootFromBasicTypes().
|
inline |
Referenced by GetEffectiveSourceType().
|
inline |
Referenced by WsfPProxyRegistry::BuildBasicRootFromBasicTypes(), and WsfParseTypeLoadRule::Read().
| void WsfParseType::Merge | ( | WsfParseType & | aRhs | ) |
References Clear(), SetContainer(), and WsfParseType().
Referenced by AddType().
| void WsfParseType::Print | ( | std::ostream & | aStream, |
| const std::string & | aIndent ) |
References WsfParseRule::GetBestContext(), and WsfParseNamedRule::GetFullName().
| bool WsfParseType::RemoveType | ( | const UtStringRef & | aKey | ) |
Referenced by WsfParseTypeLoadRule::Read().
| bool WsfParseType::RemoveType | ( | const WsfParseTypePath & | aKey | ) |
References tbl, and WsfParseType().
|
inline |
References WsfParseType().
|
inline |
|
inline |
References WsfParseType().
Referenced by WsfParseTypeLoadRule::Read().