MCPcopy Index your code
hub / github.com/Shopify/go-lua / check

Method check

scanner.go:529–533  ·  view source on GitHub ↗
(t rune)

Source from the content-addressed store, hash-verified

527}
528
529func (s *scanner) check(t rune) {
530 if s.t != t {
531 s.errorExpected(t)
532 }
533}
534
535func (s *scanner) checkMatch(what, who rune, where int) {
536 if !s.testNext(what) {

Callers 3

checkNameMethod · 0.80
checkNextMethod · 0.80
mainFunctionMethod · 0.80

Calls 1

errorExpectedMethod · 0.95

Tested by

no test coverage detected