|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
repeat [name = expr] [max n] { ... }.
More...
#include <cpp/a11/flow/syntax.h>
Public Attributes | |
| Word | variable |
| Empty where the repeat carries nothing. | |
| NodePtr | start |
| std::optional< int > | max_iterations |
Optional max n bound; absent for a condition-only loop. | |
| std::vector< NodePtr > | body |
| NodePtr | termination |
| Optional postcondition, resolved in the iteration scope. | |
| std::vector< Word > | after |
| What has to have finished before the loop starts. See ForEach::after. | |
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::kRepeat > | |
| NodeOf () | |
Public Member Functions inherited from a11::flow::syntax::Node | |
| virtual | ~Node ()=default |
Static Public Attributes inherited from a11::flow::syntax::NodeOf< NodeKind::kRepeat > | |
| static constexpr NodeKind | kNodeKind |
repeat [name = expr] [max n] { ... }.
| std::vector<Word> a11::flow::syntax::Repeat::after |
What has to have finished before the loop starts. See ForEach::after.
| std::vector<NodePtr> a11::flow::syntax::Repeat::body |
| std::optional<int> a11::flow::syntax::Repeat::max_iterations |
Optional max n bound; absent for a condition-only loop.
| NodePtr a11::flow::syntax::Repeat::start |
| NodePtr a11::flow::syntax::Repeat::termination |
Optional postcondition, resolved in the iteration scope.
| Word a11::flow::syntax::Repeat::variable |
Empty where the repeat carries nothing.