tvm
tvm::AttrVisitor Class Reference

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>

Collaboration diagram for tvm::AttrVisitor:

Detailed Description

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.

Examples
/workspace/include/tvm/script/ir_builder/base.h.

The documentation for this class was generated from the following file: