Override where we traverse/access elements.
Override where we traverse/access elements.
The DPath operator, such as, "+", or "idiv"
The DPath operator, such as, "+", or "idiv"
TODO: get more precise line and column information for pointing at sub-regions of large DPath expressions
TODO: get more precise line and column information for pointing at sub-regions of large DPath expressions
We're parsing them, so we should have access to specific locations within the expression.
The target type is defined for simple types.
The target type is defined for simple types. It gives the type that the expression must return. It is the type that the context is expecting or in attribute-grammar terms, the inherited type.
For inputValueCalc, this is the type of the element carrying that property.
For setVariable and newVariableInstance, it is the type of the variable.
For dfdl:length and dfdl:occursCount it is UnsignedInt
For the test properties of assert/discriminator it is Boolean
For the following properties, when their value is an expression the xsdTargetType is NonEmptyString byteOrder, encoding, outputNewLine, escapeCharacter, escapeEscapeCharacter, initiator, terminator, separator, textStandardDecimalSeparator, textStandardGroupingSeparator, textStandardExponentRep, binaryFloatRep, textBooleanFalseRep, textBooleanTrueRep