tvm
|
A simple visitor wrapper around PatternFunctor. More...
#include <pattern_functor.h>
Public Member Functions | |
void | VisitPattern_ (const PatternWildcardNode *op) override |
void | VisitPattern_ (const PatternVarNode *op) override |
void | VisitPattern_ (const PatternConstructorNode *op) override |
void | VisitPattern_ (const PatternTupleNode *op) override |
virtual void | VisitType (const Type &t) |
virtual void | VisitVar (const Var &v) |
virtual void | VisitConstructor (const Constructor &c) |
A simple visitor wrapper around PatternFunctor.
Exposes two visitors with default traversal strategies, one which doesn't compute a result but can mutate internal state, and another which functionally builds a new pattern.
|
virtual |
|
override |
|
override |
|
override |
|
override |
|
virtual |
|
virtual |