MCPcopy Create free account
hub / github.com/donatj/sqlread / selectFromIntoOutfileIntpState

Method selectFromIntoOutfileIntpState

interpreter.go:231–258  ·  view source on GitHub ↗
(l *lexer)

Source from the content-addressed store, hash-verified

229}
230
231func (intp *Intp) selectFromIntoOutfileIntpState(l *lexer) state {
232 l.emit(TIntpIntoOutfile)
233 l.start = l.pos
234
235 if l.accept(whitespace) < 1 {
236 l.emit(TIllegal)
237 return nil
238 }
239
240 l.start = l.pos
241 if !eatString(l) {
242 l.emit(TIllegal)
243 return nil
244 }
245 l.emit(TString)
246
247 l.accept(whitespace)
248 l.start = l.pos
249
250 c := l.next()
251 if c != semi {
252 l.emit(TIllegal)
253 return nil
254 }
255
256 l.emit(TSemi)
257 return nil
258}

Callers

nothing calls this directly

Calls 4

eatStringFunction · 0.85
emitMethod · 0.80
acceptMethod · 0.80
nextMethod · 0.80

Tested by

no test coverage detected