|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
for name[, name...] in pipeline [parallel n] { ... }.
More...
#include <cpp/a11/flow/syntax.h>
Public Member Functions | |
| const Word & | variable () const |
| The first name, which is the whole value where there is only one. | |
Public Member Functions inherited from a11::flow::syntax::NodeOf< NodeKind::kForEach > | |
| NodeOf () | |
Public Member Functions inherited from a11::flow::syntax::Node | |
| virtual | ~Node ()=default |
Public Attributes | |
| std::vector< Word > | variables |
| PipelinePtr | pipeline |
| int | parallel = 1 |
| NodePtr | parallel_expression |
| A nonliteral concurrency count, evaluated once before iteration. | |
| std::vector< NodePtr > | body |
| NodePtr | termination |
| Optional postcondition, evaluated after a complete pass. | |
| std::vector< Word > | after |
| Dependencies that finish before the loop starts. | |
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 | |
Static Public Attributes inherited from a11::flow::syntax::NodeOf< NodeKind::kForEach > | |
| static constexpr NodeKind | kNodeKind |
for name[, name...] in pipeline [parallel n] { ... }.
Several names unpack the value by position, as in for url, title in zip(urls, titles).
|
inline |
The first name, which is the whole value where there is only one.
| std::vector<Word> a11::flow::syntax::ForEach::after |
Dependencies that finish before the loop starts.
| std::vector<NodePtr> a11::flow::syntax::ForEach::body |
| int a11::flow::syntax::ForEach::parallel = 1 |
| NodePtr a11::flow::syntax::ForEach::parallel_expression |
A nonliteral concurrency count, evaluated once before iteration.
| PipelinePtr a11::flow::syntax::ForEach::pipeline |
| NodePtr a11::flow::syntax::ForEach::termination |
Optional postcondition, evaluated after a complete pass.
| std::vector<Word> a11::flow::syntax::ForEach::variables |