(self)
| 61 | return SchemaNode(tok, data_type, fields) |
| 62 | |
| 63 | def logical_form(self): |
| 64 | if self.depth == 0: |
| 65 | return self.val |
| 66 | else: |
| 67 | fields_str = [x.logical_form() for x in self.fields] |
| 68 | return ' '.join(['(', self.val] + fields_str + [')']) |
| 69 | |
| 70 | # nothing special. just fit legacy code input syle |
| 71 | def compact_logical_form(self): |
no outgoing calls
no test coverage detected