|
FE 0.15.0
A C++23 toolkit for writing compiler/interpreter frontends.
|
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.