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

Function AST_ParseIntegerNode

src/ast/ast.c:541–549  ·  view source on GitHub ↗

TODO Consider augmenting libcypher-parser so that we don't need to perform this work in-module.

Source from the content-addressed store, hash-verified

539// TODO Consider augmenting libcypher-parser so that we don't need to perform this
540// work in-module.
541inline long AST_ParseIntegerNode
542(
543 const cypher_astnode_t *int_node
544) {
545 ASSERT(int_node);
546
547 const char *value_str = cypher_ast_integer_get_valuestr(int_node);
548 return strtol(value_str, NULL, 0);
549}
550
551bool AST_ClauseContainsAggregation
552(

Callers 4

_Validate_shortest_pathFunction · 0.85
_AR_ExpFromShortestPathFunction · 0.85
_QueryGraphAddEdgeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected