A regex pattern and action pair that forms a rule. More...
#include <reflex.h>
Public Member Functions | |
Rule (const std::string &pattern, const std::string ®ex, const Code &code) | |
Public Attributes | |
std::string | pattern |
the pattern More... | |
std::string | regex |
the pattern-converted regex for the selected regex engine More... | |
Code | code |
the action code corresponding to the pattern More... | |
A regex pattern and action pair that forms a rule.
|
inline |
Code Reflex::Rule::code |
the action code corresponding to the pattern
std::string Reflex::Rule::pattern |
the pattern
std::string Reflex::Rule::regex |
the pattern-converted regex for the selected regex engine