|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
#include <string_view>#include <vector>#include <absl/base/nullability.h>#include <absl/status/statusor.h>#include <absl/types/span.h>#include "a11/flow/diagnostic.h"#include "a11/flow/limits.h"#include "a11/flow/syntax.h"Go to the source code of this file.
Classes | |
| struct | a11::flow::ParseResult |
| The flows a file declares, and everything wrong with it. More... | |
Namespaces | |
| namespace | a11 |
| namespace | a11::flow |
Functions | |
| ParseResult | a11::flow::Parse (std::string_view source, CompilationLimits limits={}, CompilationBudget *absl_nullable budget=nullptr) |
| Parses Flow source into a recoverable tree and diagnostics. | |
| absl::StatusOr< syntax::TypeExpression > | a11::flow::ParseTypeExpression (std::string_view source, CompilationLimits limits={}, CompilationBudget *absl_nullable budget=nullptr) |
| Parse a standalone type with the same grammar and limits as a declaration. | |
| ParseResult | a11::flow::ParseTokens (std::string_view source, absl::Span< const Token > tokens, std::vector< Diagnostic > diagnostics, CompilationLimits limits={}, CompilationBudget *absl_nullable budget=nullptr) |
| Parse an already-lexed stream, sharing the lex diagnostics. | |