}
try {
QueryLexer queryLexer = new QueryLexer();
Expression expression = queryLexer.parse(filter);
if (expression.hasFilterPriority()) {
return expression.filter(packageSource.getPackages());
} else {
return expression.execute(packageSource);
}
} catch (NugetFormatException e) {
logger.warn("Ошибка разбора запроса пакетов", e);