private Token processNewExpression(Token expr, ExpressionFactory expressionFactory, ObjectModel newObjectModel) throws PatternException {
Object result;
try {
Expression newExpression = expressionFactory.getExpression(expr.getStringValue());
result = newExpression.evaluate(newObjectModel);
} catch (ExpressionException e) {
throw new PatternException("Cannot evaluate new expression '" + expr.getStringValue() + "' in expression "
+ "'" + this.originalExpr + "'", e);
}
return new Token(EXPR, result == null ? "" : result.toString());