![]() |
undoStudio
The IDE of the undoRT ecosystem
|
One entry of a completion list. More...
#include <undoAppSTSemantic.hpp>

Public Types | |
| enum class | Kind { Parameter , State , Method , Constant , Function , Block , Type , Enumerator } |
| What kind of thing this is, which is also what its colour means. More... | |
Public Member Functions | |
| bool | matches (const std::string &prefix) const |
| True when the pattern occurs in this name, fuzzily and case-insensitively. | |
Public Attributes | |
| std::string | name |
| Identifier as spelled in the source. | |
| std::string | typeText |
| Declared type, or the return type of a method. | |
| Kind | kind = Kind::State |
| bool | isConstant = false |
| bool | isRetain = false |
| bool | isAbstract = false |
| bool | isOverride = false |
| bool | inherited = false |
| Declared by a base block, not by this one. | |
| std::string | declaredIn |
| Base block name, set when inherited. | |
| std::vector< std::string > | parameterTypes |
| Method parameter types, for display. | |
| std::vector< std::string > | parameterNames |
| Method parameter names, for signature help. | |
| std::vector< std::string > | parameterDirs |
| "IN", "OUT" or "IN_OUT", empty when unknown | |
| std::string | note |
| Short remark after the name, such as "given". | |
| std::vector< int > | matchPositions |
Indices of name that the last matches call matched, for highlighting. | |
One entry of a completion list.
The same struct carries both kinds of completion: the members reachable through a '.' on a function block instance, and the plain names visible from where the caret is. They are shown in the same list, filtered and ranked the same way, so they share a type; only the set of Kind values is wider than a member needs.
|
strong |
What kind of thing this is, which is also what its colour means.
| bool undoApp::ST::Suggestion::matches | ( | const std::string & | prefix | ) | const |
True when the pattern occurs in this name, fuzzily and case-insensitively.
| std::string undoApp::ST::Suggestion::declaredIn |
Base block name, set when inherited.
| bool undoApp::ST::Suggestion::inherited = false |
Declared by a base block, not by this one.
| bool undoApp::ST::Suggestion::isAbstract = false |
| bool undoApp::ST::Suggestion::isConstant = false |
| bool undoApp::ST::Suggestion::isOverride = false |
| bool undoApp::ST::Suggestion::isRetain = false |
| Kind undoApp::ST::Suggestion::kind = Kind::State |
| std::vector<int> undoApp::ST::Suggestion::matchPositions |
Indices of name that the last matches call matched, for highlighting.
| std::string undoApp::ST::Suggestion::name |
Identifier as spelled in the source.
| std::string undoApp::ST::Suggestion::note |
Short remark after the name, such as "given".
| std::vector<std::string> undoApp::ST::Suggestion::parameterDirs |
"IN", "OUT" or "IN_OUT", empty when unknown
| std::vector<std::string> undoApp::ST::Suggestion::parameterNames |
Method parameter names, for signature help.
| std::vector<std::string> undoApp::ST::Suggestion::parameterTypes |
Method parameter types, for display.
| std::string undoApp::ST::Suggestion::typeText |
Declared type, or the return type of a method.