(l *lexer)
| 238 | } |
| 239 | |
| 240 | func createTableParamState(l *lexer) state { |
| 241 | l.accept(whitespace) |
| 242 | |
| 243 | if l.hasPrefix("PRIMARY KEY ") || l.hasPrefix("KEY ") || l.hasPrefix("CONSTRAINT ") || l.hasPrefix("UNIQUE KEY") || l.hasPrefix(")") { |
| 244 | return createTableDetailState |
| 245 | } |
| 246 | |
| 247 | return identifierStateBuilder(createTableParamTypeState) |
| 248 | } |
| 249 | |
| 250 | func createTableDetailState(l *lexer) state { |
| 251 | l.start = l.pos |
nothing calls this directly
no test coverage detected