evalRaw method

Object evalRaw(
  1. DataInstance? model,
  2. EvaluationContext context
)

The unpacked value. An XPathUnsupportedException is re-thrown with the source text as its detail, as JavaRosa does.

Implementation

Object evalRaw(DataInstance? model, EvaluationContext context) {
  try {
    return unpack(expr.eval(model, context));
  } on XPathUnsupportedException {
    if (xpath != null) throw XPathUnsupportedException(xpath);
    rethrow;
  }
}