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

in/out name: type [stream] [required]. More...

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

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

Public Attributes

Word name
 
PortDirection direction = PortDirection::kInput
 
TypeExpression type
 
bool unary = true
 Whether the port carries one value. Most do, so it is the default.
 
bool required = false
 
std::string description
 
- 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::kPortDeclaration >
 NodeOf ()
 
- Public Member Functions inherited from a11::flow::syntax::Node
virtual ~Node ()=default
 
- Static Public Attributes inherited from a11::flow::syntax::NodeOf< NodeKind::kPortDeclaration >
static constexpr NodeKind kNodeKind
 

Detailed Description

in/out name: type [stream] [required].

Member Data Documentation

◆ description

std::string a11::flow::syntax::PortDeclaration::description

◆ direction

PortDirection a11::flow::syntax::PortDeclaration::direction = PortDirection::kInput

◆ name

Word a11::flow::syntax::PortDeclaration::name

◆ required

bool a11::flow::syntax::PortDeclaration::required = false

◆ type

TypeExpression a11::flow::syntax::PortDeclaration::type

◆ unary

bool a11::flow::syntax::PortDeclaration::unary = true

Whether the port carries one value. Most do, so it is the default.


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