Home
last modified time | relevance | path

Searched refs:regex_rules_ (Results 1 – 4 of 4) sorted by relevance

/external/libtextclassifier/native/utils/grammar/utils/
Dir.h194 return regex_rules_; in regex_rules()
236 std::vector<std::pair<std::string, Nonterm>> regex_rules_; variable
Drules.cc413 nonterminals_[lhs].regex_rules.push_back(regex_rules_.size()); in AddRegex()
414 regex_rules_.push_back(regex_pattern); in AddRegex()
471 rules.AddRegex(nonterminal_ids[i], regex_rules_[regex_rule]); in Finalize()
Drules.h230 std::vector<std::string> regex_rules_; variable
Dir.cc255 regex_rules_.emplace_back(regex_pattern, lhs); in AddRegex()
439 for (auto [pattern, lhs] : regex_rules_) { in Serialize()