MySQL 8.0.39
Source Code Documentation
anonymous_namespace{parse_tree_nodes.cc} Namespace Reference

Functions

template<typename Context , typename Node >
bool contextualize_safe (Context *pc, Node node)
 
template<typename Context >
bool contextualize_safe (Context *pc, mem_root_deque< Item * > *list)
 
template<typename Context , typename Node , typename... Nodes>
bool contextualize_safe (Context *pc, Node node, Nodes... nodes)
 Convenience function that calls Parse_tree_node::contextualize() on each of the nodes that are non-NULL, stopping when a call returns true. More...
 
bool itemize_safe (Parse_context *pc, Item **item)
 Convenience function that calls Item::itemize() on the item if it's non-NULL. More...
 

Function Documentation

◆ contextualize_safe() [1/3]

template<typename Context >
bool anonymous_namespace{parse_tree_nodes.cc}::contextualize_safe ( Context *  pc,
mem_root_deque< Item * > *  list 
)

◆ contextualize_safe() [2/3]

template<typename Context , typename Node >
bool anonymous_namespace{parse_tree_nodes.cc}::contextualize_safe ( Context *  pc,
Node  node 
)

◆ contextualize_safe() [3/3]

template<typename Context , typename Node , typename... Nodes>
bool anonymous_namespace{parse_tree_nodes.cc}::contextualize_safe ( Context *  pc,
Node  node,
Nodes...  nodes 
)

Convenience function that calls Parse_tree_node::contextualize() on each of the nodes that are non-NULL, stopping when a call returns true.

◆ itemize_safe()

bool anonymous_namespace{parse_tree_nodes.cc}::itemize_safe ( Parse_context pc,
Item **  item 
)

Convenience function that calls Item::itemize() on the item if it's non-NULL.