Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/yuin/gopher-lua
/ Matches
Method
Matches
pm/pm.go:244–251 ·
view source on GitHub ↗
(ch int)
Source
from the content-addressed store, hash-verified
242
}
243
244
func
(pn *setClass) Matches(ch int) bool {
245
for
_, class :=
range
pn.Classes {
246
if
class.Matches(ch) {
247
return
!pn.IsNot
248
}
249
}
250
return
pn.IsNot
251
}
252
253
type
rangeClass
struct
{
254
Begin class
Callers
nothing calls this directly
Calls
1
Matches
Method · 0.65
Tested by
no test coverage detected