MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / dispatch_backtracks_segments

Function dispatch_backtracks_segments

codegraph-kernel/src/cfnptr.rs:1306–1311  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1304 }
1305
1306 #[test]
1307 fn dispatch_backtracks_segments() {
1308 let f = facts("int go(struct c *x){ x->cmd->proc(1); tbl[i](2); (*ops[k])(3); }");
1309 assert!(f.dispatch_fields.contains(&"proc".to_string()));
1310 assert!(f.array_dispatch_names.contains(&"tbl".to_string()));
1311 assert!(f.array_dispatch_names.contains(&"ops".to_string()));
1312 }
1313
1314 #[test]

Callers

nothing calls this directly

Calls 1

factsFunction · 0.85

Tested by

no test coverage detected