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

Method visitSum

Parser/asdl_c.py:587–591  ·  view source on GitHub ↗
(self, sum, name)

Source from the content-addressed store, hash-verified

585 self.emit("%s %s;" % (ctype, a.name), 1)
586
587 def visitSum(self, sum, name):
588 if is_simple(sum):
589 self.simpleSum(sum, name)
590 else:
591 self.complexSum(sum, name)
592
593 def visitProduct(self, prod, name):
594 ctype = get_c_type(name)

Callers

nothing calls this directly

Calls 3

simpleSumMethod · 0.95
complexSumMethod · 0.95
is_simpleFunction · 0.85

Tested by

no test coverage detected