MCPcopy Create free account
hub / github.com/ParzivalHack/PySpector / new

Method new

src/pyspector/_rust_core/src/graph/representation.rs:21–23  ·  view source on GitHub ↗
(id: BlockId)

Source from the content-addressed store, hash-verified

19
20impl BasicBlock {
21 pub fn new(id: BlockId) -> Self {
22 Self { id, statements: Vec::new(), predecessors: HashSet::new(), successors: HashMap::new() }
23 }
24}
25
26#[derive(Debug, Default, Clone)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected