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

Function graphql_lexparse

ccan/ccan/graphql/graphql.c:960–965  ·  view source on GitHub ↗

Convert input string into AST.

Source from the content-addressed store, hash-verified

958
959// Convert input string into AST.
960const char *graphql_lexparse(const tal_t *ctx, const char *input, struct list_head **tokens, struct graphql_executable_document **doc) {
961 const char *err = graphql_lex(ctx, input, tokens);
962 if (!err)
963 err = graphql_parse(*tokens, doc);
964 return err;
965}
966
967
968

Callers

nothing calls this directly

Calls 2

graphql_lexFunction · 0.85
graphql_parseFunction · 0.85

Tested by

no test coverage detected