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

Function parse_variable_definitions

ccan/ccan/graphql/graphql.c:388–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386}
387
388RET parse_variable_definitions(PARAMS) {
389 INIT(variable_definitions);
390 parse_punct(ARGS, '('); REQ
391 obj->first = parse_variable_definition(ARGS); REQ
392 struct graphql_variable_definition *p = obj->first;
393 parse_punct(ARGS, ')');
394 while (*err) {
395 *err = NULL;
396 p->next = parse_variable_definition(ARGS); MSG("expected: variable definition or ')'"); REQ
397 p = p->next;
398 parse_punct(ARGS, ')');
399 }
400 EXIT;
401}
402
403RET parse_selection_set(PARAMS);
404

Callers 1

Calls 2

parse_punctFunction · 0.85

Tested by

no test coverage detected