MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / tokens_with_pos

Method tokens_with_pos

src/licensedcode/query.py:788–789  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

786 return self.query.tokens[self.start: self.end + 1]
787
788 def tokens_with_pos(self):
789 return enumerate(self.tokens, self.start)
790
791 def is_digits_only(self):
792 """

Callers 2

matchable_tokensMethod · 0.95

Calls

no outgoing calls

Tested by 1