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

Function isReserved

scanner.go:392–399  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

390}
391
392func isReserved(s string) bool {
393 for _, reserved := range tokens[:reservedCount] {
394 if s == reserved {
395 return true
396 }
397 }
398 return false
399}
400
401func (s *scanner) reservedOrName() token {
402 str := s.buffer.String()

Callers 1

undefinedGotoErrorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected