(self, context: Context)
| 111 | yield self.__generate_hit(context, hit, value) |
| 112 | |
| 113 | def node_Bytes(self, context: Context): |
| 114 | try: |
| 115 | value = str(context.node) |
| 116 | except (UnicodeDecodeError, TypeError): |
| 117 | return |
| 118 | |
| 119 | for hit in PatternMatcher.find_matches(value, self.__compiled_signatures): |
| 120 | yield self.__generate_hit(context, hit, value) |
| 121 | |
| 122 | def __generate_hit(self, context: Context, hit, value: str): |
| 123 | score = hit._signature.get("score", 0) |
nothing calls this directly
no test coverage detected