|
WSF
|
InputContext contains functions that compute the 'context' from a position in the input file. More...
#include <InputContext.hpp>
Classes | |
| struct | Context |
Static Public Member Functions | |
| static void | ContextFromCursor (Editor *aEditControlPtr, size_t aCursorLine, size_t aCursorColumn, Context &aContext) |
| static void | GetContext (Editor *aEditControlPtr, const UtTextDocumentRange &aPosition, Context &aContext) |
| static void | GetInputContext (Editor *aEditControlPtr, WsfParseNode *aPreviousNode, size_t aInputPosition, UtTextRange &aRange) |
| static WsfParseNode * | FindBlockNode (WsfParseNode *aNodePtr) |
| static bool | CommandExtent (WsfParseNode *aNodePtr, WsfParseNode *&aCommandNodePtr) |
| static bool | CommandHasError (WsfParseNode *aCommandNodePtr) |
InputContext contains functions that compute the 'context' from a position in the input file.
|
static |
References WsfParseNode::cBLOCK_NODE, WsfParseNode::GetParent(), WsfParseNode::mFlags, and WsfParseNode::mType.
Referenced by GetContext().
|
static |
References WsfParseNode::cBLOCK_NODE, WsfParseNode::cERROR_INCOMPLETE, WsfParseNode::mFlags, and WsfParseNode::Next().
Referenced by GetContext().
|
static |
References GetContext(), wizard::Editor::GetSource(), wizard::TextSource::GetSource(), and pos.
Referenced by wizard::SyntaxTips::UpdateSuggestions().
|
static |
References WsfParseNode::cBLOCK_NODE, WsfParseNode::GetParent(), and WsfParseNode::mFlags.
Referenced by GetContext().
|
static |
References WsfParseNode::cBLOCK_NODE, WsfParseNode::cERROR_INCOMPLETE, CommandExtent(), CommandHasError(), WsfParseNode::FarLeft(), FindBlockNode(), wizard::ParseResults::FindLastParseNode(), WsfParseNode::GetFlags(), GetInputContext(), WsfParseNode::GetParent(), wizard::Project::GetParseResults(), wizard::Editor::GetProject(), wizard::Editor::GetSource(), wizard::TextSource::GetSource(), wizard::InputContext::Context::mBlockNodePtr, WsfParseNode::mFlags, wizard::InputContext::Context::mQueryTextRange, WsfParseNode::mType, WsfParseNode::mValue, WsfParseNode::Next(), pos, WsfParseNode::PreviousLeaf(), and WsfParseNode::SubtreeRange().
Referenced by ContextFromCursor().
|
static |
References begin(), wizard::Editor::GetSource(), wizard::TextSource::GetSource(), WsfParseNode::mValue, and WsfParseNode::PreviousLeaf().
Referenced by GetContext().