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

...expr – everything expr holds, in the literal being written. More...

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

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

Public Attributes

NodePtr value
 
- 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::kSpread >
 NodeOf ()
 
- Public Member Functions inherited from a11::flow::syntax::Node
virtual ~Node ()=default
 
- Static Public Attributes inherited from a11::flow::syntax::NodeOf< NodeKind::kSpread >
static constexpr NodeKind kNodeKind
 

Detailed Description

...expr – everything expr holds, in the literal being written.

Only ever an item of a list literal or a pair of an object literal, which is why it is a node rather than a flag on those: a reader that has not been taught about spreading meets a node kind it does not know and says so, instead of quietly reading ...it as it.

Member Data Documentation

◆ value

NodePtr a11::flow::syntax::Spread::value

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