|
| void | InitMatch_ () const |
| |
| bool | Match_ (const T &value) const |
| |
| template<typename NodeRefType , typename = typename std::enable_if<std::is_base_of<NodeRefType, T>::value>::type> |
| bool | Match_ (const NodeRefType &value) const |
| |
| T | Eval () const |
| |
| bool | Match (const NodeType &value) const |
| | Check if value matches the current pattern.
|
| |
| bool | Match (const NodeType &value, Condition cond) const |
| | Check if value matches the current pattern.
|
| |
| const PVarWithCheck< Derived, T > & | derived () const |
| |
template<typename Derived, typename T>
class tvm::PVarWithCheck< Derived, T >
Wrapper for pattern variable container with extra match logic.
- Template Parameters
-
| Derived | the type of derived class. |
| T | the type of the hole. |