used to obtain a constant value.
used to obtain a constant value.
isConstant must be true or this will throw.
Use for outputValueCalc.
Use for outputValueCalc.
The whereBlockedLocation is modified via its block(...) method to indicate where the expression blocked (for forward progress checking).
tells us if the property is non-empty.
tells us if the property is non-empty. This is true if it is a constant non-empty expression (that is, is not ""), but it is also true if it is evaluated as a runtime expression that it is not allowed to return "".
Issue: are there properties which are string-valued, and where "" can in fact be returned at run time? Assumed no. This was clarified in an errata to the DFDL spec.
Note use of the stringOf(v)
below.
Note use of the stringOf(v)
below.
Turns out x.toString
creates some crappy printed representations,
particularly for Array[Byte]
. It prints a useless thing like "[@0909280".
Use of stringOf
prints "Array(....)".
The target type of the expression.
The target type of the expression. This is the type that we want the expression to create.