51 tokens.insert(tokens.end(), other.
tokens.begin(), other.
tokens.end());
67 tokens.resize(expr.size());
82 int ntsize = name_tokens.size();
84 int num_expr = tokens.size();
85 for (
int i = 0;
i < num_expr; ++
i) {
87 int jstop = token.size();
90 for (
int j = 0;
j < jstop; ++
j) {
94 const string &var = token[
j];
95 if (var !=
"*" && var != name_tokens[
j]) {
112 for (
const auto &expression: tokens) {
114 to_add.insert(to_add.end(), expression.begin(), expression.end());
115 to_return.push_back(to_add);
const std::string & name()
std::vector< std::vector< std::string > > tokens
std::vector< std::vector< std::string > > getExpressions()
Overload hash function for BasicBlockRange type.
void setExpression(const std::string &expression)
bool domatch(const std::string &name) const
void add(const ObjectMatch &other)
void tokenize(vector< string > &v, const string &s, char token, bool ignore)
ObjectMatch contains a vector of expressions.