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

Class Matcher

src/licensedcode/index.py:1205–1214  ·  view source on GitHub ↗

A matcher used in the match process

Source from the content-addressed store, hash-verified

1203
1204
1205class Matcher(NamedTuple):
1206 """A matcher used in the match process"""
1207 # matcher name used in debugging
1208 name: str
1209 # function to call, passing a query
1210 function: Callable
1211 # whether to inlude low tokens when checking if there are matchable left
1212 include_low: bool
1213 # True if matching should continue after this matcher
1214 continue_matching: bool = True
1215
1216
1217def get_weak_rids(len_legalese, tids_by_rid, _idx):

Callers 1

match_queryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected