Rename static 'Build' methods to 'build'
This commit is contained in:
parent
34d96909d1
commit
a0d9da9d5c
12 changed files with 22 additions and 22 deletions
|
|
@ -25,11 +25,11 @@ rule_ptr IdentityRuleFn::apply_to(const Choice *rule) {
|
|||
vector<rule_ptr> rules;
|
||||
for (const auto &el : rule->elements)
|
||||
rules.push_back(apply(el));
|
||||
return Choice::Build(rules);
|
||||
return Choice::build(rules);
|
||||
}
|
||||
|
||||
rule_ptr IdentityRuleFn::apply_to(const Seq *rule) {
|
||||
return Seq::Build({ apply(rule->left), apply(rule->right) });
|
||||
return Seq::build({ apply(rule->left), apply(rule->right) });
|
||||
}
|
||||
|
||||
rule_ptr IdentityRuleFn::apply_to(const Repeat *rule) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue