|
FE 0.13.1
Header-only C++ frontend library
|
Like Nodeable, but for a class that spans a set of node kinds instead of a single one. More...
#include <fe/cast.h>
Like Nodeable, but for a class that spans a set of node kinds instead of a single one.
Such a class declares static constexpr bool isa_node(<node type>) to decide membership. This keeps RuntimeCast::isa from falling back to a dynamic_cast for abstract bases that merely group nodes.