use of org.eclipse.wst.xml.xpath2.processor.internal.ast.CntxItemExpr in project webtools.sourceediting by eclipse.
the class DefaultEvaluator method visit.
/**
* visit context item expression.
*
* @param e
* is the context item expression.
* @return a result sequence
*/
public Object visit(CntxItemExpr e) {
ResultBuffer rs = new ResultBuffer();
AnyType contextItem = focus().context_item();
if (contextItem == null) {
report_error(DynamicError.contextUndefined());
}
rs.add(contextItem);
return rs.getSequence();
}
Aggregations