| 441 | } |
| 442 | |
| 443 | RET parse_selection_set(PARAMS) { |
| 444 | INIT(selection_set); |
| 445 | parse_punct(ARGS, '{'); REQ; |
| 446 | obj->first = parse_selection(ARGS); REQ; |
| 447 | struct graphql_selection *p = obj->first; |
| 448 | parse_punct(ARGS, '}'); |
| 449 | while (*err) { |
| 450 | *err = NULL; |
| 451 | p->next = parse_selection(ARGS); MSG("expected: selection or '}'"); REQ; |
| 452 | p = p->next; |
| 453 | parse_punct(ARGS, '}'); |
| 454 | } |
| 455 | EXIT; |
| 456 | } |
| 457 | |
| 458 | RET parse_operation_type(PARAMS) { |
| 459 | INIT(operation_type); |
no test coverage detected