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

Function parse_string

ccan/ccan/graphql/graphql.c:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131RET parse_string(PARAMS) {
132 struct graphql_token *tok = list_top(tokens, struct graphql_token, node);
133 if (!tok || tok->token_type != 's') {
134 *err = "string expected"; return NULL;
135 }
136 CONSUME_ONE;
137 return tok;
138}
139
140// The following functions create the branches of the AST.
141

Callers 1

parse_string_valueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected