MCPcopy Create free account
hub / github.com/davidblewett/rure-python / insert

Method insert

regex/src/dfa.rs:1660–1663  ·  view source on GitHub ↗
(&mut self, state: State, si: StatePtr)

Source from the content-addressed store, hash-verified

1658 }
1659
1660 fn insert(&mut self, state: State, si: StatePtr) {
1661 self.map.insert(state.clone(), si);
1662 self.states.push(state);
1663 }
1664
1665 fn clear(&mut self) {
1666 self.map.clear();

Callers 3

exec_byteMethod · 0.45
follow_epsilonsMethod · 0.45
add_stateMethod · 0.45

Calls 2

cloneMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected