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

Method tokens

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

Source from the content-addressed store, hash-verified

142 self.body.accept(visitor)
143
144 def tokens(self) -> Iterator[lx.Token]:
145 yield self.for_
146 yield from self.header
147 yield from self.body.tokens()
148
149
150@dataclass

Callers

nothing calls this directly

Calls 1

tokensMethod · 0.45

Tested by

no test coverage detected