Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/barnybug/cli53
/ lex
Function
lex
lexer.go:18–21 ·
view source on GitHub ↗
(input string)
Source
from the content-addressed store, hash-verified
16
const
eof = -1
17
18
func
lex(input string) *lexer {
19
l := &lexer{input: input}
20
return
l
21
}
22
23
func
(l *lexer) emit() string {
24
ret := l.input[l.start:l.pos]
Callers
1
ParseKeyValues
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected