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

Function parse_fragment_definition

ccan/ccan/graphql/graphql.c:405–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403RET parse_selection_set(PARAMS);
404
405RET parse_fragment_definition(PARAMS) {
406 INIT(fragment_definition);
407 parse_keyword(ARGS, "fragment", "fragment expected"); REQ
408 obj->name = parse_fragment_name(ARGS); REQ
409 obj->type_cond = parse_type_condition(ARGS); REQ
410 obj->directives = parse_directives(ARGS); OPT
411 obj->sel_set = parse_selection_set(ARGS); REQ
412 EXIT;
413}
414
415RET parse_inline_fragment(PARAMS) {
416 INIT(inline_fragment);

Callers 1

Calls 5

parse_keywordFunction · 0.85
parse_fragment_nameFunction · 0.85
parse_type_conditionFunction · 0.85
parse_directivesFunction · 0.85
parse_selection_setFunction · 0.85

Tested by

no test coverage detected