MCPcopy Index your code
hub / github.com/python/mypy / visit_Name

Method visit_Name

mypy/fastparse.py:1736–1738  ·  view source on GitHub ↗
(self, n: Name)

Source from the content-addressed store, hash-verified

1734
1735 # Name(identifier id, expr_context ctx)
1736 def visit_Name(self, n: Name) -> NameExpr:
1737 e = NameExpr(n.id)
1738 return self.set_line(e, n)
1739
1740 # List(expr* elts, expr_context ctx)
1741 def visit_List(self, n: ast3.List) -> ListExpr | TupleExpr:

Callers 1

visit_TypeAliasMethod · 0.95

Calls 2

set_lineMethod · 0.95
NameExprClass · 0.90

Tested by

no test coverage detected