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

pipeline -> target, target – write a stream into one or more nodes. More...

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

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

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
 

Detailed Description

pipeline -> target, target – write a stream into one or more nodes.

Member Data Documentation

◆ after

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

◆ pipeline

PipelinePtr a11::flow::syntax::Pipe::pipeline

◆ targets

std::vector<NodePtr> a11::flow::syntax::Pipe::targets

◆ tolerant

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.


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