MCPcopy Index your code
hub / github.com/RustPython/RustPython / state

Method state

crates/sre_engine/tests/tests.rs:11–15  ·  view source on GitHub ↗
(&self, string: S)

Source from the content-addressed store, hash-verified

9
10impl Pattern {
11 fn state<'a, S: StrDrive>(&self, string: S) -> (Request<'a, S>, State) {
12 let req = Request::new(string, 0, usize::MAX, self.code, false);
13 let state = State::default();
14 (req, state)
15 }
16}
17
18#[test]

Callers 15

test_2427Function · 0.45
test_assertFunction · 0.45
test_string_boundariesFunction · 0.45
test_zerowidthFunction · 0.45
test_double_max_untilFunction · 0.45
test_info_singleFunction · 0.45
test_info_single2Function · 0.45
test_info_literalFunction · 0.45
test_info_literal2Function · 0.45

Calls 1

newFunction · 0.85

Tested by

no test coverage detected