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

Method accept

Tools/cases_generator/parsing.py:112–116  ·  view source on GitHub ↗
(self, visitor: Visitor)

Source from the content-addressed store, hash-verified

110 self.else_body.print(out)
111
112 def accept(self, visitor: Visitor) -> None:
113 visitor(self)
114 self.body.accept(visitor)
115 if self.else_body is not None:
116 self.else_body.accept(visitor)
117
118 def tokens(self) -> Iterator[lx.Token]:
119 yield self.if_

Callers

nothing calls this directly

Calls 1

acceptMethod · 0.45

Tested by

no test coverage detected