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