Envision
A visual programming IDE for object-oriented languages
List of all members | Public Types | Static Public Member Functions | Static Private Member Functions
Model::NameResolver Class Reference

Public Types

using IsSuggestable = std::function< bool(Node::SymbolTypes)>
 

Static Public Member Functions

static QList< QPair< QString, Node * > > findAllMatches (const SymbolMatcher &matcher, QString nameSoFar, Node *root, IsSuggestable suggestable)
 
static QList< QPair< QString, Node * > > mostLikelyMatches (const QString &nodeName, int matchLimit, Node *root=nullptr, IsSuggestable suggestable=isSuggestable)
 

Static Private Member Functions

static bool isSuggestable (Node::SymbolTypes symbolType)
 

Member Typedef Documentation

◆ IsSuggestable

Member Function Documentation

◆ findAllMatches()

QList< QPair< QString, Node * > > Model::NameResolver::findAllMatches ( const SymbolMatcher matcher,
QString  nameSoFar,
Node root,
IsSuggestable  suggestable 
)
static

◆ isSuggestable()

bool Model::NameResolver::isSuggestable ( Node::SymbolTypes  symbolType)
staticprivate

◆ mostLikelyMatches()

QList< QPair< QString, Node * > > Model::NameResolver::mostLikelyMatches ( const QString &  nodeName,
int  matchLimit,
Node root = nullptr,
IsSuggestable  suggestable = isSuggestable 
)
static