|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
One | name arg stage of a pipeline.
More...
#include <cpp/a11/flow/syntax.h>
Public Attributes | |
| std::string | name |
| vocabulary::StageArgument | takes = vocabulary::StageArgument::kNone |
| std::optional< TypeExpression > | type |
| double | number = 0.0 |
kNumber: a constant count, when the argument folds to an integer. | |
| long long | integer = 0 |
| bool | is_integer = false |
| std::string | text |
kString/kOptionalString: the text, with escapes resolved. | |
| NodePtr | argument |
kExpression/kOptionalExpression: the expression, with it bound. | |
| absl::Duration | duration |
kDuration: how long timeout waits, or pace spaces values out by. | |
| bool | descending = false |
kSortKey: whether desc was written. | |
| Constant | start |
kFold: the initial literal and carried name. | |
| Word | carried |
| bool | tolerant = false |
try map ...: tolerate an item's evaluation failure; context may retain the item. | |
| NodePtr | failures |
failures into ref: where a tolerated failure goes. | |
| int | parallel = 1 |
parallel n: maximum concurrent values; one is the default. | |
| NodePtr | parallel_expression |
| A nonliteral concurrency count, evaluated once when the stage starts. | |
| NodePtr | context_before |
context: surrounding item counts, evaluated once outside it. | |
| NodePtr | context_after |
| bool | context_numbered = false |
| NodePtr | context_base |
| bool | ordered = true |
Whether output preserves input order; unordered clears this flag. | |
| LogTail | log |
kLog/kLogFormat: what was written after the stage name. | |
Public Attributes inherited from a11::flow::syntax::Node | |
| NodeKind | kind = NodeKind::kError |
| Location | location |
| Location | extent |
| Full source extent and transparent grouping, for native edits. | |
| std::vector< Location > | groups |
Additional Inherited Members | |
Public Member Functions inherited from a11::flow::syntax::NodeOf< NodeKind::kStage > | |
| NodeOf () | |
Public Member Functions inherited from a11::flow::syntax::Node | |
| virtual | ~Node ()=default |
Static Public Attributes inherited from a11::flow::syntax::NodeOf< NodeKind::kStage > | |
| static constexpr NodeKind | kNodeKind |
One | name arg stage of a pipeline.
takes identifies its argument shape in the vocabulary table.
| NodePtr a11::flow::syntax::Stage::argument |
kExpression/kOptionalExpression: the expression, with it bound.
kSortKey: the by key, or null for the values themselves. kFold: the fold expression, with the carried name and it bound. kStream: the stream to read next. kNumber/kDuration: a scalar stage configuration, evaluated once per activation without it.
| Word a11::flow::syntax::Stage::carried |
| NodePtr a11::flow::syntax::Stage::context_after |
| NodePtr a11::flow::syntax::Stage::context_base |
| NodePtr a11::flow::syntax::Stage::context_before |
context: surrounding item counts, evaluated once outside it.
| bool a11::flow::syntax::Stage::context_numbered = false |
| bool a11::flow::syntax::Stage::descending = false |
kSortKey: whether desc was written.
| absl::Duration a11::flow::syntax::Stage::duration |
kDuration: how long timeout waits, or pace spaces values out by.
| NodePtr a11::flow::syntax::Stage::failures |
failures into ref: where a tolerated failure goes.
Null when the failures are only logged.
| long long a11::flow::syntax::Stage::integer = 0 |
| bool a11::flow::syntax::Stage::is_integer = false |
| LogTail a11::flow::syntax::Stage::log |
kLog/kLogFormat: what was written after the stage name.
The same shape the statement of the same name carries.
| std::string a11::flow::syntax::Stage::name |
| double a11::flow::syntax::Stage::number = 0.0 |
kNumber: a constant count, when the argument folds to an integer.
| bool a11::flow::syntax::Stage::ordered = true |
Whether output preserves input order; unordered clears this flag.
| int a11::flow::syntax::Stage::parallel = 1 |
parallel n: maximum concurrent values; one is the default.
| NodePtr a11::flow::syntax::Stage::parallel_expression |
A nonliteral concurrency count, evaluated once when the stage starts.
| Constant a11::flow::syntax::Stage::start |
kFold: the initial literal and carried name.
| vocabulary::StageArgument a11::flow::syntax::Stage::takes = vocabulary::StageArgument::kNone |
| std::string a11::flow::syntax::Stage::text |
kString/kOptionalString: the text, with escapes resolved.
| bool a11::flow::syntax::Stage::tolerant = false |
try map ...: tolerate an item's evaluation failure; context may retain the item.
Written before the stage name, as try run is before a call.
| std::optional<TypeExpression> a11::flow::syntax::Stage::type |