use of org.eclipse.persistence.jpa.jpql.parser.KeywordExpression in project eclipselink by eclipse-ee4j.
the class ReportItemBuilder method visit.
@Override
public void visit(KeywordExpression expression) {
Expression queryExpression = queryContext.buildExpression(expression, type);
addAttribute("CONSTANT", queryExpression);
}
use of org.eclipse.persistence.jpa.jpql.parser.KeywordExpression in project eclipselink by eclipse-ee4j.
the class AbstractActualJPQLQueryFormatter method visit.
@Override
public void visit(KeywordExpressionStateObject stateObject) {
if (stateObject.isDecorated()) {
toText(stateObject);
} else {
KeywordExpression expression = stateObject.getExpression();
appendIdentifier((expression != null) ? expression.getActualIdentifier() : stateObject.getText(), stateObject.getText());
}
}
Aggregations