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

Function parse_name

ccan/ccan/graphql/graphql.c:104–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104RET parse_name(PARAMS) {
105 struct graphql_token *tok = list_top(tokens, struct graphql_token, node);
106 if (!tok || tok->token_type != 'a') {
107 *err = "name expected"; return NULL;
108 }
109 CONSUME_ONE;
110 return tok;
111}
112
113RET parse_int(PARAMS) {
114 struct graphql_token *tok = list_top(tokens, struct graphql_token, node);

Callers 10

parse_named_typeFunction · 0.85
parse_variableFunction · 0.85
parse_enum_valueFunction · 0.85
parse_object_fieldFunction · 0.85
parse_fragment_nameFunction · 0.85
parse_aliasFunction · 0.85
parse_argumentFunction · 0.85
parse_directiveFunction · 0.85
parse_fieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected