1 #ifndef UTILS_TREE_NODETAG_H
2 #define UTILS_TREE_NODETAG_H
10 #define NODE_TAG(clsname, ...) \
11 CONCAT(T_, clsname) IF_NONEMPTY(CADR(__VA_ARGS__), = CADR(__VA_ARGS__)),
26 #define TAG(nodeclsname) CONCAT(NodeTag::T_, nodeclsname)
bool node_tag_is_a(NodeTag tag1, NodeTag tag2)
Returns whether tag1'' is a class derived fromtag2''.
Definition: NodeTag.cpp:94
NodeTag node_tag_base(NodeTag tag)
Returns the immediate base class of `‘tag’'.
Definition: NodeTag.cpp:86
NodeTag
Definition: NodeTag.h:12
const char * node_tag_name(NodeTag tag)
Returns the class name of the tag's class.
Definition: NodeTag.cpp:78