MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / buildAST

Function buildAST

tests/unit/test_referenced_entities.c:21–28  ·  view source on GitHub ↗

parse query to AST

Source from the content-addressed store, hash-verified

19
20// parse query to AST
21AST *buildAST
22(
23 const char *query
24) {
25 cypher_parse_result_t *parse_result =
26 cypher_parse(query, NULL, NULL, CYPHER_PARSE_ONLY_STATEMENTS);
27 return AST_Build(parse_result);
28}
29
30uint *getASTSegmentIndices(AST *ast) {
31 // retrieve the indices of each WITH clause

Callers 7

test_matchFunction · 0.85
test_setFunction · 0.85
test_mergeFunction · 0.85
test_unwindFunction · 0.85
test_withFunction · 0.85
test_returnFunction · 0.85
test_namePathFunction · 0.85

Calls 1

AST_BuildFunction · 0.85

Tested by

no test coverage detected