|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
_ – the destination that keeps nothing.
More...
#include <cpp/a11/flow/syntax.h>
Additional Inherited Members | |
Public Member Functions inherited from a11::flow::syntax::NodeOf< NodeKind::kDiscard > | |
| NodeOf () | |
Public Member Functions inherited from a11::flow::syntax::Node | |
| virtual | ~Node ()=default |
Public Attributes inherited from a11::flow::syntax::Node | |
| NodeKind | kind = NodeKind::kError |
| Location | location |
Static Public Attributes inherited from a11::flow::syntax::NodeOf< NodeKind::kDiscard > | |
| static constexpr NodeKind | kNodeKind |
_ – the destination that keeps nothing.
Written where a pipe's target goes and nowhere else: _ is not a name, so nothing may be bound to it and nothing may be read from it. A node of the grammar rather than a name the resolver happens not to find, for the same reason [It] is one – the position it is legal in is part of the language, and a wrong position should say what is wrong rather than "unknown".