mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-02 04:27:47 +03:00
cosmetics: Having the parser in a better shape regarding operators 1/2
This commit is contained in:
committed by
Felipe Zimmerle
parent
3a413080f9
commit
9cda4c0be0
@@ -35,12 +35,25 @@ class Operator {
|
||||
m_negation(false),
|
||||
m_op(""),
|
||||
m_param("") { }
|
||||
Operator(std::string op, std::string param, bool negation)
|
||||
|
||||
Operator(std::string opName, std::string param, bool negation)
|
||||
: m_match_message(""),
|
||||
m_negation(negation),
|
||||
m_op(op),
|
||||
m_op(opName),
|
||||
m_param(param) { }
|
||||
|
||||
Operator(std::string opName, std::string param)
|
||||
: m_match_message(""),
|
||||
m_negation(false),
|
||||
m_op(opName),
|
||||
m_param(param) { }
|
||||
|
||||
Operator(std::string opName)
|
||||
: m_match_message(""),
|
||||
m_negation(false),
|
||||
m_op(opName),
|
||||
m_param() { }
|
||||
|
||||
virtual ~Operator() { }
|
||||
static Operator *instantiate(std::string opName);
|
||||
|
||||
|
Reference in New Issue
Block a user