MCPcopy Create free account
hub / github.com/questdb/questdb / err

Method err

core/src/main/java/io/questdb/griffin/SqlParser.java:444–446  ·  view source on GitHub ↗
(GenericLexer lexer, @Nullable CharSequence tok, @NotNull String msg)

Source from the content-addressed store, hash-verified

442 }
443
444 private static SqlException err(GenericLexer lexer, @Nullable CharSequence tok, @NotNull String msg) {
445 return SqlException.parserErr(lexer.lastTokenPosition(), tok, msg);
446 }
447
448 private static SqlException errUnexpected(GenericLexer lexer, CharSequence token) {
449 return SqlException.unexpectedToken(lexer.lastTokenPosition(), token);

Callers 9

expectDoubleMethod · 0.95
expectIntMethod · 0.95
expectLongMethod · 0.95
generateColumnAliasMethod · 0.95
notTermTokMethod · 0.95
parseFromClauseMethod · 0.95
parseInsertMethod · 0.95
parseSelectClauseMethod · 0.95

Calls 2

parserErrMethod · 0.95
lastTokenPositionMethod · 0.80

Tested by

no test coverage detected