MySQL 8.4.2
Source Code Documentation
|
This class implements the parse tree visiting service. More...
Public Member Functions | |
Service_visitor (parse_node_visit_function processor, uchar *arg) | |
Public Member Functions inherited from Select_lex_visitor | |
virtual bool | visits_in_prefix_order () const |
bool | visit (Query_expression *unit) |
bool | visit (Query_block *query_block) |
bool | visit (Item *item) |
Called for all nodes of all expression trees (i.e. Item trees). More... | |
virtual | ~Select_lex_visitor ()=0 |
Gcc demands an implementation for a virtual destructor. More... | |
Protected Member Functions | |
bool | visit_item (Item *item) override |
Protected Member Functions inherited from Select_lex_visitor | |
virtual bool | visit_union (Query_expression *) |
virtual bool | visit_query_block (Query_block *) |
Private Attributes | |
parse_node_visit_function | m_processor |
uchar * | m_arg |
This class implements the parse tree visiting service.
|
inline |
processor | This function will be called for each literal (Item) in the parse tree, along with the Item's type and arg. If the function returns non-zero, parse tree traversal will terminate. |
arg | Will be passed to processor on every call. |
|
inlineoverrideprotectedvirtual |
Reimplemented from Select_lex_visitor.
|
private |
|
private |