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

Method resume

Tools/c-analyzer/c_parser/parser/_info.py:92–102  ·  view source on GitHub ↗
(self, remainder=None)

Source from the content-addressed store, hash-verified

90 self._replace(text, start)
91
92 def resume(self, remainder=None):
93 if not self._nested:
94 raise Exception('no nested text to resume')
95 if self._current is None:
96 raise Exception('un-nesting requires active source text')
97 if remainder is None:
98 remainder = self._current.text
99 self._clear()
100 self._current = self._nested.pop()
101 self._current.text += ' ' + remainder
102 self._set_ready()
103
104 def advance(self, remainder, start=None):
105 if self._current is None:

Callers 3

parse_bodyFunction · 0.45
parse_bodyFunction · 0.45
parse_bodyFunction · 0.45

Calls 3

_clearMethod · 0.95
_set_readyMethod · 0.95
popMethod · 0.45

Tested by

no test coverage detected