MySQL 9.2.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
routing_guidelines::anonymous_namespace{rules_parser.cc} Namespace Reference

Functions

void reduce_regexp_like (std::vector< rpn::Token > *stack)
 
void reduce_is_ipv4 (std::vector< rpn::Token > *stack)
 
void reduce_is_ipv6 (std::vector< rpn::Token > *stack)
 
void reduce_sqrt (std::vector< rpn::Token > *stack)
 
void reduce_number (std::vector< rpn::Token > *stack)
 
void reduce_substring_index (std::vector< rpn::Token > *stack)
 
void reduce_str_startswith (std::vector< rpn::Token > *stack)
 
void reduce_str_endswith (std::vector< rpn::Token > *stack)
 
void reduce_str_contains (std::vector< rpn::Token > *stack)
 
const rpn::Function_definitionget_function_def (const std::string &name)
 

Variables

const std::vector< rpn::Function_definitionfunctions
 

Function Documentation

◆ get_function_def()

const rpn::Function_definition * routing_guidelines::anonymous_namespace{rules_parser.cc}::get_function_def ( const std::string &  name)

◆ reduce_is_ipv4()

void routing_guidelines::anonymous_namespace{rules_parser.cc}::reduce_is_ipv4 ( std::vector< rpn::Token > *  stack)

◆ reduce_is_ipv6()

void routing_guidelines::anonymous_namespace{rules_parser.cc}::reduce_is_ipv6 ( std::vector< rpn::Token > *  stack)

◆ reduce_number()

void routing_guidelines::anonymous_namespace{rules_parser.cc}::reduce_number ( std::vector< rpn::Token > *  stack)

◆ reduce_regexp_like()

void routing_guidelines::anonymous_namespace{rules_parser.cc}::reduce_regexp_like ( std::vector< rpn::Token > *  stack)

◆ reduce_sqrt()

void routing_guidelines::anonymous_namespace{rules_parser.cc}::reduce_sqrt ( std::vector< rpn::Token > *  stack)

◆ reduce_str_contains()

void routing_guidelines::anonymous_namespace{rules_parser.cc}::reduce_str_contains ( std::vector< rpn::Token > *  stack)

◆ reduce_str_endswith()

void routing_guidelines::anonymous_namespace{rules_parser.cc}::reduce_str_endswith ( std::vector< rpn::Token > *  stack)

◆ reduce_str_startswith()

void routing_guidelines::anonymous_namespace{rules_parser.cc}::reduce_str_startswith ( std::vector< rpn::Token > *  stack)

◆ reduce_substring_index()

void routing_guidelines::anonymous_namespace{rules_parser.cc}::reduce_substring_index ( std::vector< rpn::Token > *  stack)

Variable Documentation

◆ functions

const std::vector<rpn::Function_definition> routing_guidelines::anonymous_namespace{rules_parser.cc}::functions
Initial value:
= {
{"SQRT", {NUMT}, NUMT, &reduce_sqrt},
{"NUMBER", {STRT}, NUMT, &reduce_number},
{"IS_IPV4", {STRT}, BOOLT, &reduce_is_ipv4},
{"IS_IPV6", {STRT}, BOOLT, &reduce_is_ipv6},
{"REGEXP_LIKE", {STRT, STRT}, BOOLT, &reduce_regexp_like},
{"SUBSTRING_INDEX", {STRT, STRT, NUMT}, STRT, &reduce_substring_index},
{"STARTSWITH", {STRT, STRT}, BOOLT, &reduce_str_startswith},
{"ENDSWITH", {STRT, STRT}, BOOLT, &reduce_str_endswith},
{"CONTAINS", {STRT, STRT}, BOOLT, &reduce_str_contains},
{"RESOLVE_V4", {STRT}, STRT, nullptr},
{"RESOLVE_V6", {STRT}, STRT, nullptr},
{"CONCAT", {}, STRT, nullptr},
{"NETWORK", {STRT, NUMT}, STRT, nullptr}}
void reduce_is_ipv4(std::vector< rpn::Token > *stack)
Definition: rules_parser.cc:62
void reduce_str_startswith(std::vector< rpn::Token > *stack)
Definition: rules_parser.cc:109
void reduce_substring_index(std::vector< rpn::Token > *stack)
Definition: rules_parser.cc:87
void reduce_is_ipv6(std::vector< rpn::Token > *stack)
Definition: rules_parser.cc:67
void reduce_sqrt(std::vector< rpn::Token > *stack)
Definition: rules_parser.cc:72
void reduce_number(std::vector< rpn::Token > *stack)
Definition: rules_parser.cc:77
void reduce_str_endswith(std::vector< rpn::Token > *stack)
Definition: rules_parser.cc:115
void reduce_str_contains(std::vector< rpn::Token > *stack)
Definition: rules_parser.cc:128
void reduce_regexp_like(std::vector< rpn::Token > *stack)
Definition: rules_parser.cc:53
#define BOOLT
Definition: rules_parser.cc:39
#define STRT
Definition: rules_parser.cc:38
#define NUMT
Definition: rules_parser.cc:37