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

Method clear

crates/sre_engine/src/engine.rs:110–114  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

108 }
109
110 fn clear(&mut self) {
111 self.last_index = -1;
112 self.marks.clear();
113 self.marks_stack.clear();
114 }
115}
116
117#[derive(Debug, Default)]

Callers 3

resetMethod · 0.45
search_info_literalFunction · 0.45
search_info_charsetFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected