Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/barnybug/cli53
/ emit
Method
emit
lexer.go:23–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
}
22
23
func
(l *lexer) emit() string {
24
ret := l.input[l.start:l.pos]
25
l.start = l.pos
26
return
ret
27
}
28
29
func
(l *lexer) accept(valid string) bool {
30
if
strings.IndexRune(valid, l.next()) >= 0 {
Callers
3
accept
Method · 0.95
acceptAny
Method · 0.95
acceptRun
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected