Package net.sf.saxon.expr
Class XPathContextMinor.LastValue
- java.lang.Object
-
- net.sf.saxon.expr.XPathContextMinor.LastValue
-
- Enclosing class:
- XPathContextMinor
protected static class XPathContextMinor.LastValue extends java.lang.Object
Container for cached value of the last() function. This is shared between all context objects that share the same current iterator. Introduced in 9.2 to handle the case where a new context is introduced when the current outputter changes, without changing the current iterator: in this case the cached value was being lost because each call on last() used a different context object.