Searched refs:capture_index (Results 1 – 5 of 5) sorted by relevance
93 fn capture_index() { in capture_index() function
1999 capture_index = None2002 capture_index = i2006 if capture_index is None:2012 placeholder = self.inputs[-len(self._captured_inputs) + capture_index]2028 if capture_index is not None:2029 self._captured_inputs[capture_index] = closure
140 capture_index: Cell::new(0), in build()230 capture_index: Cell<u32>, field417 let current = self.parser().capture_index.get(); in next_capture_index()421 self.parser().capture_index.set(i); in next_capture_index()1199 let capture_index = self.next_capture_index(open_span)?; in parse_group() localVariable1200 let cap = self.parse_capture_name(capture_index)?; in parse_group()1237 let capture_index = self.next_capture_index(open_span)?; in parse_group() localVariable1240 kind: ast::GroupKind::CaptureIndex(capture_index), in parse_group()1255 capture_index: u32, in parse_capture_name()1293 index: capture_index, in parse_capture_name()
1214 pub fn capture_index(&self) -> Option<u32> { in capture_index() method
677 capture_index = outer_fn.graph.internal_captures.index(capture)681 capture = outer_fn.graph.external_captures[capture_index]