tvm
|
Visitor class to get the attributes of an AST/IR node. The content is going to be called for each field. More...
#include <reflection.h>
Visitor class to get the attributes of an AST/IR node. The content is going to be called for each field.
Each objects that wants reflection will need to implement a VisitAttrs function and call visitor->Visit on each of its field.