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

Function parse_directive

ccan/ccan/graphql/graphql.c:351–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351RET parse_directive(PARAMS) {
352 INIT(directive);
353 parse_punct(ARGS, '@'); REQ
354 obj->name = parse_name(ARGS); REQ
355 obj->args = parse_arguments(ARGS); OPT
356 EXIT;
357}
358
359RET parse_directives(PARAMS) {
360 INIT(directives);

Callers 1

parse_directivesFunction · 0.85

Calls 3

parse_punctFunction · 0.85
parse_nameFunction · 0.85
parse_argumentsFunction · 0.85

Tested by

no test coverage detected