MCPcopy
hub / github.com/python/mypy / accept

Method accept

mypy/nodes.py:2442–2443  ·  view source on GitHub ↗
(self, visitor: ExpressionVisitor[T])

Source from the content-addressed store, hash-verified

2440 self.is_special_form = False
2441
2442 def accept(self, visitor: ExpressionVisitor[T]) -> T:
2443 return visitor.visit_name_expr(self)
2444
2445 def serialize(self) -> JsonDict:
2446 assert False, f"Serializing NameExpr: {self}"

Callers

nothing calls this directly

Calls 1

visit_name_exprMethod · 0.45

Tested by

no test coverage detected