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

One struct name { ... } declaration: a shape a port may be typed with. More...

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

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

Public Attributes

Word name
 
std::string description
 
std::vector< FieldDeclarationPtr > fields
 
- 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::kDtoDeclaration >
 NodeOf ()
 
- Public Member Functions inherited from a11::flow::syntax::Node
virtual ~Node ()=default
 
- Static Public Attributes inherited from a11::flow::syntax::NodeOf< NodeKind::kDtoDeclaration >
static constexpr NodeKind kNodeKind
 

Detailed Description

One struct name { ... } declaration: a shape a port may be typed with.

A sibling of [FlowDeclaration] rather than something inside one, because a shape is not a flow's private business: two flows in a file describe the same records, and a caller reading the file wants the type once.

Member Data Documentation

◆ description

std::string a11::flow::syntax::DtoDeclaration::description

◆ fields

std::vector<FieldDeclarationPtr> a11::flow::syntax::DtoDeclaration::fields

◆ name

Word a11::flow::syntax::DtoDeclaration::name

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