ArraySet set = new ArraySet(1); set.add(node); DocumentSet dset = new DocumentSet(); if(node != null) dset.add(node.doc); double result = getArgument(0).eval(dset, set, node).getNumericValue();
if(node != null) context = new SingleNodeSet(node); double result = getArgument(0).eval(docs, context, node).getNumericValue();
	public Value eval(DocumentSet docs, NodeSet context, NodeProxy node) {		ArraySet set = new ArraySet(1);		set.add(node);		DocumentSet dset = new DocumentSet();		if(node != null) dset.add(node.doc);		double result = getArgument(0).eval(dset, set, node).getNumericValue();		return new ValueNumber(result);	}