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

Method tokens

Tools/cases_generator/parsing.py:166–169  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

164 self.body.accept(visitor)
165
166 def tokens(self) -> Iterator[lx.Token]:
167 yield self.while_
168 yield from self.condition
169 yield from self.body.tokens()
170
171
172@dataclass

Callers

nothing calls this directly

Calls 1

tokensMethod · 0.45

Tested by

no test coverage detected