A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::flow::CodeInfo Struct Reference

What a diagnostic code means, for documentation and for a11 flow codes. More...

#include <cpp/a11/flow/diagnostic.h>

Public Attributes

std::string_view code
 
Family family
 
Severity severity
 
std::string_view summary
 One line, in the imperative-free "what is wrong" voice: this is what a --help-style listing shows next to the code.
 

Detailed Description

What a diagnostic code means, for documentation and for a11 flow codes.

The table of these is the published list of things the language checks; a new check adds an entry, and the test in cpp/tests/flow_diagnostic_test.cc holds it to being complete, sorted and free of duplicates.

Member Data Documentation

◆ code

std::string_view a11::flow::CodeInfo::code

◆ family

Family a11::flow::CodeInfo::family

◆ severity

Severity a11::flow::CodeInfo::severity

◆ summary

std::string_view a11::flow::CodeInfo::summary

One line, in the imperative-free "what is wrong" voice: this is what a --help-style listing shows next to the code.


The documentation for this struct was generated from the following file: