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

Method state

regex/src/dfa.rs:1490–1492  ·  view source on GitHub ↗

Returns a reference to a State given a pointer to it.

(&self, si: StatePtr)

Source from the content-addressed store, hash-verified

1488
1489 /// Returns a reference to a State given a pointer to it.
1490 fn state(&self, si: StatePtr) -> &State {
1491 self.cache.compiled.get_state(si).unwrap()
1492 }
1493
1494 /// Adds the given state to the DFA.
1495 ///

Callers 5

forward_manyMethod · 0.80
exec_atMethod · 0.80
exec_byteMethod · 0.80
clear_cache_and_saveMethod · 0.80
clear_cacheMethod · 0.80

Calls 2

unwrapMethod · 0.80
get_stateMethod · 0.80

Tested by

no test coverage detected