![]() |
undoStudio
The IDE of the undoRT ecosystem
|
One declaration that a usage can be navigated back to. More...
#include <undoAppSTSemantic.hpp>

Public Attributes | |
| int | line = 0 |
| Line of the declared name. | |
| int | col = 0 |
| Column of the first character of the name. | |
| std::string | name |
| Identifier as spelled in the source. | |
| int | ownerLine = 0 |
| For a METHOD parameter: the line of its METHOD. | |
| std::string | scope |
| Empty for POU level, else the owning METHOD name. | |
| SymCategory | category = SymCategory::Unresolved |
| std::string | typeText |
| Declared or return type, when known. | |
| std::string | kindText |
| "VAR", "METHOD", "FUNCTION_BLOCK", ... for display | |
One declaration that a usage can be navigated back to.
Positions use the same coordinates as SemanticToken: 1-based lines in the generated file, 0-based columns.
| SymCategory undoApp::ST::Declaration::category = SymCategory::Unresolved |
| int undoApp::ST::Declaration::col = 0 |
Column of the first character of the name.
| std::string undoApp::ST::Declaration::kindText |
"VAR", "METHOD", "FUNCTION_BLOCK", ... for display
| int undoApp::ST::Declaration::line = 0 |
Line of the declared name.
| std::string undoApp::ST::Declaration::name |
Identifier as spelled in the source.
| int undoApp::ST::Declaration::ownerLine = 0 |
For a METHOD parameter: the line of its METHOD.
| std::string undoApp::ST::Declaration::scope |
Empty for POU level, else the owning METHOD name.
| std::string undoApp::ST::Declaration::typeText |
Declared or return type, when known.