MCPcopy Create free account
hub / github.com/awslabs/gap-text2sql / visitProduct

Method visitProduct

rat-sql-gap/seq2struct/ast_util.py:59–63  ·  view source on GitHub ↗
(self, prod, name)

Source from the content-addressed store, hash-verified

57 field.type, name))
58
59 def visitProduct(self, prod, name):
60 # type: (asdl.Product, str) -> None
61 self.product_types[name] = prod
62 for f in prod.fields:
63 self.visit(f, name)
64
65
66SingularType = Union[asdl.Constructor, asdl.Product]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected