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

Function isDecimal

scanner.go:85–85  ·  view source on GitHub ↗
(c rune)

Source from the content-addressed store, hash-verified

83func (s *scanner) numberError() { s.scanError("malformed number", tkNumber) }
84func isNewLine(c rune) bool { return c == '\n' || c == '\r' }
85func isDecimal(c rune) bool { return '0' <= c && c <= '9' }
86
87func (s *scanner) tokenToString(t rune) string {
88 switch {

Callers 4

readDigitsMethod · 0.85
readNumberMethod · 0.85
readDecimalEscapeMethod · 0.85
readStringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected