ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Node.h File Reference
#include "nest/stmt/Macro.h"
#include "nest/stmt/Forward.h"
#include "nest/stmt/Visitor.h"
#include <stdexcept>
#include "nest/stmt/Node.def"

Go to the source code of this file.

Data Structures

struct  nest::stmt::Node
 

Namespaces

namespace  nest
 
namespace  nest::stmt
 

Macros

#define STMT(Tag)
 
#define STMT(Tag)
 

Macro Definition Documentation

◆ STMT [1/2]

#define STMT (   Tag)
Value:
virtual const NEST_STMT_CLASS_NAME(Tag) * NEST_STMT_CAST_METHOD_NAME(Tag)(void) const \
{ \
return nullptr; \
}
#define NEST_STMT_CAST_METHOD_NAME(Tag)
Definition Macro.h:25
#define NEST_STMT_CLASS_NAME(Tag)
Definition Macro.h:21

Definition at line 35 of file Node.h.

37 { \
38 return nullptr; \
39 }

◆ STMT [2/2]

#define STMT (   Tag)
Value:
if (auto s = NEST_STMT_CAST_METHOD_NAME(Tag)()) \
{ \
return v->visit(s); \
}

Definition at line 35 of file Node.h.

37 { \
38 return nullptr; \
39 }