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

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.
 

Detailed Description

One flow, resolved: its plan, its names, and what is wrong with it.

Member Data Documentation

◆ ambiguous

bool a11::flow::ResolvedFlow::ambiguous = false

◆ contracts

std::vector<FlowPlan> a11::flow::ResolvedFlow::contracts

◆ declaration

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.

◆ expressions

absl::flat_hash_map<const syntax::Node*, ExpressionInfo> a11::flow::ResolvedFlow::expressions

◆ graph

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].

◆ implementation

std::optional<FlowPlan> a11::flow::ResolvedFlow::implementation

◆ plan

FlowPlan a11::flow::ResolvedFlow::plan

◆ symbols

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.


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