CUBRID Engine  latest
cubload::scanner Class Reference

#include <load_scanner.hpp>

Inheritance diagram for cubload::scanner:
Inheritance graph
Collaboration diagram for cubload::scanner:
Collaboration graph

Public Member Functions

 scanner (semantic_helper &semantic_helper, error_handler &error_handler)
 
 ~scanner () override=default
 
void set_lineno (int line_offset)
 
virtual int yylex (parser::semantic_type *yylval, parser::location_type *yylloc)
 
void LexerError (const char *msg) override
 

Private Attributes

semantic_helperm_semantic_helper
 
error_handlerm_error_handler
 

Detailed Description

Definition at line 39 of file load_scanner.hpp.

Constructor & Destructor Documentation

cubload::scanner::scanner ( semantic_helper semantic_helper,
error_handler error_handler 
)
inline

Definition at line 42 of file load_scanner.hpp.

References ~scanner().

cubload::scanner::~scanner ( )
overridedefault

Referenced by scanner().

Here is the caller graph for this function:

Member Function Documentation

void cubload::scanner::set_lineno ( int  line_offset)
inline

Definition at line 52 of file load_scanner.hpp.

References yylex().

Referenced by cubload::driver::parse().

Here is the caller graph for this function:

virtual int cubload::scanner::yylex ( parser::semantic_type *  yylval,
parser::location_type *  yylloc 
)
virtual

Referenced by set_lineno().

Here is the caller graph for this function:

Member Data Documentation

error_handler& cubload::scanner::m_error_handler
private

Definition at line 82 of file load_scanner.hpp.

Referenced by LexerError().

semantic_helper& cubload::scanner::m_semantic_helper
private

Definition at line 81 of file load_scanner.hpp.


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