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

Method qregion

src/licensedcode/match.py:538–543  ·  view source on GitHub ↗

Return the maximal positions Span representing this match from start to end as query positions, including matched and unmatched tokens.

(self)

Source from the content-addressed store, hash-verified

536 )
537
538 def qregion(self):
539 """
540 Return the maximal positions Span representing this match from
541 start to end as query positions, including matched and unmatched tokens.
542 """
543 return Span(self.qstart, self.qend)
544
545 def qregion_len(self):
546 """

Callers 2

get_matching_regionsFunction · 0.80

Calls 1

SpanClass · 0.90

Tested by

no test coverage detected