MLIR 22.0.0git
mlir::query::matcher::internal::FixedArgCountMatcherDescriptor Class Reference

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

Inheritance diagram for mlir::query::matcher::internal::FixedArgCountMatcherDescriptor:

Public Types

using MarshallerType

Public Member Functions

 FixedArgCountMatcherDescriptor (MarshallerType marshaller, void(*matcherFunc)(), llvm::StringRef matcherName, llvm::ArrayRef< ArgKind > argKinds)
VariantMatcher create (SourceRange nameRange, llvm::ArrayRef< ParserValue > args, Diagnostics *error) const override
bool isVariadic () const override
unsigned getNumArgs () const override
void getArgKinds (unsigned argNo, std::vector< ArgKind > &kinds) const override
Public Member Functions inherited from mlir::query::matcher::internal::MatcherDescriptor
virtual ~MatcherDescriptor ()=default

Detailed Description

Definition at line 123 of file Marshallers.h.

Member Typedef Documentation

◆ MarshallerType

Constructor & Destructor Documentation

◆ FixedArgCountMatcherDescriptor()

mlir::query::matcher::internal::FixedArgCountMatcherDescriptor::FixedArgCountMatcherDescriptor ( MarshallerType marshaller,
void(* matcherFunc )(),
llvm::StringRef matcherName,
llvm::ArrayRef< ArgKind > argKinds )
inline

Definition at line 134 of file Marshallers.h.

Member Function Documentation

◆ create()

VariantMatcher mlir::query::matcher::internal::FixedArgCountMatcherDescriptor::create ( SourceRange nameRange,
llvm::ArrayRef< ParserValue > args,
Diagnostics * error ) const
inlineoverridevirtual

Implements mlir::query::matcher::internal::MatcherDescriptor.

Definition at line 141 of file Marshallers.h.

◆ getArgKinds()

void mlir::query::matcher::internal::FixedArgCountMatcherDescriptor::getArgKinds ( unsigned argNo,
std::vector< ArgKind > & kinds ) const
inlineoverridevirtual

Implements mlir::query::matcher::internal::MatcherDescriptor.

Definition at line 150 of file Marshallers.h.

◆ getNumArgs()

unsigned mlir::query::matcher::internal::FixedArgCountMatcherDescriptor::getNumArgs ( ) const
inlineoverridevirtual

Implements mlir::query::matcher::internal::MatcherDescriptor.

Definition at line 148 of file Marshallers.h.

◆ isVariadic()

bool mlir::query::matcher::internal::FixedArgCountMatcherDescriptor::isVariadic ( ) const
inlineoverridevirtual

Implements mlir::query::matcher::internal::MatcherDescriptor.

Definition at line 146 of file Marshallers.h.


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