MCPcopy Index your code
hub / github.com/python/cpython / _loop0_1

Method _loop0_1

Tools/peg_generator/pegen/grammar_parser.py:676–688  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

674
675 @memoize
676 def _loop0_1(self) -> Optional[Any]:
677 # _loop0_1: ',' flag
678 mark = self._mark()
679 children = []
680 while (
681 (literal := self.expect(','))
682 and
683 (elem := self.flag())
684 ):
685 children.append(elem)
686 mark = self._mark()
687 self._reset(mark)
688 return children
689
690 @memoize
691 def _gather_2(self) -> Optional[Any]:

Callers 1

_gather_2Method · 0.95

Calls 4

flagMethod · 0.95
expectMethod · 0.45
appendMethod · 0.45
_resetMethod · 0.45

Tested by

no test coverage detected