MCPcopy Create free account
hub / github.com/apache/tomcat / getToken

Method getToken

java/org/apache/tomcat/util/json/JSONParser.java:650–660  ·  view source on GitHub ↗

Get the specific Token.

(int index)

Source from the content-addressed store, hash-verified

648
649 /** Get the specific Token. */
650 final public Token getToken(int index) {
651 Token t = token;
652 for (int i = 0; i < index; i++) {
653 if (t.next != null) {
654 t = t.next;
655 } else {
656 t = t.next = token_source.getNextToken();
657 }
658 }
659 return t;
660 }
661
662 private java.util.List<int[]> jj_expentries = new java.util.ArrayList<int[]>();
663 private int[] jj_expentry;

Callers

nothing calls this directly

Calls 1

getNextTokenMethod · 0.45

Tested by

no test coverage detected