|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
Where an entry was declared, for an entry that was found by reading source. More...
#include <cpp/a11/flow/catalogue.h>
Public Attributes | |
| std::string | file |
| The path as the host gave it to the scanner: absolute if the root was, relative if it was. | |
| int | line = 1 |
| int | column = 1 |
Friends | |
| bool | operator== (const Origin &, const Origin &)=default |
Where an entry was declared, for an entry that was found by reading source.
Absent for everything that arrived from a live registry or from the embedded snapshot: a registry knows what it holds and not where the text that put it there was written. Present for what discover::Discover read out of a project, which is what lets "go to symbol" leave the flow and land on the ActionSchema itself.
1-based line and column, the convention every other position in these formats uses.
| int a11::flow::catalogue::Origin::column = 1 |
| std::string a11::flow::catalogue::Origin::file |
The path as the host gave it to the scanner: absolute if the root was, relative if it was.
Passed through rather than normalised, because the host has to open the answer in the terms it asked in.
| int a11::flow::catalogue::Origin::line = 1 |