|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
One flow, resolved: its plan, its names, and what is wrong with it. More...
#include <cpp/a11/flow/resolve.h>
Public Attributes | |
| FlowPlan | plan |
| std::optional< FlowPlan > | implementation |
| std::vector< FlowPlan > | contracts |
| bool | ambiguous = false |
| graph::FlowGraph | graph |
| The executable graph, when [Resolve] was asked for one. | |
| std::vector< Symbol > | symbols |
| Every symbol the flow bound, in the order it bound them. | |
| absl::flat_hash_map< const syntax::Node *, ExpressionInfo > | expressions |
| const syntax::FlowDeclaration *absl_nullable | declaration = nullptr |
| The declaration this came from, borrowed. | |
One flow, resolved: its plan, its names, and what is wrong with it.
| bool a11::flow::ResolvedFlow::ambiguous = false |
| std::vector<FlowPlan> a11::flow::ResolvedFlow::contracts |
| const syntax::FlowDeclaration* absl_nullable a11::flow::ResolvedFlow::declaration = nullptr |
The declaration this came from, borrowed.
Valid as long as the parse result it belongs to is.
| absl::flat_hash_map<const syntax::Node*, ExpressionInfo> a11::flow::ResolvedFlow::expressions |
| graph::FlowGraph a11::flow::ResolvedFlow::graph |
The executable graph, when [Resolve] was asked for one.
Empty otherwise – root is [graph::kNone] and nothing else is filled in.
Borrows the syntax tree, like every graph: it is only valid while the [ParseResult] it was resolved from lives. See [graph::FlowGraph].
| std::optional<FlowPlan> a11::flow::ResolvedFlow::implementation |
| FlowPlan a11::flow::ResolvedFlow::plan |
| std::vector<Symbol> a11::flow::ResolvedFlow::symbols |
Every symbol the flow bound, in the order it bound them.
Not a scope tree: scopes matter while resolving and what an inspector wants afterwards is the list, with the counts on it.