| 276 | } |
| 277 | |
| 278 | static void _AST_MapRemoveItemReferences |
| 279 | ( |
| 280 | AST *ast, |
| 281 | const cypher_astnode_t *remove_item |
| 282 | ) { |
| 283 | ASSERT(ast != NULL); |
| 284 | ASSERT(remove_item != NULL); |
| 285 | |
| 286 | const cypher_astnode_type_t type = cypher_astnode_type(remove_item); |
| 287 | if(type == CYPHER_AST_REMOVE_LABELS) { |
| 288 | _AST_MapRemoveLabelsReferences(ast, remove_item); |
| 289 | } else if(type == CYPHER_AST_REMOVE_PROPERTY) { |
| 290 | _AST_MapRemovePropertyReferences(ast, remove_item); |
| 291 | } else { |
| 292 | ASSERT(false); |
| 293 | } |
| 294 | } |
| 295 | |
| 296 | // maps entities in REMOVE clause |
| 297 | static void _AST_MapRemoveClauseReferences |
no test coverage detected