MySQL 8.0.40
Source Code Documentation
|
Base class for parse tree nodes (excluding the Parse_tree_root hierarchy) More...
#include <parse_tree_node_base.h>
Public Types | |
typedef Context | context_t |
Public Member Functions | |
virtual | ~Parse_tree_node_tmpl ()=default |
bool | is_contextualized () const |
virtual bool | contextualize (Context *pc) |
Do all context-sensitive things and mark the node as contextualized. More... | |
void | error (Context *pc, const POS &pos) const |
syntax_error() function replacement for deferred reporting of syntax errors More... | |
void | error (Context *pc, const POS &pos, const char *msg) const |
syntax_error() function replacement for deferred reporting of syntax errors More... | |
void | errorf (Context *pc, const POS &pos, const char *format,...) const |
syntax_error() function replacement for deferred reporting of syntax errors More... | |
Static Public Member Functions | |
static void * | operator new (size_t size, MEM_ROOT *mem_root, const std::nothrow_t &arg=std::nothrow) noexcept |
static void | operator delete (void *ptr, size_t size) |
static void | operator delete (void *, MEM_ROOT *, const std::nothrow_t &) noexcept |
Protected Member Functions | |
Parse_tree_node_tmpl () | |
Private Member Functions | |
Parse_tree_node_tmpl (const Parse_tree_node_tmpl &) | |
void | operator= (const Parse_tree_node_tmpl &) |
Private Attributes | |
bool | contextualized |
Friends | |
class | Item |
Base class for parse tree nodes (excluding the Parse_tree_root hierarchy)
typedef Context Parse_tree_node_tmpl< Context >::context_t |
|
private |
|
inlineprotected |
|
virtualdefault |
|
inlinevirtual |
Do all context-sensitive things and mark the node as contextualized.
pc | current parse context |
false | success |
true | syntax/OOM/etc error |
Reimplemented in PT_check_constraint_column_attr, PT_default_column_attr, PT_on_update_column_attr, PT_auto_increment_column_attr, PT_serial_default_value_column_attr, PT_column_format_column_attr, PT_storage_media_column_attr, and PT_generated_default_val_column_attr.
|
inline |
syntax_error() function replacement for deferred reporting of syntax errors
pc | Current parse context. |
pos | Location of the error in lexical scanner buffers. |
|
inline |
syntax_error() function replacement for deferred reporting of syntax errors
pc | Current parse context. |
pos | Location of the error in lexical scanner buffers. |
msg | Error message. |
|
inline |
syntax_error() function replacement for deferred reporting of syntax errors
pc | Current parse context. |
pos | Location of the error in lexical scanner buffers. |
format | Error message format string with optional argument list. |
|
inline |
|
inlinestaticnoexcept |
|
inlinestatic |
|
inlinestaticnoexcept |
|
private |
|
friend |
|
private |