MySQL 8.4.0
Source Code Documentation
SqlParser::TokenText Class Reference

#include <sql_parser.h>

Public Member Functions

 TokenText ()=default
 
 TokenText (SqlLexer::TokenId id, std::string_view txt)
 
 operator bool () const
 
std::string_view text () const
 
SqlLexer::TokenId id () const
 

Private Attributes

SqlLexer::TokenId id_ {}
 
std::string_view txt_ {}
 

Constructor & Destructor Documentation

◆ TokenText() [1/2]

SqlParser::TokenText::TokenText ( )
default

◆ TokenText() [2/2]

SqlParser::TokenText::TokenText ( SqlLexer::TokenId  id,
std::string_view  txt 
)
inline

Member Function Documentation

◆ id()

SqlLexer::TokenId SqlParser::TokenText::id ( ) const
inline

◆ operator bool()

SqlParser::TokenText::operator bool ( ) const
inline

◆ text()

std::string_view SqlParser::TokenText::text ( ) const
inline

Member Data Documentation

◆ id_

SqlLexer::TokenId SqlParser::TokenText::id_ {}
private

◆ txt_

std::string_view SqlParser::TokenText::txt_ {}
private

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