A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::flow::syntax::Abort Struct Reference

abort node [code] [message] – end a node with a failure. More...

#include <cpp/a11/flow/syntax.h>

Inheritance diagram for a11::flow::syntax::Abort:
[legend]

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
 

Detailed Description

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.

Member Data Documentation

◆ after

std::vector<Word> a11::flow::syntax::Abort::after

◆ code

NodePtr a11::flow::syntax::Abort::code

◆ message

NodePtr a11::flow::syntax::Abort::message

◆ target

NodePtr a11::flow::syntax::Abort::target

The documentation for this struct was generated from the following file: