The general class definition visiting method. Parameters ---------- node : doc.ClassDef The doc AST class definition node. Returns ------- res : Any The visiting result.
(self, node: doc.ClassDef)
| 724 | return _dispatch(self, "tvm_declare_function")(self, node) |
| 725 | |
| 726 | def visit_ClassDef(self, node: doc.ClassDef) -> Any: # pylint: disable=invalid-name |
| 727 | """The general class definition visiting method. |
| 728 | |
| 729 | Parameters |
| 730 | ---------- |
| 731 | node : doc.ClassDef |
| 732 | The doc AST class definition node. |
| 733 | |
| 734 | Returns |
| 735 | ------- |
| 736 | res : Any |
| 737 | The visiting result. |
| 738 | """ |
| 739 | func = dispatch.get(token="ir", type_name="ClassDef", default=None) |
| 740 | if func is None: |
| 741 | self.report_error(node, "The parser does not understand the decorator") |
| 742 | _dispatch_wrapper(func)(self, node) |
| 743 | |
| 744 | def visit_arguments(self, node: doc.arguments) -> Any: |
| 745 | """The general arguments visiting method. |
nothing calls this directly
no test coverage detected