#include <Node.h>
Definition at line 31 of file Node.h.
◆ ~Node()
virtual nest::stmt::Node::~Node |
( |
| ) |
|
|
virtualdefault |
◆ accept() [1/2]
template<typename T >
T nest::stmt::Node::accept |
( |
Visitor< T > & |
v | ) |
|
|
inline |
◆ accept() [2/2]
template<typename T >
T nest::stmt::Node::accept |
( |
Visitor< T > * |
v | ) |
|
|
inline |
Definition at line 43 of file Node.h.
44 {
45#define STMT(Tag) \
46 if (auto s = NEST_STMT_CAST_METHOD_NAME(Tag)()) \
47 { \
48 return v->visit(s); \
49 }
50#include "nest/stmt/Node.def"
51#undef STMT
52
53 throw std::runtime_error{"unreachable"};
54 }
The documentation for this struct was generated from the following file:
- compiler/nest/core/include/nest/stmt/Node.h