(self, cons, _name)
| 41 | self.visit(t, name) |
| 42 | |
| 43 | def visitConstructor(self, cons, _name): |
| 44 | # type: (asdl.Constructor, str) -> None |
| 45 | assert cons.name not in self.constructors |
| 46 | self.constructors[cons.name] = cons |
| 47 | if not cons.fields: |
| 48 | self.fieldless_constructors[cons.name] = cons |
| 49 | for f in cons.fields: |
| 50 | self.visit(f, cons.name) |
| 51 | |
| 52 | def visitField(self, field, name): |
| 53 | # type: (asdl.Field, str) -> None |
nothing calls this directly
no outgoing calls
no test coverage detected