use of com.google.devtools.build.lib.query2.engine.QueryExpressionMapper in project bazel by bazelbuild.
the class SkyQueryEnvironment method transformParsedQuery.
@Override
public final QueryExpression transformParsedQuery(QueryExpression queryExpression) {
QueryExpressionMapper mapper = getQueryExpressionMapper();
QueryExpression transformedQueryExpression = queryExpression.getMapped(mapper);
LOG.info(String.format("transformed query [%s] to [%s]", Ascii.truncate(queryExpression.toString(), MAX_QUERY_EXPRESSION_LOG_CHARS, "[truncated]"), Ascii.truncate(transformedQueryExpression.toString(), MAX_QUERY_EXPRESSION_LOG_CHARS, "[truncated]")));
return transformedQueryExpression;
}
Aggregations