Convert lexed tokens into AST.
| 950 | |
| 951 | // Convert lexed tokens into AST. |
| 952 | const 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. |
| 960 | const char *graphql_lexparse(const tal_t *ctx, const char *input, struct list_head **tokens, struct graphql_executable_document **doc) { |