![]() |
undoStudio
The IDE of the undoRT ecosystem
|
How a typed pattern lines up with a candidate name. More...
#include <undoAppSTSemantic.hpp>

Public Attributes | |
| bool | matched = false |
| Pattern occurs in order inside the name. | |
| int | score = 0 |
| Higher is better; only meaningful if matched. | |
| std::vector< int > | positions |
| Matched indices into the name, ascending. | |
How a typed pattern lines up with a candidate name.
The positions are what the list highlights, so a fuzzy hit shows the user why it matched instead of just claiming it did.
| bool undoApp::ST::NameMatch::matched = false |
Pattern occurs in order inside the name.
| std::vector<int> undoApp::ST::NameMatch::positions |
Matched indices into the name, ascending.
| int undoApp::ST::NameMatch::score = 0 |
Higher is better; only meaningful if matched.