public static boolean isString(AbstractToken token) {
        return token != null && ALL_STRINGS.contains(token.getTokenType());
    }
@return A set of {@link TokenType}s that are valid to appear in the query after tokenType.
stroom-query/stroom-query-api/src/main/java/stroom/query/api/token/TokenType.java