|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
abort node [code] [message] – end a node with a failure.
More...
#include <cpp/a11/flow/syntax.h>
Public Attributes | |
| NodePtr | target |
| NodePtr | code |
| NodePtr | message |
| std::vector< Word > | after |
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::kAbort > | |
| NodeOf () | |
Public Member Functions inherited from a11::flow::syntax::Node | |
| virtual | ~Node ()=default |
Static Public Attributes inherited from a11::flow::syntax::NodeOf< NodeKind::kAbort > | |
| static constexpr NodeKind | kNodeKind |
abort node [code] [message] – end a node with a failure.
The other ending a stream can have. drain says it is over; this says it went wrong, and a reader cannot otherwise tell the two apart – a stream cut short by something the flow noticed looks exactly like one that finished.
| std::vector<Word> a11::flow::syntax::Abort::after |
| NodePtr a11::flow::syntax::Abort::code |
| NodePtr a11::flow::syntax::Abort::message |
| NodePtr a11::flow::syntax::Abort::target |