MCPcopy Create free account
hub / github.com/BaseXdb/basex / next

Method next

basex-core/src/main/java/org/basex/util/TokenParser.java:47–54  ·  view source on GitHub ↗

Returns the current codepoint and advances the cursor. @return current codepoint, or -1

()

Source from the content-addressed store, hash-verified

45 * @return current codepoint, or {@code -1}
46 */
47 public final int next() {
48 final int p = pos;
49 if(p < size) {
50 pos += cl(token, p);
51 return cp(token, p);
52 }
53 return -1;
54 }
55
56 /**
57 * Tries to consume the specified codepoint.

Callers 12

stringLitMethod · 0.95
valueMethod · 0.95
unescapeMethod · 0.95
fieldMethod · 0.95
normalizeMethod · 0.95
presentationMethod · 0.95
IntFormatMethod · 0.95
formatFracMethod · 0.95
formatZoneMethod · 0.95
formatMethod · 0.95
wordMethod · 0.95
checkMethod · 0.95

Calls 2

clMethod · 0.45
cpMethod · 0.45

Tested by 1

stringLitMethod · 0.76