MySQL 8.4.2
Source Code Documentation
|
Designator grammar. More...
#include <designator.h>
Classes | |
class | Constraint |
Public Types | |
enum | Relation { LESS_THEN , LESS_EQUAL , EQUAL , NOT_EQUAL , GREATER_EQUAL , GREATER_THEN } |
Public Member Functions | |
Designator (const std::string &str) | |
bool | version_good (const Version &ver) const |
Public Attributes | |
std::string | plugin |
Constraint | constraint |
Private Member Functions | |
void | trace (const std::string &where) const |
void | parse_error (const std::string &prefix) const |
std::string::value_type | peek () const |
std::string::value_type | next () |
Relation | parse_relation () |
Version | parse_version () |
long | parse_number () |
void | parse_plugin () |
void | parse_root () |
void | parse_version_list () |
void | skip_space () |
Private Attributes | |
const std::string & | input_ |
std::string::const_iterator | cur_ |
Designator grammar.
root ::= name root ::= name "(" op version ( "," op version )* ")" op ::= "<<" | "<=" | "!=" | "==" | ">>" | ">=" version ::= number "." number "." number
enum Designator::Relation |
|
explicit |
|
inlineprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inlineprivate |
|
private |
|
private |
bool Designator::version_good | ( | const Version & | ver | ) | const |
Constraint Designator::constraint |
|
private |
|
private |
std::string Designator::plugin |