| 314 | } |
| 315 | |
| 316 | void common_peg_arena::add_rule(const std::string & name, common_peg_parser_id id) { |
| 317 | rules_[name] = id; |
| 318 | } |
| 319 | |
| 320 | common_peg_parser_id common_peg_arena::get_rule(const std::string & name) const { |
| 321 | auto it = rules_.find(name); |
no outgoing calls
no test coverage detected