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

Method fill

regex/src/compile.rs:638–650  ·  view source on GitHub ↗
(&mut self, hole: Hole, goto: InstPtr)

Source from the content-addressed store, hash-verified

636 }
637
638 fn fill(&mut self, hole: Hole, goto: InstPtr) {
639 match hole {
640 Hole::None => {}
641 Hole::One(pc) => {
642 self.insts[pc].fill(goto);
643 }
644 Hole::Many(holes) => {
645 for hole in holes {
646 self.fill(hole, goto);
647 }
648 }
649 }
650 }
651
652 fn fill_to_next(&mut self, hole: Hole) {
653 let next = self.insts.len();

Callers 10

compile_oneMethod · 0.80
compile_manyMethod · 0.80
c_captureMethod · 0.80
c_class_bytesMethod · 0.80
c_concatMethod · 0.80
c_alternateMethod · 0.80
c_repeat_zero_or_moreMethod · 0.80
fill_to_nextMethod · 0.80
compileMethod · 0.80

Calls 5

EmptyLookEnum · 0.85
CharClass · 0.85
BytesClass · 0.85
cloneMethod · 0.80
SplitClass · 0.70

Tested by

no test coverage detected