MySQL 9.1.0
Source Code Documentation
SqlParser Class Reference

#include <sql_parser.h>

Inheritance diagram for SqlParser:
[legend]

Classes

class  TokenText
 

Public Member Functions

 SqlParser (SqlLexer::iterator first, SqlLexer::iterator last)
 
TokenText token () const
 

Protected Member Functions

TokenText ident ()
 
TokenText accept_if_not (int sym)
 
TokenText accept (int sym)
 
TokenText expect (int sym)
 
bool has_error () const
 

Protected Attributes

SqlLexer::iterator cur_
 
SqlLexer::iterator end_
 
std::string error_ {}
 

Constructor & Destructor Documentation

◆ SqlParser()

SqlParser::SqlParser ( SqlLexer::iterator  first,
SqlLexer::iterator  last 
)
inline

Member Function Documentation

◆ accept()

TokenText SqlParser::accept ( int  sym)
inlineprotected

◆ accept_if_not()

TokenText SqlParser::accept_if_not ( int  sym)
inlineprotected

◆ expect()

TokenText SqlParser::expect ( int  sym)
inlineprotected

◆ has_error()

bool SqlParser::has_error ( ) const
inlineprotected

◆ ident()

TokenText SqlParser::ident ( )
inlineprotected

◆ token()

TokenText SqlParser::token ( ) const
inline

Member Data Documentation

◆ cur_

SqlLexer::iterator SqlParser::cur_
protected

◆ end_

SqlLexer::iterator SqlParser::end_
protected

◆ error_

std::string SqlParser::error_ {}
protected

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