package org.basex.query.func.xquery;

import static org.basex.util.Token.*;

import org.basex.query.*;
import org.basex.query.util.list.*;

/**
 * Function implementation.
 *
 * @author BaseX Team 2005-18, BSD License
 * @author Christian Gruen
 */
public class XQueryEvalUpdate extends XQueryEval {
  @Override
  protected ItemList eval(final QueryContext qc) throws QueryException {
    return eval(qc, string(toToken(exprs[0], qc)), null, true);
  }
}
