private void add(JsonToken token, String name, String text) {
        tokens.add(new Token(token, name, text));
    }
Returns a sequence of remaining tokens in this, or nulls when none remain.
This may fill the token buffer, but not otherwise modify it.
document/src/main/java/com/yahoo/document/json/TokenBuffer.java