| 897 | }; |
| 898 | |
| 899 | common_peg_parse_result common_peg_arena::parse(common_peg_parse_context & ctx, size_t start) const { |
| 900 | if (root_ == COMMON_PEG_INVALID_PARSER_ID) { |
| 901 | throw std::runtime_error("No root parser set"); |
| 902 | } |
| 903 | return parse(root_, ctx, start); |
| 904 | } |
| 905 | |
| 906 | common_peg_parse_result common_peg_arena::parse(common_peg_parser_id id, common_peg_parse_context & ctx, size_t start) const { |
| 907 | // Execute parser |
no outgoing calls
no test coverage detected