if (p1.getLength() == 0) {
throw new XPathException(ast.getLine(), ast.getColumn(),
"Second argument of phrase() is empty");
}
final Expression e1 = p1.getExpression(0);
final ExtPhrase phrase = new ExtPhrase(context);
phrase.setLocation(ast.getLine(), ast.getColumn());
phrase.addTerm(e1);
phrase.setPath((PathExpr) params.get(0));
return phrase;
}