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

Function parse_document

ccan/ccan/graphql/graphql.c:509–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507}
508
509RET 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}
519void *currently_unused = parse_document; // to hide the warning till this is used
520
521/* Convert input string into tokens.

Callers

nothing calls this directly

Calls 1

parse_definitionFunction · 0.85

Tested by

no test coverage detected