|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
Flow problem rendered by the CLI, JSON and SARIF writers, and editors. More...
#include <cpp/a11/flow/diagnostic.h>
Public Attributes | |
| std::string | source |
| std::string | code |
| A stable dotted identifier, e.g. | |
| Severity | severity = Severity::kError |
| Family | family = Family::kSyntax |
| Range | range |
| std::string | message |
| One sentence, in the language's own terms, ending in a full stop. | |
| std::string | flow |
| Enclosing flow name when parsing or resolution identifies one. | |
| std::vector< Fix > | fixes |
| std::vector< RelatedDiagnostic > | related |
Flow problem rendered by the CLI, JSON and SARIF writers, and editors.
Native analysis owns the message and any source edits.
| std::string a11::flow::Diagnostic::code |
A stable dotted identifier, e.g.
flow.stage.unknown. Part of the contract: a toolchain may match on it, and it does not change with the wording of the message. See [KnownCodes].
| Family a11::flow::Diagnostic::family = Family::kSyntax |
| std::vector<Fix> a11::flow::Diagnostic::fixes |
| std::string a11::flow::Diagnostic::flow |
Enclosing flow name when parsing or resolution identifies one.
| std::string a11::flow::Diagnostic::message |
One sentence, in the language's own terms, ending in a full stop.
| Range a11::flow::Diagnostic::range |
| std::vector<RelatedDiagnostic> a11::flow::Diagnostic::related |
| Severity a11::flow::Diagnostic::severity = Severity::kError |
| std::string a11::flow::Diagnostic::source |