Rename static 'Build' methods to 'build'

This commit is contained in:
Max Brunsfeld 2015-01-14 20:54:48 -08:00
parent 34d96909d1
commit a0d9da9d5c
12 changed files with 22 additions and 22 deletions

View file

@ -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) {