(GenericLexer lexer, String expectedList)
| 5204 | } |
| 5205 | |
| 5206 | private @NotNull CharSequence tok(GenericLexer lexer, String expectedList) throws SqlException { |
| 5207 | final int pos = lexer.getPosition(); |
| 5208 | CharSequence tok = optTok(lexer); |
| 5209 | if (tok == null) { |
| 5210 | throw SqlException.position(pos).put(expectedList).put(" expected"); |
| 5211 | } |
| 5212 | return tok; |
| 5213 | } |
| 5214 | |
| 5215 | private @NotNull CharSequence tokIncludingLocalBrace(GenericLexer lexer, String expectedList) throws SqlException { |
| 5216 | final int pos = lexer.getPosition(); |
no test coverage detected