Makes @pm compatible with the brand new capture schema

This commit is contained in:
Felipe Zimmerle
2016-11-23 17:10:06 -03:00
parent eecb90cfd0
commit 7a36499f22
2 changed files with 17 additions and 2 deletions

View File

@@ -37,7 +37,12 @@ class Pm : public Operator {
~Pm();
void replaceAll(std::string str, const std::string& from,
const std::string& to);
bool evaluate(Transaction *transaction, const std::string &input) override;
bool evaluate(Transaction *transaction, Rule *rule,
const std::string &input) override;
bool evaluate(Transaction *transaction,
const std::string &input) override {
return evaluate(transaction, NULL, input);
}
bool init(const std::string &file, std::string *error) override;
void postOrderTraversal(acmp_btree_node_t *node);