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

Method visitField

rat-sql-gap/seq2struct/ast_util.py:52–57  ·  view source on GitHub ↗
(self, field, name)

Source from the content-addressed store, hash-verified

50 self.visit(f, cons.name)
51
52 def visitField(self, field, name):
53 # type: (asdl.Field, str) -> None
54 # pylint: disable=no-self-use
55 if field.name is None:
56 raise ValueError('Field of type {} in {} lacks name'.format(
57 field.type, name))
58
59 def visitProduct(self, prod, name):
60 # type: (asdl.Product, str) -> None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected