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

Method pos

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

Return the current token's position: a 0-based offset from beginning of the raw input stream (before unicode translation)

()

Source from the content-addressed store, hash-verified

3060 * translation)
3061 */
3062 public final int pos() {
3063 return pos;
3064 }
3065
3066 /**
3067 * The value of a literal token, recorded as a string. For integers, leading 0x and 'l' suffixes are suppressed.

Callers 15

test_lexerMethod · 0.95
TDDLHintMethod · 0.95
test_error_0Method · 0.80
test_error_1Method · 0.80
createTokenInfoMethod · 0.80
parseCreateTableMethod · 0.80
acceptKeywordMethod · 0.80
acceptIdentifierMethod · 0.80
acceptMethod · 0.80
parseRefreshMethod · 0.80
parseValueClauseMethod · 0.80

Calls

no outgoing calls

Tested by 3

test_lexerMethod · 0.76
test_error_0Method · 0.64
test_error_1Method · 0.64