Return a hash from the matched itoken ids.
(self, idx)
| 744 | yield token |
| 745 | |
| 746 | def itokens_hash(self, idx): |
| 747 | """ |
| 748 | Return a hash from the matched itoken ids. |
| 749 | """ |
| 750 | from licensedcode.match_hash import index_hash |
| 751 | itokens = list(self.itokens(idx)) |
| 752 | if itokens: |
| 753 | return index_hash(itokens) |
| 754 | |
| 755 | # FIXME: this should be done for all the matches found in a given scanned |
| 756 | # location at once to avoid reprocessing many times the original text |
nothing calls this directly
no test coverage detected