A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::flow::syntax::NodeOf< K > Struct Template Reference

Gives each construct its kind without every constructor restating it. More...

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

Inheritance diagram for a11::flow::syntax::NodeOf< K >:
[legend]

Public Member Functions

 NodeOf ()
 
- Public Member Functions inherited from a11::flow::syntax::Node
virtual ~Node ()=default
 

Static Public Attributes

static constexpr NodeKind kNodeKind = K
 

Additional Inherited Members

- Public Attributes inherited from a11::flow::syntax::Node
NodeKind kind = NodeKind::kError
 
Location location
 

Detailed Description

template<NodeKind K>
struct a11::flow::syntax::NodeOf< K >

Gives each construct its kind without every constructor restating it.

Constructor & Destructor Documentation

◆ NodeOf()

template<NodeKind K>
a11::flow::syntax::NodeOf< K >::NodeOf ( )
inline

Member Data Documentation

◆ kNodeKind

template<NodeKind K>
constexpr NodeKind a11::flow::syntax::NodeOf< K >::kNodeKind = K
staticconstexpr

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