| 507 | } |
| 508 | |
| 509 | RET parse_document(PARAMS) { |
| 510 | INIT(document); |
| 511 | obj->first_def = parse_definition(ARGS); REQ |
| 512 | struct graphql_definition *p = obj->first_def; |
| 513 | do { |
| 514 | p->next_def = parse_definition(ARGS); |
| 515 | p = p->next_def; |
| 516 | } WHILE_OPT; |
| 517 | EXIT; |
| 518 | } |
| 519 | void *currently_unused = parse_document; // to hide the warning till this is used |
| 520 | |
| 521 | /* Convert input string into tokens. |
nothing calls this directly
no test coverage detected