MCPcopy
hub / github.com/alibaba/druid / token

Method token

core/src/main/java/com/alibaba/druid/sql/parser/Lexer.java:298–300  ·  view source on GitHub ↗

Return the current token, set by nextToken().

()

Source from the content-addressed store, hash-verified

296 * Return the current token, set by nextToken().
297 */
298 public final Token token() {
299 return token;
300 }
301
302 public boolean nextIf(Token token) {
303 if (this.token == token) {

Callers 15

test_0Method · 0.95
test_lexerMethod · 0.95
test_lexer2Method · 0.95
test_0Method · 0.95
hashMethod · 0.95
getAllTokensMethod · 0.95
startsWithHintMethod · 0.95
TDDLHintMethod · 0.95
evaluateMethod · 0.95
fileTestMethod · 0.80

Calls

no outgoing calls

Tested by 15

test_0Method · 0.76
test_lexerMethod · 0.76
test_lexer2Method · 0.76
test_0Method · 0.76
fileTestMethod · 0.64
test_hintMethod · 0.64
test_keywordsMethod · 0.64
test_keywordsMethod · 0.64
test_x1Method · 0.64
test_keywordsMethod · 0.64
test_keywordsMethod · 0.64