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

#include "Query/Matcher/Parser.h"

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

Public Member Functions

virtual ~Sema ()
 
virtual VariantMatcher actOnMatcherExpression (MatcherCtor ctor, SourceRange nameRange, llvm::StringRef functionName, llvm::ArrayRef< ParserValue > args, Diagnostics *error)=0
 
virtual std::optional< MatcherCtorlookupMatcherCtor (llvm::StringRef matcherName)=0
 
virtual std::vector< ArgKindgetAcceptedCompletionTypes (llvm::ArrayRef< std::pair< MatcherCtor, unsigned >> Context)
 
virtual std::vector< MatcherCompletiongetMatcherCompletions (llvm::ArrayRef< ArgKind > acceptedTypes)
 

Detailed Description

Definition at line 61 of file Parser.h.

Constructor & Destructor Documentation

◆ ~Sema()

mlir::query::matcher::internal::Parser::Sema::~Sema ( )
virtualdefault

Member Function Documentation

◆ actOnMatcherExpression()

virtual VariantMatcher mlir::query::matcher::internal::Parser::Sema::actOnMatcherExpression ( MatcherCtor  ctor,
SourceRange  nameRange,
llvm::StringRef  functionName,
llvm::ArrayRef< ParserValue args,
Diagnostics error 
)
pure virtual

◆ getAcceptedCompletionTypes()

std::vector< ArgKind > mlir::query::matcher::internal::Parser::Sema::getAcceptedCompletionTypes ( llvm::ArrayRef< std::pair< MatcherCtor, unsigned >>  Context)
virtual

Reimplemented in mlir::query::matcher::internal::Parser::RegistrySema.

Definition at line 229 of file Parser.cpp.

◆ getMatcherCompletions()

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

Reimplemented in mlir::query::matcher::internal::Parser::RegistrySema.

Definition at line 235 of file Parser.cpp.

◆ lookupMatcherCtor()

virtual std::optional<MatcherCtor> mlir::query::matcher::internal::Parser::Sema::lookupMatcherCtor ( llvm::StringRef  matcherName)
pure virtual

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