Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_tokens
Method · 0.95
query_run_tokens_with_unknowns
Function · 0.80
Calls
no outgoing calls
Tested by
1
query_run_tokens_with_unknowns
Function · 0.64