MySQL 8.0.40
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)
 

Protected Member Functions

TokenText ident ()
 
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

◆ expect()

TokenText SqlParser::expect ( int  sym)
inlineprotected

◆ has_error()

bool SqlParser::has_error ( ) const
inlineprotected

◆ ident()

TokenText SqlParser::ident ( )
inlineprotected

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: