protected void consumeNumber() {
            consumeNumber(builder.type().valueType(),
                          f -> builder.cellByDirectIndex(indexes.toSourceValueIndex(), f),
                          d -> builder.cellByDirectIndex(indexes.toSourceValueIndex(), d));
        }
Are there inner square brackets in this or is it just a flat list of numbers until ']'?
vespajlib/src/main/java/com/yahoo/tensor/TensorParser.java