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

Method visitSum

rat-sql-gap/seq2struct/ast_util.py:37–41  ·  view source on GitHub ↗
(self, sum_, name)

Source from the content-addressed store, hash-verified

35 self.visit(type_.value, str(type_.name))
36
37 def visitSum(self, sum_, name):
38 # type: (asdl.Sum, str) -> None
39 self.sum_types[name] = sum_
40 for t in sum_.types:
41 self.visit(t, name)
42
43 def visitConstructor(self, cons, _name):
44 # type: (asdl.Constructor, str) -> None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected