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

Method process_node

mypy/stats.py:342–346  ·  view source on GitHub ↗
(self, node: Expression)

Source from the content-addressed store, hash-verified

340 # Helpers
341
342 def process_node(self, node: Expression) -> None:
343 if self.all_nodes:
344 if self.typemap is not None:
345 self.line = node.line
346 self.type(self.typemap.get(node))
347
348 def record_precise_if_checked_scope(self, node: Node) -> None:
349 if isinstance(node, Expression) and self.typemap and node not in self.typemap:

Callers 8

visit_name_exprMethod · 0.95
visit_call_exprMethod · 0.95
visit_member_exprMethod · 0.95
visit_op_exprMethod · 0.95
visit_comparison_exprMethod · 0.95
visit_index_exprMethod · 0.95
visit_assignment_exprMethod · 0.95
visit_unary_exprMethod · 0.95

Calls 2

typeMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected