MySQL 8.4.2
Source Code Documentation
anonymous_namespace{classic_query_forwarder.cc}::InterceptedStatementsParser Class Reference
Inheritance diagram for anonymous_namespace{classic_query_forwarder.cc}::InterceptedStatementsParser:
[legend]

Public Member Functions

stdx::expected< std::variant< std::monostate, ShowWarningCount, ShowWarnings, CommandRouterSet >, std::string > parse ()
 
- Public Member Functions inherited from ShowWarningsParser
stdx::expected< std::variant< std::monostate, ShowWarningCount, ShowWarnings >, std::string > parse ()
 
 SqlParser (SqlLexer::iterator first, SqlLexer::iterator last)
 
- Public Member Functions inherited from SqlParser
 SqlParser (SqlLexer::iterator first, SqlLexer::iterator last)
 
TokenText token () const
 

Private Member Functions

stdx::expected< CommandRouterSet::Value, std::string > value ()
 

Static Private Member Functions

template<class R >
static R sv_to_num (std::string_view s)
 

Additional Inherited Members

- Protected Member Functions inherited from ShowWarningsParser
stdx::expected< Limit, std::string > limit ()
 
stdx::expected< ShowWarnings::Verbosity, std::string > warning_count_ident ()
 
- Protected Member Functions inherited from SqlParser
TokenText ident ()
 
TokenText accept_if_not (int sym)
 
TokenText accept (int sym)
 
TokenText expect (int sym)
 
bool has_error () const
 
- Protected Attributes inherited from SqlParser
SqlLexer::iterator cur_
 
SqlLexer::iterator end_
 
std::string error_ {}
 

Member Function Documentation

◆ parse()

stdx::expected< std::variant< std::monostate, ShowWarningCount, ShowWarnings, CommandRouterSet >, std::string > anonymous_namespace{classic_query_forwarder.cc}::InterceptedStatementsParser::parse ( )
inline

◆ sv_to_num()

template<class R >
static R anonymous_namespace{classic_query_forwarder.cc}::InterceptedStatementsParser::sv_to_num ( std::string_view  s)
inlinestaticprivate

◆ value()

stdx::expected< CommandRouterSet::Value, std::string > anonymous_namespace{classic_query_forwarder.cc}::InterceptedStatementsParser::value ( )
inlineprivate

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