MCPcopy Index your code
hub / github.com/alibaba/druid / stringVal

Method stringVal

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

The value of a literal token, recorded as a string. For integers, leading 0x and 'l' suffixes are suppressed.

()

Source from the content-addressed store, hash-verified

3067 * The value of a literal token, recorded as a string. For integers, leading 0x and 'l' suffixes are suppressed.
3068 */
3069 public final String stringVal() {
3070 if (stringVal == null) {
3071 stringVal = subString(mark, bufPos);
3072 }
3073 return stringVal;
3074 }
3075
3076 private void stringVal(StringBuilder out) {
3077 if (stringVal != null) {

Callers 15

test_0Method · 0.95
test_lexerMethod · 0.95
test_lexer2Method · 0.95
test_0Method · 0.95
test_2Method · 0.95
getSimpleSelectValueMethod · 0.95
removeCommentMethod · 0.95
infoMethod · 0.95
parameterizeMethod · 0.95
TDDLHintMethod · 0.95
parseAliasExprMethod · 0.95

Calls 1

subStringMethod · 0.95

Tested by 15

test_0Method · 0.76
test_lexerMethod · 0.76
test_lexer2Method · 0.76
test_0Method · 0.76
test_2Method · 0.76
test_hintMethod · 0.64
test_0Method · 0.64
test_2Method · 0.64
test_3Method · 0.64
test_4Method · 0.64
test_error_0Method · 0.64