| 35 | } |
| 36 | |
| 37 | static OpResult AllNodeScanInit(OpBase *opBase) { |
| 38 | AllNodeScan *op = (AllNodeScan *)opBase; |
| 39 | if(opBase->childCount > 0) OpBase_UpdateConsume(opBase, AllNodeScanConsumeFromChild); |
| 40 | else op->iter = Graph_ScanNodes(QueryCtx_GetGraph()); |
| 41 | return OP_OK; |
| 42 | } |
| 43 | |
| 44 | static Record AllNodeScanConsumeFromChild(OpBase *opBase) { |
| 45 | AllNodeScan *op = (AllNodeScan *)opBase; |
nothing calls this directly
no test coverage detected