MCPcopy 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
522func (s *scanner) testNext(t rune) (r bool) {
523 if r = s.t == t; r {
524 s.next()
525 }
526 return
527}
528
529func (s *scanner) check(t rune) {
530 if s.t != t {

Callers 12

checkMatchMethod · 0.95
expressionListMethod · 0.80
constructorMethod · 0.80
assignmentMethod · 0.80
forNumericMethod · 0.80
forListMethod · 0.80
ifStatementMethod · 0.80
gotoStatementMethod · 0.80
parameterListMethod · 0.80
localStatementMethod · 0.80
returnStatementMethod · 0.80
statementMethod · 0.80

Calls 1

nextMethod · 0.95

Tested by

no test coverage detected