MCPcopy
hub / github.com/cortesi/modd / acceptBareString

Method acceptBareString

conf/lex.go:283–289  ·  view source on GitHub ↗

acceptBareString accepts a bare, unquoted string

()

Source from the content-addressed store, hash-verified

281
282// acceptBareString accepts a bare, unquoted string
283func (l *lexer) acceptBareString() {
284 l.acceptFunc(
285 func(r rune) bool {
286 return !any(r, bareStringDisallowed) && r != eof
287 },
288 )
289}
290
291// acceptWord accepts a lowercase word
292func (l *lexer) acceptWord() {

Callers 1

lexPatternsFunction · 0.80

Calls 2

acceptFuncMethod · 0.95
anyFunction · 0.85

Tested by

no test coverage detected