Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Shopify/go-lua
/ testNext
Method
testNext
scanner.go:522–527 ·
view source on GitHub ↗
(t rune)
Source
from the content-addressed store, hash-verified
520
}
521
522
func
(s *scanner) testNext(t rune) (r bool) {
523
if
r = s.t == t; r {
524
s.next()
525
}
526
return
527
}
528
529
func
(s *scanner) check(t rune) {
530
if
s.t != t {
Callers
12
checkMatch
Method · 0.95
expressionList
Method · 0.80
constructor
Method · 0.80
assignment
Method · 0.80
forNumeric
Method · 0.80
forList
Method · 0.80
ifStatement
Method · 0.80
gotoStatement
Method · 0.80
parameterList
Method · 0.80
localStatement
Method · 0.80
returnStatement
Method · 0.80
statement
Method · 0.80
Calls
1
next
Method · 0.95
Tested by
no test coverage detected