MySQL  8.0.17
Source Code Documentation
PT_subquery Class Reference

#include <parse_tree_nodes.h>

Inheritance diagram for PT_subquery:
Parse_tree_node_tmpl< Context >

Public Member Functions

 PT_subquery (POS p, PT_query_expression *query_expression)
 
virtual bool contextualize (Parse_context *pc)
 
void remove_parentheses ()
 
bool is_union ()
 
SELECT_LEXvalue ()
 
- Public Member Functions inherited from Parse_tree_node_tmpl< Context >
virtual ~Parse_tree_node_tmpl ()
 
bool is_contextualized () const
 
virtual bool contextualize (Context *pc)
 Do all context-sensitive things and mark the node as contextualized. More...
 
virtual bool contextualize_ (Context *)
 
Intermediate version of the contextualize() function 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...
 

Public Attributes

bool m_is_derived_table
 

Private Types

typedef Parse_tree_node super
 

Private Attributes

PT_query_expressionqe
 
POS pos
 
SELECT_LEXselect_lex
 

Additional Inherited Members

- Public Types inherited from Parse_tree_node_tmpl< Context >
typedef Context context_t
 
- Static Public Member Functions inherited from Parse_tree_node_tmpl< Context >
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 inherited from Parse_tree_node_tmpl< Context >
 Parse_tree_node_tmpl ()
 

Member Typedef Documentation

◆ super

Constructor & Destructor Documentation

◆ PT_subquery()

PT_subquery::PT_subquery ( POS  p,
PT_query_expression query_expression 
)
inline

Member Function Documentation

◆ contextualize()

virtual bool PT_subquery::contextualize ( Parse_context pc)
inlinevirtual

◆ is_union()

bool PT_subquery::is_union ( )
inline

◆ remove_parentheses()

void PT_subquery::remove_parentheses ( )
inline

◆ value()

SELECT_LEX* PT_subquery::value ( )
inline

Member Data Documentation

◆ m_is_derived_table

bool PT_subquery::m_is_derived_table

◆ pos

POS PT_subquery::pos
private

◆ qe

PT_query_expression* PT_subquery::qe
private

◆ select_lex

SELECT_LEX* PT_subquery::select_lex
private

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