acceptBareString accepts a bare, unquoted string
()
| 281 | |
| 282 | // acceptBareString accepts a bare, unquoted string |
| 283 | func (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 |
| 292 | func (l *lexer) acceptWord() { |
no test coverage detected