|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
pipeline -> target, target – write a stream into one or more nodes.
More...
#include <cpp/a11/flow/syntax.h>
Public Attributes | |
| PipelinePtr | pipeline |
| std::vector< NodePtr > | targets |
| std::vector< Word > | after |
| bool | tolerant = false |
try source -> dest: a failure arriving from the source, or refused by the destination, is a value this flow reads rather than the end of it. | |
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::kPipe > | |
| NodeOf () | |
Public Member Functions inherited from a11::flow::syntax::Node | |
| virtual | ~Node ()=default |
Static Public Attributes inherited from a11::flow::syntax::NodeOf< NodeKind::kPipe > | |
| static constexpr NodeKind | kNodeKind |
pipeline -> target, target – write a stream into one or more nodes.
| std::vector<Word> a11::flow::syntax::Pipe::after |
| PipelinePtr a11::flow::syntax::Pipe::pipeline |
| std::vector<NodePtr> a11::flow::syntax::Pipe::targets |
| bool a11::flow::syntax::Pipe::tolerant = false |
try source -> dest: a failure arriving from the source, or refused by the destination, is a value this flow reads rather than the end of it.
The same word try run uses, for the same reason: without it the failure is the flow's. try on a stage is a different and narrower thing – it tolerates one value at a time and carries on – because a stage fails per value where a pipe fails once.