|
WSF
|
#include <AutoComplete.hpp>

Public Types | |
| enum | EntryType { cNONE , cUNEXPANDED , cWORD , cSEQUENCE , cALTERNATE , cTYPE_CHANGE } |
| enum | Flags { cNAMED_WORD = 1 , cTYPE_REF_WORD = 2 , cBLOCK_PLACEHOLDER = 4 } |
Public Member Functions | |
| Entry () | |
| Entry (const std::string &aText, bool aWordIsPattern) | |
| Entry (const Entry &aRhs) | |
| Entry & | operator= (const Entry &)=default |
| ~Entry () | |
| void | Set (const std::string &aText) |
| void | SetTypeRef (const WsfParseTypePath &aRefType, bool aIsNestedLookup) |
| void | SetNameRef (const std::string &aRefType) |
| int | GetWordCount () const |
Public Attributes | |
| EntryType | mEntryType |
| std::string | mWordText |
| WsfParseRule * | mReaderPtr |
| WsfParseSequence * | mParentCommandPtr |
| const WsfParseType * | mCurrentTypeChangePtr |
| size_t | mCommandWordIndex |
| std::vector< Entry * > | mChildren |
| int | mFlags |
| bool | mComplete |
| bool | mWordIsPattern |
| int | mWordCount |
| WsfParseTypePath | mRefType |
| bool | mNestedLookup |
| std::string | mRuleName |
| wizard::AutoComplete::Entry::Entry | ( | ) |
References cNONE, mCommandWordIndex, mComplete, mCurrentTypeChangePtr, mEntryType, mFlags, mNestedLookup, mParentCommandPtr, mReaderPtr, mWordCount, and mWordIsPattern.
Referenced by Entry(), and operator=().
| wizard::AutoComplete::Entry::Entry | ( | const std::string & | aText, |
| bool | aWordIsPattern = false ) |
References mCommandWordIndex, mCurrentTypeChangePtr, mFlags, mNestedLookup, mParentCommandPtr, mReaderPtr, mWordCount, mWordIsPattern, and Set().
| wizard::AutoComplete::Entry::Entry | ( | const Entry & | aRhs | ) |
References Entry(), mChildren, mCommandWordIndex, mComplete, mCurrentTypeChangePtr, mEntryType, mFlags, mNestedLookup, mParentCommandPtr, mReaderPtr, mRefType, mRuleName, mWordCount, mWordIsPattern, and mWordText.
| wizard::AutoComplete::Entry::~Entry | ( | ) |
References mChildren.
| int wizard::AutoComplete::Entry::GetWordCount | ( | ) | const |
References cALTERNATE, cSEQUENCE, cUNEXPANDED, cWORD, mChildren, mComplete, mEntryType, and mWordCount.
Referenced by wizard::AutoComplete::ExpandTree().
| void wizard::AutoComplete::Entry::Set | ( | const std::string & | aText | ) |
References cWORD, mComplete, mEntryType, mWordCount, and mWordText.
Referenced by Entry(), wizard::AutoComplete::ExpandRefType(), and wizard::AutoComplete::ExpandRule().
| void wizard::AutoComplete::Entry::SetNameRef | ( | const std::string & | aRefType | ) |
References cNAMED_WORD, cUNEXPANDED, mComplete, mEntryType, mFlags, mNestedLookup, mRefType, and mWordCount.
Referenced by wizard::AutoComplete::ExpandRule().
| void wizard::AutoComplete::Entry::SetTypeRef | ( | const WsfParseTypePath & | aRefType, |
| bool | aIsNestedLookup ) |
References cTYPE_REF_WORD, cUNEXPANDED, mComplete, mEntryType, mFlags, mNestedLookup, mRefType, and mWordCount.
Referenced by wizard::AutoComplete::ExpandRule().
| std::vector<Entry*> wizard::AutoComplete::Entry::mChildren |
Referenced by wizard::AutoComplete::CollectSuggestions(), wizard::AutoComplete::CollectSyntax(), wizard::AutoComplete::CountSuggestions(), Entry(), wizard::AutoComplete::ExpandRefType(), wizard::AutoComplete::ExpandRule(), wizard::AutoComplete::ExpandTree(), wizard::AutoComplete::GetSuggestions(), wizard::AutoComplete::GetSyntax(), GetWordCount(), wizard::AutoComplete::Prune(), and ~Entry().
| size_t wizard::AutoComplete::Entry::mCommandWordIndex |
Referenced by Entry(), Entry(), Entry(), wizard::AutoComplete::ExpandRule(), and wizard::AutoComplete::FindSuggestionTerminator().
| bool wizard::AutoComplete::Entry::mComplete |
Referenced by Entry(), Entry(), wizard::AutoComplete::ExpandRule(), wizard::AutoComplete::ExpandTree(), GetWordCount(), Set(), SetNameRef(), and SetTypeRef().
| const WsfParseType* wizard::AutoComplete::Entry::mCurrentTypeChangePtr |
Referenced by Entry(), Entry(), Entry(), wizard::AutoComplete::ExpandRule(), and wizard::AutoComplete::ExpandTree().
| EntryType wizard::AutoComplete::Entry::mEntryType |
Referenced by wizard::AutoComplete::CollectSuggestions(), wizard::AutoComplete::CollectSyntax(), wizard::AutoComplete::CountSuggestions(), Entry(), Entry(), wizard::AutoComplete::ExpandRefType(), wizard::AutoComplete::ExpandRule(), wizard::AutoComplete::ExpandTree(), wizard::AutoComplete::GetSuggestions(), wizard::AutoComplete::GetSyntax(), GetWordCount(), wizard::AutoComplete::Prune(), Set(), SetNameRef(), and SetTypeRef().
| int wizard::AutoComplete::Entry::mFlags |
| bool wizard::AutoComplete::Entry::mNestedLookup |
Referenced by Entry(), Entry(), Entry(), wizard::AutoComplete::ExpandRefType(), SetNameRef(), and SetTypeRef().
| WsfParseSequence* wizard::AutoComplete::Entry::mParentCommandPtr |
Referenced by Entry(), Entry(), Entry(), wizard::AutoComplete::ExpandRule(), and wizard::AutoComplete::FindSuggestionTerminator().
| WsfParseRule* wizard::AutoComplete::Entry::mReaderPtr |
| WsfParseTypePath wizard::AutoComplete::Entry::mRefType |
| std::string wizard::AutoComplete::Entry::mRuleName |
Referenced by wizard::AutoComplete::CollectSyntax(), Entry(), and wizard::AutoComplete::ExpandRule().
| int wizard::AutoComplete::Entry::mWordCount |
Referenced by Entry(), Entry(), Entry(), wizard::AutoComplete::ExpandRule(), wizard::AutoComplete::ExpandTree(), GetWordCount(), Set(), SetNameRef(), and SetTypeRef().
| bool wizard::AutoComplete::Entry::mWordIsPattern |
| std::string wizard::AutoComplete::Entry::mWordText |