MCPcopy Create free account
hub / github.com/ElementsProject/lightning / parse_selection_set

Function parse_selection_set

ccan/ccan/graphql/graphql.c:443–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441}
442
443RET 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
458RET parse_operation_type(PARAMS) {
459 INIT(operation_type);

Callers 4

parse_inline_fragmentFunction · 0.85
parse_fieldFunction · 0.85

Calls 2

parse_punctFunction · 0.85
parse_selectionFunction · 0.85

Tested by

no test coverage detected