| 267 | } |
| 268 | |
| 269 | void common_peg_arena::add_rule(const std::string & name, common_peg_parser_id id) { |
| 270 | rules_[name] = id; |
| 271 | } |
| 272 | |
| 273 | common_peg_parser_id common_peg_arena::get_rule(const std::string & name) const { |
| 274 | auto it = rules_.find(name); |
no outgoing calls
no test coverage detected