MLIR
20.0.0git
|
#include "mlir/Query/Matcher/VariantValue.h"
Public Member Functions | |
VariantValue () | |
VariantValue (const VariantValue &other) | |
~VariantValue () | |
VariantValue & | operator= (const VariantValue &other) |
VariantValue (const llvm::StringRef string) | |
VariantValue (const VariantMatcher &matcher) | |
bool | isString () const |
const llvm::StringRef & | getString () const |
void | setString (const llvm::StringRef &string) |
bool | isMatcher () const |
const VariantMatcher & | getMatcher () const |
void | setMatcher (const VariantMatcher &matcher) |
std::string | getTypeAsString () const |
Definition at line 73 of file VariantValue.h.
|
inline |
Definition at line 75 of file VariantValue.h.
mlir::query::matcher::VariantValue::VariantValue | ( | const VariantValue & | other | ) |
Definition at line 44 of file VariantValue.cpp.
mlir::query::matcher::VariantValue::~VariantValue | ( | ) |
Definition at line 59 of file VariantValue.cpp.
mlir::query::matcher::VariantValue::VariantValue | ( | const llvm::StringRef | string | ) |
Definition at line 49 of file VariantValue.cpp.
References mlir::String.
mlir::query::matcher::VariantValue::VariantValue | ( | const VariantMatcher & | matcher | ) |
Definition at line 54 of file VariantValue.cpp.
References mlir::query::matcher::Matcher.
const VariantMatcher & mlir::query::matcher::VariantValue::getMatcher | ( | ) | const |
Definition at line 109 of file VariantValue.cpp.
References isMatcher().
Referenced by mlir::query::matcher::internal::ArgTypeTraits< DynMatcher >::get(), operator=(), and mlir::query::matcher::internal::Parser::parseMatcherExpression().
const llvm::StringRef & mlir::query::matcher::VariantValue::getString | ( | ) | const |
Definition at line 96 of file VariantValue.cpp.
References isString().
Referenced by mlir::query::matcher::internal::ArgTypeTraits< llvm::StringRef >::get(), and operator=().
std::string mlir::query::matcher::VariantValue::getTypeAsString | ( | ) | const |
Definition at line 120 of file VariantValue.cpp.
Referenced by mlir::query::matcher::internal::Parser::parseMatcherExpression().
bool mlir::query::matcher::VariantValue::isMatcher | ( | ) | const |
Definition at line 107 of file VariantValue.cpp.
Referenced by getMatcher(), mlir::query::matcher::internal::ArgTypeTraits< DynMatcher >::hasCorrectType(), and mlir::query::matcher::internal::Parser::parseMatcherExpression().
bool mlir::query::matcher::VariantValue::isString | ( | ) | const |
Definition at line 94 of file VariantValue.cpp.
Referenced by getString(), and mlir::query::matcher::internal::ArgTypeTraits< llvm::StringRef >::hasCorrectType().
VariantValue & mlir::query::matcher::VariantValue::operator= | ( | const VariantValue & | other | ) |
Definition at line 61 of file VariantValue.cpp.
References getMatcher(), getString(), setMatcher(), and setString().
void mlir::query::matcher::VariantValue::setMatcher | ( | const VariantMatcher & | matcher | ) |
Definition at line 114 of file VariantValue.cpp.
Referenced by operator=().
void mlir::query::matcher::VariantValue::setString | ( | const llvm::StringRef & | string | ) |
Definition at line 101 of file VariantValue.cpp.
Referenced by operator=().