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

Function parse_arguments

ccan/ccan/graphql/graphql.c:336–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336RET parse_arguments(PARAMS) {
337 INIT(arguments);
338 parse_punct(ARGS, '('); REQ
339 obj->first = parse_argument(ARGS); REQ
340 struct graphql_argument *p = obj->first;
341 parse_punct(ARGS, ')');
342 while (*err) {
343 *err = NULL;
344 p->next = parse_argument(ARGS); MSG("expected: argument or ')'"); REQ;
345 p = p->next;
346 parse_punct(ARGS, ')');
347 }
348 EXIT;
349}
350
351RET parse_directive(PARAMS) {
352 INIT(directive);

Callers 2

parse_directiveFunction · 0.85
parse_fieldFunction · 0.85

Calls 2

parse_punctFunction · 0.85
parse_argumentFunction · 0.85

Tested by

no test coverage detected