|
WSF
|
#include <WsfParseIndex.hpp>

Public Member Functions | |
| WsfParseIndex (WsfParseDefinitions *aDefinitionsPtr) | |
| ~WsfParseIndex () | |
| void | AddFilePath (const std::string &aPath) |
| void | DefinePathVariable (const std::string &aVariableName, const std::string &aValue) |
| void | UndefinePathVariable (const std::string &aVariableName) |
| void | ResetFilePath () |
| void | Clear () |
| std::string | SubstitutePathVariables (const std::string &aString) const |
| bool | HasInclude (const std::string &aFullPath) const |
| Returns 'true' if aFullPath has already been included. | |
| size_t | AddInclude (const UtStringRef &aFullPath) |
| Add an included file. | |
| const std::vector< UtStringRef > & | GetIncludePath () const |
| const std::map< UtStringRef, size_t > & | GetIncludes () const |
| void | SetParseVariable (const std::string &aName, const UtTextDocumentRange &aValue) |
| const UtTextDocumentRange & | GetParseVariable (const std::string &aName) |
| void | ClearParseVariable (const std::string &aName) |
| void | LoadCurrentType (WsfParseType *aCurrentType) |
| void | UnloadCurrentType () |
| WsfParseType * | GetCurrentType () |
| int | GenerateName () |
Public Attributes | |
| WsfParseType | mUserTypes |
WsfParseIndex stores a minimal set of information required to continue parsing a wsf core file. Prior to parsing, this should be empty.
Warning: Future code may utilize a hash of this data to do partial re-parsing. Try not to do anything which would prevent that.
| WsfParseIndex::WsfParseIndex | ( | WsfParseDefinitions * | aDefinitionsPtr | ) |
References mUserTypes.
| WsfParseIndex::~WsfParseIndex | ( | ) |
| void WsfParseIndex::AddFilePath | ( | const std::string & | aPath | ) |
References SubstitutePathVariables().
|
inline |
Add an included file.
| void WsfParseIndex::Clear | ( | ) |
References mUserTypes, and ResetFilePath().
|
inline |
| void WsfParseIndex::DefinePathVariable | ( | const std::string & | aVariableName, |
| const std::string & | aValue ) |
|
inline |
Referenced by WsfParseTypeLoadRule::GenerateName().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Returns 'true' if aFullPath has already been included.
|
inline |
Referenced by WsfParseTypeLoadRule::Read().
| void WsfParseIndex::ResetFilePath | ( | ) |
Referenced by Clear().
|
inline |
| std::string WsfParseIndex::SubstitutePathVariables | ( | const std::string & | aString | ) | const |
Referenced by AddFilePath(), and WsfParseQuotedStringRule::SetFileReference().
| void WsfParseIndex::UndefinePathVariable | ( | const std::string & | aVariableName | ) |
|
inline |
Referenced by WsfParseTypeLoadRule::Resolve(), and WsfParseTypeLoadRule::Undo().
| WsfParseType WsfParseIndex::mUserTypes |
Referenced by Clear(), WsfParseTypeLoadRule::FindLoadType(), WsfParseTypeLoadRule::Read(), and WsfParseIndex().