(self, class_type, method_name)
| 41 | super().__init__("SmallVectorImplMatcher") |
| 42 | |
| 43 | def match(self, class_type, method_name): |
| 44 | if re.match("^megdnn::SmallVector(Impl)?<.*>", class_type.tag): |
| 45 | if method_name == "at": |
| 46 | return SmallVectorImplWorker_at(class_type.template_argument(0)) |
| 47 | if method_name == "operator[]": |
| 48 | return SmallVectorImplWorker_at(class_type.template_argument(0)) |
| 49 | if method_name == "size": |
| 50 | return SmallVectorImplWorker_size(class_type.template_argument(0)) |
| 51 | |
| 52 | |
| 53 | if sys.version_info.major > 2: |
no test coverage detected