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

Function graphql_parse

ccan/ccan/graphql/graphql.c:952–957  ·  view source on GitHub ↗

Convert lexed tokens into AST.

Source from the content-addressed store, hash-verified

950
951// Convert lexed tokens into AST.
952const char *graphql_parse(struct list_head *tokens, struct graphql_executable_document **doc) {
953 struct list_head used = LIST_HEAD_INIT(used);
954 const char *err = NULL;
955 *doc = parse_executable_document(tokens, &used, &err);
956 return err;
957}
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) {

Callers 15

graphql_lexparseFunction · 0.85
check_example_3Function · 0.85
check_example_5Function · 0.85
check_example_6Function · 0.85
check_example_7Function · 0.85
check_example_8Function · 0.85
check_example_9Function · 0.85
check_example_10Function · 0.85
check_example_11Function · 0.85
check_example_12_and_13Function · 0.85
check_example_14Function · 0.85
check_example_16Function · 0.85

Calls 1

Tested by 15

check_example_3Function · 0.68
check_example_5Function · 0.68
check_example_6Function · 0.68
check_example_7Function · 0.68
check_example_8Function · 0.68
check_example_9Function · 0.68
check_example_10Function · 0.68
check_example_11Function · 0.68
check_example_12_and_13Function · 0.68
check_example_14Function · 0.68
check_example_16Function · 0.68
check_example_18Function · 0.68