MCPcopy Index your code
hub / github.com/apache/tomcat / peek

Method peek

java/org/apache/jasper/compiler/ELParser.java:411–417  ·  view source on GitHub ↗
(int advance)

Source from the content-addressed store, hash-verified

409 }
410
411 private char peek(int advance) {
412 int target = index + advance;
413 if (target >= expression.length()) {
414 return (char) -1;
415 }
416 return expression.charAt(target);
417 }
418
419 private int getIndex() {
420 return index;

Callers 1

skipUntilELMethod · 0.95

Calls 2

lengthMethod · 0.80
charAtMethod · 0.80

Tested by

no test coverage detected