MCPcopy Create free account
hub / github.com/barnybug/cli53 / next

Method next

lexer.go:50–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func (l *lexer) next() (rune rune) {
51 if l.pos >= len(l.input) {
52 l.width = 0
53 return eof
54 }
55 rune, l.width = utf8.DecodeRuneInString(l.input[l.pos:])
56 l.pos += l.width
57 return rune
58}
59
60func (l *lexer) backup() {
61 l.pos -= l.width

Callers 3

acceptMethod · 0.95
acceptAnyMethod · 0.95
acceptRunMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected