MCPcopy 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
23func (l *lexer) emit() string {
24 ret := l.input[l.start:l.pos]
25 l.start = l.pos
26 return ret
27}
28
29func (l *lexer) accept(valid string) bool {
30 if strings.IndexRune(valid, l.next()) >= 0 {

Callers 3

acceptMethod · 0.95
acceptAnyMethod · 0.95
acceptRunMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected