MLIR  20.0.0git
Public Member Functions | List of all members
mlir::query::matcher::internal::Parser::RegistrySema Class Reference

#include "Query/Matcher/Parser.h"

+ Inheritance diagram for mlir::query::matcher::internal::Parser::RegistrySema:

Public Member Functions

 RegistrySema (const Registry &matcherRegistry)
 
 ~RegistrySema () override
 
std::optional< MatcherCtorlookupMatcherCtor (llvm::StringRef matcherName) override
 
VariantMatcher actOnMatcherExpression (MatcherCtor Ctor, SourceRange NameRange, StringRef functionName, ArrayRef< ParserValue > Args, Diagnostics *Error) override
 
std::vector< ArgKindgetAcceptedCompletionTypes (llvm::ArrayRef< std::pair< MatcherCtor, unsigned >> context) override
 
std::vector< MatcherCompletiongetMatcherCompletions (llvm::ArrayRef< ArgKind > acceptedTypes) override
 
- Public Member Functions inherited from mlir::query::matcher::internal::Parser::Sema
virtual ~Sema ()
 
virtual VariantMatcher actOnMatcherExpression (MatcherCtor ctor, SourceRange nameRange, llvm::StringRef functionName, llvm::ArrayRef< ParserValue > args, Diagnostics *error)=0
 

Detailed Description

Definition at line 86 of file Parser.h.

Constructor & Destructor Documentation

◆ RegistrySema()

mlir::query::matcher::internal::Parser::RegistrySema::RegistrySema ( const Registry matcherRegistry)
inline

Definition at line 88 of file Parser.h.

◆ ~RegistrySema()

mlir::query::matcher::internal::Parser::RegistrySema::~RegistrySema ( )
overridedefault

Member Function Documentation

◆ actOnMatcherExpression()

VariantMatcher mlir::query::matcher::internal::Parser::RegistrySema::actOnMatcherExpression ( MatcherCtor  Ctor,
SourceRange  NameRange,
StringRef  functionName,
ArrayRef< ParserValue Args,
Diagnostics Error 
)
override

◆ getAcceptedCompletionTypes()

std::vector< ArgKind > mlir::query::matcher::internal::Parser::RegistrySema::getAcceptedCompletionTypes ( llvm::ArrayRef< std::pair< MatcherCtor, unsigned >>  context)
overridevirtual

◆ getMatcherCompletions()

std::vector< MatcherCompletion > mlir::query::matcher::internal::Parser::RegistrySema::getMatcherCompletions ( llvm::ArrayRef< ArgKind acceptedTypes)
overridevirtual

◆ lookupMatcherCtor()

std::optional< MatcherCtor > mlir::query::matcher::internal::Parser::RegistrySema::lookupMatcherCtor ( llvm::StringRef  matcherName)
overridevirtual

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