MLIR  20.0.0git
Classes | Public Member Functions | Static Public Member Functions | List of all members
mlir::query::matcher::VariantMatcher Class Reference

#include "mlir/Query/Matcher/VariantValue.h"

Classes

class  SinglePayload
 

Public Member Functions

 VariantMatcher ()
 
void reset ()
 
bool isNull () const
 
std::optional< DynMatchergetDynMatcher () const
 
std::string getTypeAsString () const
 

Static Public Member Functions

static VariantMatcher SingleMatcher (DynMatcher matcher)
 

Detailed Description

Definition at line 28 of file VariantValue.h.

Constructor & Destructor Documentation

◆ VariantMatcher()

mlir::query::matcher::VariantMatcher::VariantMatcher ( )
default

Referenced by SingleMatcher().

Member Function Documentation

◆ getDynMatcher()

std::optional< DynMatcher > mlir::query::matcher::VariantMatcher::getDynMatcher ( ) const

◆ getTypeAsString()

std::string mlir::query::matcher::VariantMatcher::getTypeAsString ( ) const

Definition at line 42 of file VariantValue.cpp.

◆ isNull()

bool mlir::query::matcher::VariantMatcher::isNull ( ) const
inline

◆ reset()

void mlir::query::matcher::VariantMatcher::reset ( )

Definition at line 40 of file VariantValue.cpp.

◆ SingleMatcher()

VariantMatcher mlir::query::matcher::VariantMatcher::SingleMatcher ( DynMatcher  matcher)
static

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