|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
The flows a file declares, and everything wrong with it. More...
#include <cpp/a11/flow/parser.h>
Public Member Functions | |
| bool | HasErrors () const |
| const Diagnostic *absl_nullable | FirstError () const |
The first error in source order, or nullptr. | |
Public Attributes | |
| std::vector< syntax::ModuleDeclaration > | modules |
| std::vector< syntax::ExportDeclaration > | exports |
| std::vector< syntax::Import > | imports |
| std::vector< syntax::FlowDeclarationPtr > | flows |
| std::vector< syntax::DtoDeclarationPtr > | dtos |
| Top-level shapes in declaration order. | |
| std::vector< Diagnostic > | diagnostics |
| std::vector< size_t > | value_braces |
| Sorted offsets of braces that open values, for formatter spacing. | |
| std::vector< size_t > | tagged_braces |
| Sorted subset of value braces that follow a type tag. | |
The flows a file declares, and everything wrong with it.
| const Diagnostic *absl_nullable a11::flow::ParseResult::FirstError | ( | ) | const |
The first error in source order, or nullptr.
This is what a strict caller turns into a refusal: flow.loads raises the Python FlowSyntaxError built from exactly this.
| bool a11::flow::ParseResult::HasErrors | ( | ) | const |
| std::vector<Diagnostic> a11::flow::ParseResult::diagnostics |
| std::vector<syntax::DtoDeclarationPtr> a11::flow::ParseResult::dtos |
Top-level shapes in declaration order.
| std::vector<syntax::ExportDeclaration> a11::flow::ParseResult::exports |
| std::vector<syntax::FlowDeclarationPtr> a11::flow::ParseResult::flows |
| std::vector<syntax::Import> a11::flow::ParseResult::imports |
| std::vector<syntax::ModuleDeclaration> a11::flow::ParseResult::modules |
| std::vector<size_t> a11::flow::ParseResult::tagged_braces |
Sorted subset of value braces that follow a type tag.
| std::vector<size_t> a11::flow::ParseResult::value_braces |
Sorted offsets of braces that open values, for formatter spacing.