|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
Classes | |
| struct | Analysis |
| Reader and writer counts for the references owned by a body. More... | |
| struct | Body |
| A block of steps: a flow's top level, or a loop or branch body. More... | |
| struct | Expr |
| A resolved expression and its stream dependencies. More... | |
| struct | FlowGraph |
| The executable graph of one flow. More... | |
| class | GraphBuilder |
| Appends to a [FlowGraph] while the resolver walks a flow. More... | |
| struct | LogTail |
Resolved log or logf arguments for a statement or stage. More... | |
| struct | Ref |
| One plan stream. More... | |
| struct | Stage |
A resolved pipeline stage. kAt extracts a field from each stream value. More... | |
| struct | Step |
| One resolved statement. More... | |
| struct | TransferJoin |
| Sparse joins retain observable owned-call and expression cleanup boundaries. More... | |
| struct | TransferPlan |
| Extra transfer metadata is absent on ordinary single-arrow statements. More... | |
Typedefs | |
| using | RefId = size_t |
| Graph IDs are indices into the owning graph's vectors. | |
| using | StepId = size_t |
| using | BodyId = size_t |
| using | ExprId = size_t |
Enumerations | |
| enum class | RefKind { kSink , kFlowPort , kCallPort , kNode , kNodeId , kCallId , kStatus , kHeader , kExpr , kDerived , kZip , kMerge , kWinner , kBound } |
| What a stream in the plan is. More... | |
| enum class | StepKind { kCall , kPipe , kSkip , kWait , kClose , kCancel , kAbort , kFail , kLog , kCapture , kForEach , kRepeat , kIf , kBlock } |
| What a statement became. More... | |
Functions | |
| std::string_view | StepKindName (StepKind kind) |
| Analysis | Analyse (const FlowGraph &flow, BodyId body) |
| Work out who reads and writes what in one body. | |
| bool | RecordsOutcome (StepKind kind) |
| Whether a step records its own outcome for a bound name. | |
| absl::Span< const RefId > | TransferSources (const Step &step) |
| absl::Span< const RefId > | TransferTargets (const Step &step) |
Variables | |
| constexpr size_t | kNone = static_cast<size_t>(-1) |
| Sentinel for an absent graph ID. | |
| using a11::flow::graph::BodyId = typedef size_t |
| using a11::flow::graph::ExprId = typedef size_t |
| using a11::flow::graph::RefId = typedef size_t |
Graph IDs are indices into the owning graph's vectors.
| using a11::flow::graph::StepId = typedef size_t |
|
strong |
What a stream in the plan is.
|
strong |
What a statement became.
Work out who reads and writes what in one body.
|
inline |
Whether a step records its own outcome for a bound name.
| std::string_view a11::flow::graph::StepKindName | ( | StepKind | kind | ) |
|
inlineconstexpr |
Sentinel for an absent graph ID.