|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
[try] { ... } – a block of statements that runs as one thing.
More...
#include <cpp/a11/flow/syntax.h>
Public Attributes | |
| bool | tolerant = false |
| std::vector< NodePtr > | body |
Public Attributes inherited from a11::flow::syntax::Node | |
| NodeKind | kind = NodeKind::kError |
| Location | location |
Additional Inherited Members | |
Public Member Functions inherited from a11::flow::syntax::NodeOf< NodeKind::kBlock > | |
| NodeOf () | |
Public Member Functions inherited from a11::flow::syntax::Node | |
| virtual | ~Node ()=default |
Static Public Attributes inherited from a11::flow::syntax::NodeOf< NodeKind::kBlock > | |
| static constexpr NodeKind | kNodeKind |
[try] { ... } – a block of statements that runs as one thing.
Statements in a flow body run concurrently. A block groups their outcome. Its own statements remain concurrent, and a condition blocks only statements within the block. A bound block yields a status. With try, the flow handles a block failure; otherwise the failure ends the flow.
| std::vector<NodePtr> a11::flow::syntax::Block::body |
| bool a11::flow::syntax::Block::tolerant = false |