public boolean skipMultiple(Token.Kind kind) {
        boolean skipped = false;

        while (hasNext() && current().kind == kind) {
            skipped = true;
            skip();
        }
        return skipped;
    }
Skips one or more tokens of the given kind

@return true if at least one was skipped, false if there was none
container-search/src/main/java/com/yahoo/prelude/query/parser/TokenPosition.java