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

Function insertValuesState

states.go:63–77  ·  view source on GitHub ↗
(l *lexer)

Source from the content-addressed store, hash-verified

61}
62
63func insertValuesState(l *lexer) state {
64 l.start = l.pos
65 l.accept(whitespace)
66 if l.hasPrefix("VALUES ") {
67 l.pos += 7
68 l.emit(TInsertValues)
69 } else {
70 l.emit(TIllegal)
71 return nil
72 }
73
74 l.accept(whitespace)
75
76 return insertRowsState
77}
78
79func insertRowsState(l *lexer) state {
80 l.start = l.pos

Callers

nothing calls this directly

Calls 3

acceptMethod · 0.80
hasPrefixMethod · 0.80
emitMethod · 0.80

Tested by

no test coverage detected