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

Function init_modifier_backtrack

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

Source from the content-addressed store, hash-verified

1267 }
1268
1269 #[test]
1270 fn init_modifier_backtrack() {
1271 // `static x = {` must match with type token `static` (the JS engine
1272 // backtracks the modifier loop) — harmless downstream, but collected.
1273 let f = facts("; static x = {1};\n; static struct cmd t[] = { {0} };");
1274 assert!(f.init_tokens.contains(&"static".to_string()));
1275 assert!(f.init_tokens.contains(&"cmd".to_string()));
1276 }
1277
1278 #[test]

Callers

nothing calls this directly

Calls 1

factsFunction · 0.85

Tested by

no test coverage detected