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

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

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

◆ 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: