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

Class SimpleStmt

Tools/cases_generator/parsing.py:232–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230
231@dataclass
232class SimpleStmt(Stmt):
233 contents: list[lx.Token]
234
235 def print(self, out:CWriter) -> None:
236 for tkn in self.contents:
237 out.emit(tkn)
238
239 def tokens(self) -> Iterator[lx.Token]:
240 yield from self.contents
241
242 def accept(self, visitor: Visitor) -> None:
243 visitor(self)
244
245 __hash__ = object.__hash__
246
247@dataclass
248class StackEffect(Node):

Callers 1

stmtMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…