MLIR  20.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mlir::query::MatchQuery Struct Reference

#include "mlir/Query/Query.h"

+ Inheritance diagram for mlir::query::MatchQuery:

Public Member Functions

 MatchQuery (llvm::StringRef source, const matcher::DynMatcher &matcher)
 
llvm::LogicalResult run (llvm::raw_ostream &os, QuerySession &qs) const override
 
- Public Member Functions inherited from mlir::query::Query
 Query (QueryKind kind)
 
virtual ~Query ()
 

Static Public Member Functions

static bool classof (const Query *query)
 

Public Attributes

const matcher::DynMatcher matcher
 
llvm::StringRef source
 
- Public Attributes inherited from mlir::query::Query
llvm::StringRef remainingContent
 
const QueryKind kind
 

Detailed Description

Definition at line 91 of file Query.h.

Constructor & Destructor Documentation

◆ MatchQuery()

mlir::query::MatchQuery::MatchQuery ( llvm::StringRef  source,
const matcher::DynMatcher matcher 
)
inline

Definition at line 92 of file Query.h.

References mlir::query::Match.

Member Function Documentation

◆ classof()

static bool mlir::query::MatchQuery::classof ( const Query query)
inlinestatic

Definition at line 101 of file Query.h.

References mlir::query::Match, and mlir::dlti::query().

◆ run()

LogicalResult mlir::query::MatchQuery::run ( llvm::raw_ostream &  os,
QuerySession qs 
) const
overridevirtual

Member Data Documentation

◆ matcher

const matcher::DynMatcher mlir::query::MatchQuery::matcher

Definition at line 97 of file Query.h.

Referenced by run().

◆ source

llvm::StringRef mlir::query::MatchQuery::source

Definition at line 99 of file Query.h.


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