Trait

org.apache.daffodil.grammar

ElementBaseGrammarMixin

Related Doc: package grammar

Permalink

trait ElementBaseGrammarMixin extends InitiatedTerminatedMixin with AlignedMixin with HasStatementsGrammarMixin with PaddingInfoMixin

Self Type
ElementBase
Linear Supertypes
PaddingInfoMixin, HasStatementsGrammarMixin, AlignedMixin, InitiatedTerminatedMixin, DelimitedRuntimeValuedPropertiesMixin, RawDelimitedRuntimeValuedPropertiesMixin, TermRuntimeValuedPropertiesMixin, RawCommonRuntimeValuedPropertiesMixin, PropertyReferencedElementInfosMixin, DFDLBaseTypeMixin, MarkupAGMixin, AlignmentAGMixin, AlignmentUnitsMixin, CommonAGMixin, EncodingErrorPolicyMixin, UTF16WidthMixin, ParseUnparsePolicyMixin, schema.annotation.props.gen.BitOrderMixin, BaseAGMixin, DFDLTypeMixin, PropertyMixin, Logging, Identity, SavesErrorsAndWarnings, ThrowsSDE, FindPropertyMixin, PropTypes, AnnotatedMixin, EscapeSchemeRefMixin, GrammarMixin, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ElementBaseGrammarMixin
  2. PaddingInfoMixin
  3. HasStatementsGrammarMixin
  4. AlignedMixin
  5. InitiatedTerminatedMixin
  6. DelimitedRuntimeValuedPropertiesMixin
  7. RawDelimitedRuntimeValuedPropertiesMixin
  8. TermRuntimeValuedPropertiesMixin
  9. RawCommonRuntimeValuedPropertiesMixin
  10. PropertyReferencedElementInfosMixin
  11. DFDLBaseTypeMixin
  12. MarkupAGMixin
  13. AlignmentAGMixin
  14. AlignmentUnitsMixin
  15. CommonAGMixin
  16. EncodingErrorPolicyMixin
  17. UTF16WidthMixin
  18. ParseUnparsePolicyMixin
  19. BitOrderMixin
  20. BaseAGMixin
  21. DFDLTypeMixin
  22. PropertyMixin
  23. Logging
  24. Identity
  25. SavesErrorsAndWarnings
  26. ThrowsSDE
  27. FindPropertyMixin
  28. PropTypes
  29. AnnotatedMixin
  30. EscapeSchemeRefMixin
  31. GrammarMixin
  32. AnyRef
  33. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type BO = ByteOrder

    Permalink
  2. final type F = (ContentValueReferencedElementInfoMixin) ⇒ Set[DPathElementCompileInfo]

    Permalink
    Attributes
    protected
    Definition Classes
    PropertyReferencedElementInfosMixin
  3. type PropItem = (String, (String, LookupLocation))

    Permalink
    Definition Classes
    PropTypes
  4. type PropMap = Map[String, (String, LookupLocation)]

    Permalink
    Definition Classes
    PropTypes

Abstract Value Members

  1. abstract def SDE(id: String, args: Any*): Nothing

    Permalink
    Definition Classes
    SavesErrorsAndWarnings
  2. abstract def SDEButContinue(str: String, args: Any*): Unit

    Permalink
    Definition Classes
    SavesErrorsAndWarnings
  3. abstract def SDW(warnID: WarnID, str: String, args: Any*): Unit

    Permalink
    Definition Classes
    SavesErrorsAndWarnings
  4. abstract def allowedValue: Gram

    Permalink

    provided by ElementBase for array considerations, and GlobalElementDecl - scalar only

    provided by ElementBase for array considerations, and GlobalElementDecl - scalar only

    Attributes
    protected
  5. abstract def annotationFactory(node: Node): Option[DFDLAnnotation]

    Permalink

    Anything annotated must be able to construct the appropriate DFDLAnnotation object from the xml.

    Anything annotated must be able to construct the appropriate DFDLAnnotation object from the xml.

    Attributes
    protected
    Definition Classes
    AnnotatedMixin
  6. abstract def eBase: ElementBase

    Permalink
    Definition Classes
    PaddingInfoMixin
  7. abstract def emptyFormatFactory: DFDLFormatAnnotation

    Permalink

    Here we establish an invariant which is that every annotatable schema component has, definitely, has an annotation object.

    Here we establish an invariant which is that every annotatable schema component has, definitely, has an annotation object. It may have no properties on it, but it will be there. Hence, we can delegate various property-related attribute calculations to it.

    To realize this, every concrete class must implement (or inherit) an implementation of emptyFormatFactory, which constructs an empty format annotation, and isMyFormatAnnotation which tests if an annotation is the corresponding kind.

    Given that, formatAnnotation then either finds the right annotation, or constructs one, but our invariant is imposed. There *is* a formatAnnotation.

    Attributes
    protected
    Definition Classes
    AnnotatedMixin
  8. abstract def findPropertyOption(pname: String): PropertyLookupResult

    Permalink
    Definition Classes
    FindPropertyMixin
  9. abstract def grammarContext: SchemaComponent

    Permalink

    For unit testing, we want to create GrammarMixin objects that are not schema components.

    For unit testing, we want to create GrammarMixin objects that are not schema components. So we can't use a self-type here. Instead we define this abstract grammarContext.

    Attributes
    protected
    Definition Classes
    GrammarMixin
  10. abstract def isMyFormatAnnotation(a: DFDLAnnotation): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    AnnotatedMixin
  11. abstract def primType: PrimType

    Permalink
  12. abstract def schemaFileLocation: SchemaFileLocation

    Permalink
    Definition Classes
    ThrowsSDE
  13. abstract def statementContentParserReferencedElementInfos: Set[DPathElementCompileInfo]

    Permalink
    Attributes
    protected
    Definition Classes
    PropertyReferencedElementInfosMixin
  14. abstract def statementContentUnparserReferencedElementInfos: Set[DPathElementCompileInfo]

    Permalink
    Attributes
    protected
    Definition Classes
    PropertyReferencedElementInfosMixin
  15. abstract def statementValueParserReferencedElementInfos: Set[DPathElementCompileInfo]

    Permalink
    Attributes
    protected
    Definition Classes
    PropertyReferencedElementInfosMixin
  16. abstract def statementValueUnparserReferencedElementInfos: Set[DPathElementCompileInfo]

    Permalink
    Attributes
    protected
    Definition Classes
    PropertyReferencedElementInfosMixin

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val NYI: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    GrammarMixin
  5. final def SDE(th: Throwable): Nothing

    Permalink
    Definition Classes
    ThrowsSDE
  6. def ThrowSDE: PartialFunction[Throwable, Nothing]

    Permalink
    Definition Classes
    ThrowsSDE
  7. final def alignment: AnyRef

    Permalink
    Definition Classes
    AlignmentAGMixin
  8. def alignmentAGInit(): Unit

    Permalink
    Definition Classes
    AlignmentAGMixin
  9. final def alignmentUnits: AlignmentUnits

    Permalink
    Definition Classes
    AlignmentUnitsMixin
  10. final def alignmentUnitsInit(): Unit

    Permalink
    Definition Classes
    AlignmentUnitsMixin
  11. final def alignmentUnitsToString(): String

    Permalink
    Definition Classes
    AlignmentUnitsMixin
  12. final def alignmentUnits_location: LookupLocation

    Permalink
    Definition Classes
    AlignmentUnitsMixin
  13. final def alignment_location: LookupLocation

    Permalink
    Definition Classes
    AlignmentAGMixin
  14. final lazy val annotationObjs: Seq[DFDLAnnotation]

    Permalink

    The DFDL annotations on the component, as objects that are subtypes of DFDLAnnotation.

    The DFDL annotations on the component, as objects that are subtypes of DFDLAnnotation.

    Definition Classes
    AnnotatedMixin
  15. final def areLogging(lvl: Type): Boolean

    Permalink
    Definition Classes
    Logging
  16. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  17. def baseAGInit(): Unit

    Permalink
    Definition Classes
    BaseAGMixin
  18. final def bitOrder: BitOrder

    Permalink
    Definition Classes
    BitOrderMixin
  19. final def bitOrderInit(): Unit

    Permalink
    Definition Classes
    BitOrderMixin
  20. final def bitOrderToString(): String

    Permalink
    Definition Classes
    BitOrderMixin
  21. final def bitOrder_location: LookupLocation

    Permalink
    Definition Classes
    BitOrderMixin
  22. final lazy val byteOrderRaw: Found

    Permalink
    Attributes
    protected
    Definition Classes
    RawCommonRuntimeValuedPropertiesMixin
  23. final def cacheGetPropertyOption(name: String): Option[String]

    Permalink
    Attributes
    protected
    Definition Classes
    FindPropertyMixin
  24. final def cacheProperty(name: String): Found

    Permalink
    Attributes
    protected
    Definition Classes
    FindPropertyMixin
  25. final def cachePropertyOption(name: String): PropertyLookupResult

    Permalink
    Attributes
    protected
    Definition Classes
    FindPropertyMixin
  26. def calcContentParserReferencedElementInfos: Set[DPathElementCompileInfo]

    Permalink
    Attributes
    protected
    Definition Classes
    PropertyReferencedElementInfosMixin
  27. def calcContentUnparserReferencedElementInfos: Set[DPathElementCompileInfo]

    Permalink
    Attributes
    protected
    Definition Classes
    PropertyReferencedElementInfosMixin
  28. def calcValueParserReferencedElementInfos: Set[DPathElementCompileInfo]

    Permalink
    Attributes
    protected
    Definition Classes
    PropertyReferencedElementInfosMixin
  29. def calcValueUnparserReferencedElementInfos: Set[DPathElementCompileInfo]

    Permalink
    Attributes
    protected
    Definition Classes
    PropertyReferencedElementInfosMixin
  30. final lazy val charsetEv: CharsetEv

    Permalink
  31. final def choiceBranchKey: String

    Permalink
    Definition Classes
    CommonAGMixin
  32. final def choiceBranchKey_location: LookupLocation

    Permalink
    Definition Classes
    CommonAGMixin
  33. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def commonAGInit(): Unit

    Permalink
    Definition Classes
    CommonAGMixin
  35. lazy val contentStartAlignment: AlignmentMultipleOf

    Permalink
    Attributes
    protected
    Definition Classes
    AlignedMixin
  36. def convertToBoolean(pv: String): Boolean

    Permalink
    Definition Classes
    PropertyMixin
  37. def convertToDouble(pv: String): Double

    Permalink
    Definition Classes
    PropertyMixin
  38. def convertToFloat(pv: String): Float

    Permalink
    Definition Classes
    PropertyMixin
  39. def convertToInt(pv: String): Int

    Permalink
    Definition Classes
    PropertyMixin
  40. def convertToNCName(pv: String): String

    Permalink
    Definition Classes
    PropertyMixin
  41. def convertToQName(pv: String): String

    Permalink
    Definition Classes
    PropertyMixin
  42. def convertToString(pv: String): String

    Permalink
    Definition Classes
    PropertyMixin
  43. final lazy val couldBeVariableLengthInfoset: Boolean

    Permalink

    Means the infoset element could have varying length.

    Means the infoset element could have varying length.

    And that means if there is a specified length box to fit it into that we have to check if it is too big/small for the box.

    So that means hexBinary, or representation text (for simple types) or any complex type unless everything in it is fixedLengthInfoset.

    So for example, a complex type containing only fixed length binary integers is itself fixed length.

    Attributes
    protected
  44. def dFDLBaseTypeInit(): Unit

    Permalink
    Definition Classes
    DFDLBaseTypeMixin
  45. def dFDLTypeInit(): Unit

    Permalink
    Definition Classes
    DFDLTypeMixin
  46. lazy val dfdlAppInfos: NodeSeq

    Permalink
    Definition Classes
    AnnotatedMixin
  47. final lazy val dfdlStatementEvaluations: Gram

    Permalink
    Definition Classes
    HasStatementsGrammarMixin
  48. def doLogging(lvl: Type, msg: String, args: Seq[Any]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  49. lazy val elementUnused: ElementUnused

    Permalink
    Attributes
    protected
  50. final lazy val empty: Gram

    Permalink
    Attributes
    protected
  51. val emptyPropMap: dsom.ElementBase.PropMap

    Permalink
    Definition Classes
    PropTypes
  52. lazy val enclosedElement: Gram

    Permalink
    Attributes
    protected
  53. final def enclosedElementNonDefault: Gram

    Permalink
    Attributes
    protected
  54. final def encodingErrorPolicy: EncodingErrorPolicy

    Permalink
    Definition Classes
    EncodingErrorPolicyMixin
  55. final def encodingErrorPolicyInit(): Unit

    Permalink
    Definition Classes
    EncodingErrorPolicyMixin
  56. final def encodingErrorPolicyToString(): String

    Permalink
    Definition Classes
    EncodingErrorPolicyMixin
  57. final def encodingErrorPolicy_location: LookupLocation

    Permalink
    Definition Classes
    EncodingErrorPolicyMixin
  58. final lazy val encodingEv: EncodingEv

    Permalink
  59. final lazy val encodingRaw: Found

    Permalink
    Attributes
    protected
    Definition Classes
    RawCommonRuntimeValuedPropertiesMixin
  60. lazy val endingAlignmentApprox: AlignmentMultipleOf

    Permalink
    Attributes
    protected
    Definition Classes
    AlignedMixin
  61. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  62. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  63. final def fillByte: String

    Permalink
    Definition Classes
    AlignmentAGMixin
  64. final lazy val fillByteRaw: Found

    Permalink
    Attributes
    protected
    Definition Classes
    RawCommonRuntimeValuedPropertiesMixin
  65. final def fillByte_location: LookupLocation

    Permalink
    Definition Classes
    AlignmentAGMixin
  66. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  67. final def findProperty(pname: String): Found

    Permalink
    Definition Classes
    FindPropertyMixin
  68. final lazy val formatAnnotation: DFDLFormatAnnotation

    Permalink
    Definition Classes
    AnnotatedMixin
  69. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  70. def getLogWriter(): LogWriter

    Permalink
    Definition Classes
    Logging
  71. final def getLoggingLevel(): Type

    Permalink
    Definition Classes
    Logging
  72. final def getProperty(pname: String): String

    Permalink
    Definition Classes
    FindPropertyMixin
  73. final def getPropertyOption(pname: String): Option[String]

    Permalink
    Definition Classes
    FindPropertyMixin
  74. lazy val hasDelimiters: Boolean

    Permalink

    True if this term has initiator, terminator, or separator that are either statically present, or there is an expression.

    True if this term has initiator, terminator, or separator that are either statically present, or there is an expression. (Such expressions are not allowed to evaluate to "" - you can't turn off a delimiter by providing "" at runtime. Minimum length is 1 for these at runtime.

    Override in SequenceTermBase to also check for separator.

    Definition Classes
    InitiatedTerminatedMixin
  75. final lazy val hasInitiator: Boolean

    Permalink
    Definition Classes
    InitiatedTerminatedMixin
  76. final lazy val hasNoSkipRegions: Boolean

    Permalink
    Definition Classes
    AlignedMixin
  77. final lazy val hasTerminator: Boolean

    Permalink
    Definition Classes
    InitiatedTerminatedMixin
  78. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  79. val ieee: Ieee.type

    Permalink
  80. final def ignoreCase: YesNo

    Permalink
    Definition Classes
    CommonAGMixin
  81. lazy val ignoreCaseBool: Boolean

    Permalink
  82. final def ignoreCase_location: LookupLocation

    Permalink
    Definition Classes
    CommonAGMixin
  83. final lazy val implicitBinaryLengthInBits: Long

    Permalink
    Attributes
    protected
  84. lazy val initiatorDiscriminator: Gram

    Permalink
    Definition Classes
    InitiatedTerminatedMixin
  85. final lazy val initiatorExpr: CompiledExpression[String]

    Permalink
    Attributes
    protected
    Definition Classes
    DelimitedRuntimeValuedPropertiesMixin
  86. lazy val initiatorItself: Gram

    Permalink
    Definition Classes
    InitiatedTerminatedMixin
  87. final def initiatorLoc: (String, String)

    Permalink
  88. lazy val initiatorParseEv: InitiatorParseEv

    Permalink
  89. final lazy val initiatorRaw: Found

    Permalink
    Attributes
    protected
    Definition Classes
    RawDelimitedRuntimeValuedPropertiesMixin
  90. lazy val initiatorRegion: Gram

    Permalink
    Definition Classes
    InitiatedTerminatedMixin
  91. lazy val initiatorUnparseEv: InitiatorUnparseEv

    Permalink
  92. lazy val isDelimitedPrefixedPattern: Boolean

    Permalink
    Attributes
    protected
  93. lazy val isDelimitedPrefixedPatternWithPadding: Boolean

    Permalink

    true if padding will be inserted for this delimited element when unparsing.

    true if padding will be inserted for this delimited element when unparsing.

    Attributes
    protected
  94. final lazy val isDelimiterKnownToBeTextAligned: Boolean

    Permalink
    Definition Classes
    AlignedMixin
  95. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  96. final def isKnownToBeAligned: Boolean

    Permalink

    true if we can statically determine that the start of this will be properly aligned by where the prior thing left us positioned.

    true if we can statically determine that the start of this will be properly aligned by where the prior thing left us positioned. Hence we are guaranteed to be properly aligned.

    Definition Classes
    AlignedMixin
  97. lazy val isKnownToBeByteAlignedAndByteLength: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    AlignedMixin
  98. final lazy val isKnownToBeTextAligned: Boolean

    Permalink
    Definition Classes
    AlignedMixin
  99. lazy val isLengthKindDelimited: Boolean

    Permalink
  100. final lazy val isSpecifiedLengthForUnparsing: Boolean

    Permalink

    Fixed length, or variable length with explicit length expression.

    Fixed length, or variable length with explicit length expression.

    Attributes
    protected
  101. final lazy val isTruncatable: Boolean

    Permalink

    Only strings can be truncated, only if they are specified length, and only if truncateSpecifiedLengthString is 'yes'.

    Only strings can be truncated, only if they are specified length, and only if truncateSpecifiedLengthString is 'yes'.

    Note that specified length might mean fixed length or variable (but specified) length.

    Attributes
    protected
  102. final def ivcCompiledExpression: CompiledExpression[AnyRef]

    Permalink
    Attributes
    protected
  103. lazy val justificationPad: Type

    Permalink
    Definition Classes
    PaddingInfoMixin
  104. lazy val justificationTrim: Type

    Permalink

    parsingPadChar is the pad character for parsing unparsingPadChar is the pad character for unparsing These are always carried as MaybeChar.

    parsingPadChar is the pad character for parsing unparsingPadChar is the pad character for unparsing These are always carried as MaybeChar.

    We need both, because in the same schema you can have textPadKind="padChar" but textTrimKind="none", so there can't be just one pad char object if it is to carry information about both whether or not a pad character is to be used, and the value.

    Definition Classes
    PaddingInfoMixin
  105. final def leadingSkip: Int

    Permalink
    Definition Classes
    AlignmentAGMixin
  106. lazy val leadingSkipInBits: Int

    Permalink
    Definition Classes
    AlignedMixin
  107. final def leadingSkip_location: LookupLocation

    Permalink
    Definition Classes
    AlignmentAGMixin
  108. final macro def log(lvl: Type, msg: String, args: Any*): Unit

    Permalink
    Definition Classes
    Logging
  109. lazy val logID: String

    Permalink
    Definition Classes
    Logging → Identity
  110. var logLevel: Maybe[Type]

    Permalink
    Definition Classes
    Logging
  111. var logWriter: Maybe[LogWriter]

    Permalink
    Definition Classes
    Logging
  112. def markupAGInit(): Unit

    Permalink
    Definition Classes
    MarkupAGMixin
  113. final lazy val maybeCharsetEv: Maybe[CharsetEv]

    Permalink
  114. final lazy val maybeFillByteEv: Maybe[FillByteEv]

    Permalink
  115. lazy val maybeOutputNewLineEv: Maybe[OutputNewLineEv]

    Permalink

    Use when we might or might not need the outputNewLine property

    Use when we might or might not need the outputNewLine property

    Definition Classes
    TermRuntimeValuedPropertiesMixin
  116. final def mt: Gram

    Permalink
    Attributes
    protected
    Definition Classes
    GrammarMixin
  117. final lazy val mustBeFixedLengthInfoset: Boolean

    Permalink

    Means the specified length must, necessarily, be big enough to hold the representation so long as the value in the infoset is legal for the type.

    Means the specified length must, necessarily, be big enough to hold the representation so long as the value in the infoset is legal for the type.

    This does not include numeric range checking. So for example if you have an xs:unsignedInt but length is 3 bits, this will be true even though an integer value of greater than 7 cannot fit.

    Another way to think of this is that legal infoset values will have fixed length representations.

    This is a conservative analysis, meaning if true the property definitely holds, but if false it may mean we just couldn't tell if it holds or not.

    If this is true, then we never need to check how many bits were written when unparsing, because we know a legal value has to fit. If the value is illegal then we'll get an unparse error anyway.

    If this is false, then it's possible that the value, even a legal value, might not fit if the length is specified. We're unable to prove that all legal values WILL fit.

    A critical case is that fixed length binary integers should always return true here so that we're not doing excess length checks on them Or computing their value length unnecessarily.

    Attributes
    protected
  118. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  119. final def notYetImplemented(msg: String, args: Any*): Nothing

    Permalink
    Definition Classes
    ThrowsSDE
  120. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  121. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  122. final def optionAlignmentUnits: Option[AlignmentUnits]

    Permalink
    Definition Classes
    AlignmentUnitsMixin
  123. final def optionAlignmentUnits_location: Option[LookupLocation]

    Permalink
    Definition Classes
    AlignmentUnitsMixin
  124. final def optionBitOrder: Option[BitOrder]

    Permalink
    Definition Classes
    BitOrderMixin
  125. final def optionBitOrder_location: Option[LookupLocation]

    Permalink
    Definition Classes
    BitOrderMixin
  126. final lazy val optionByteOrderRaw: PropertyLookupResult

    Permalink
    Attributes
    protected
    Definition Classes
    RawCommonRuntimeValuedPropertiesMixin
  127. final def optionEncodingErrorPolicy: Option[EncodingErrorPolicy]

    Permalink
    Definition Classes
    EncodingErrorPolicyMixin
  128. final def optionEncodingErrorPolicy_location: Option[LookupLocation]

    Permalink
    Definition Classes
    EncodingErrorPolicyMixin
  129. final lazy val optionEncodingRaw: PropertyLookupResult

    Permalink
    Attributes
    protected
    Definition Classes
    RawCommonRuntimeValuedPropertiesMixin
  130. final lazy val optionEscapeScheme: Option[DFDLEscapeScheme]

    Permalink

    Changed to use findProperty, and to resolve the namespace properly.

    Changed to use findProperty, and to resolve the namespace properly.

    We lookup a property like escapeSchemeRef, and that actual property binding can be local, in scope, by way of a format reference, etc.

    It's value is a QName, and the definition of the prefix is from the location where we found the property, and NOT where we consume the property.

    Hence, we resolve w.r.t. the location that provided the property.

    The point of findProperty vs. getProperty is just that the former returns both the value, and the object that contained it. That object is what we resolve QNames with respect to.

    Note: Same is needed for properties that have expressions as their values. E.g., consider "{ ../foo:bar/.. }". That foo prefix must be resolved relative to the object where this property was written, not where it is evaluated. (JIRA issue DFDL-77)

    Definition Classes
    EscapeSchemeRefMixin
  131. final lazy val optionFillByteRaw: PropertyLookupResult

    Permalink
    Attributes
    protected
    Definition Classes
    RawCommonRuntimeValuedPropertiesMixin
  132. final lazy val optionInitiatorRaw: PropertyLookupResult

    Permalink
    Attributes
    protected
    Definition Classes
    RawDelimitedRuntimeValuedPropertiesMixin
  133. final lazy val optionOutputNewLineRaw: PropertyLookupResult

    Permalink
    Attributes
    protected
    Definition Classes
    RawCommonRuntimeValuedPropertiesMixin
  134. final def optionParseUnparsePolicy: Option[ParseUnparsePolicy]

    Permalink
    Definition Classes
    ParseUnparsePolicyMixin
  135. final def optionParseUnparsePolicy_location: Option[LookupLocation]

    Permalink
    Definition Classes
    ParseUnparsePolicyMixin
  136. final lazy val optionTerminatorRaw: PropertyLookupResult

    Permalink
    Attributes
    protected
    Definition Classes
    RawDelimitedRuntimeValuedPropertiesMixin
  137. final def optionUTF16Width: Option[UTF16Width]

    Permalink
    Definition Classes
    UTF16WidthMixin
  138. final def optionUTF16Width_location: Option[LookupLocation]

    Permalink
    Definition Classes
    UTF16WidthMixin
  139. lazy val outputNewLineEv: OutputNewLineEv

    Permalink
  140. final lazy val outputNewLineRaw: Found

    Permalink
    Attributes
    protected
    Definition Classes
    RawCommonRuntimeValuedPropertiesMixin
  141. final lazy val ovcCompiledExpression: CompiledExpression[AnyRef]

    Permalink
    Attributes
    protected
  142. final def parseUnparsePolicy: ParseUnparsePolicy

    Permalink
    Definition Classes
    ParseUnparsePolicyMixin
  143. final def parseUnparsePolicyInit(): Unit

    Permalink
    Definition Classes
    ParseUnparsePolicyMixin
  144. final def parseUnparsePolicyToString(): String

    Permalink
    Definition Classes
    ParseUnparsePolicyMixin
  145. final def parseUnparsePolicy_location: LookupLocation

    Permalink
    Definition Classes
    ParseUnparsePolicyMixin
  146. lazy val parsingPadChar: MaybeChar

    Permalink

    parsingPadChar is the pad character for parsing unparsingPadChar is the pad character for unparsing These are always carried as MaybeChar.

    parsingPadChar is the pad character for parsing unparsingPadChar is the pad character for unparsing These are always carried as MaybeChar.

    We need both, because in the same schema you can have textPadKind="padChar" but textTrimKind="none", so there can't be just one pad char object if it is to carry information about both whether or not a pad character is to be used, and the value.

    Definition Classes
    PaddingInfoMixin
  147. def prod(prodName: String)(gram: ⇒ Gram): Gram

    Permalink

    Use when production has no guard, but you want to name the production anyway (for debug visibility perhaps).

    Use when production has no guard, but you want to name the production anyway (for debug visibility perhaps).

    Definition Classes
    GrammarMixin
  148. def prod(prodName: String, guard: Boolean = true, forWhat: ParserOrUnparser = BothParserAndUnparser)(gram: ⇒ Gram): Gram

    Permalink

    Use when production has a guard predicate

    Use when production has a guard predicate

    Definition Classes
    GrammarMixin
  149. final def propExprElts(rawProp: PropertyLookupResult, evArg: ⇒ ContentValueReferencedElementInfoMixin, f: dsom.ElementBase.F): Set[DPathElementCompileInfo]

    Permalink

    Convenience method to make gathering up all elements referenced in expressions easier.

    Convenience method to make gathering up all elements referenced in expressions easier.

    Attributes
    protected
    Definition Classes
    PropertyReferencedElementInfosMixin
  150. def propertyContentReferencedElementInfos: Set[DPathElementCompileInfo]

    Permalink
  151. def propertyValueReferencedElementInfos: Set[DPathElementCompileInfo]

    Permalink
  152. def registerToStringFunction(f: () ⇒ String): Unit

    Permalink
    Definition Classes
    PropertyMixin
  153. final def requireProperty(prop: PropertyLookupResult): Found

    Permalink
    Definition Classes
    FindPropertyMixin
  154. final def schemaDefinitionError(str: String, args: Any*): Nothing

    Permalink
    Definition Classes
    ThrowsSDE
  155. def schemaDefinitionErrorButContinue(str: String, args: Any*): Unit

    Permalink
    Definition Classes
    SavesErrorsAndWarnings
  156. def schemaDefinitionErrorDueToPropertyValue(propertyName: String, propertyValue: String, propertyLocation: LookupLocation, otherPropertyLocation: LookupLocation, str: String, args: Any*): Nothing

    Permalink
    Definition Classes
    SavesErrorsAndWarnings
  157. final macro def schemaDefinitionUnless(testThatWillThrowIfFalse: Boolean, str: String, args: Any*): Unit

    Permalink
    Definition Classes
    ThrowsSDE
  158. macro def schemaDefinitionWarningUnless(warnID: WarnID, testThatWillWarnIfFalse: Boolean, str: String, args: Any*): Unit

    Permalink
    Definition Classes
    SavesErrorsAndWarnings
  159. macro def schemaDefinitionWarningWhen(warnID: WarnID, testThatWillWarnIfTrue: Boolean, str: String, args: Any*): Unit

    Permalink
    Definition Classes
    SavesErrorsAndWarnings
  160. final macro def schemaDefinitionWhen(testThatWillThrowIfTrue: Boolean, str: String, args: Any*): Unit

    Permalink
    Definition Classes
    ThrowsSDE
  161. def setLogWriter(lw: LogWriter): Unit

    Permalink
    Definition Classes
    Logging
  162. def setLoggingLevel(level: Type): Unit

    Permalink
    Definition Classes
    Logging
  163. final lazy val shouldAddFill: Boolean

    Permalink

    We add fill to complex types of specified length so long as length units are bytes/bits.

    We add fill to complex types of specified length so long as length units are bytes/bits. If characters then "pad" puts the characters on.

    We also add it to text elements of variable specified length again, unless length units are in characters.

  164. final lazy val shouldAddPadding: Boolean

    Permalink

    Quite tricky when we add padding or fill

    Quite tricky when we add padding or fill

    For complex types, there has to be a length defined. That's it.

    For simple types, we need the fill region processors to detect excess length

  165. final lazy val shouldCheckExcessLength: Boolean

    Permalink

    Check for excess length if it's variable length and we cannot truncate it.

  166. lazy val stringTruncationType: Type

    Permalink
    Definition Classes
    PaddingInfoMixin
  167. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  168. final lazy val terminatorExpr: CompiledExpression[String]

    Permalink
    Attributes
    protected
    Definition Classes
    DelimitedRuntimeValuedPropertiesMixin
  169. final def terminatorLoc: (String, String)

    Permalink
  170. lazy val terminatorParseEv: TerminatorParseEv

    Permalink
  171. final lazy val terminatorRaw: Found

    Permalink
    Attributes
    protected
    Definition Classes
    RawDelimitedRuntimeValuedPropertiesMixin
  172. lazy val terminatorRegion: Gram

    Permalink
    Definition Classes
    InitiatedTerminatedMixin
  173. lazy val terminatorUnparseEv: TerminatorUnparseEv

    Permalink
  174. final def textBiDi: YesNo

    Permalink
    Definition Classes
    CommonAGMixin
  175. final def textBiDi_location: LookupLocation

    Permalink
    Definition Classes
    CommonAGMixin
  176. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  177. var toStringFunctionList: List[() ⇒ String]

    Permalink
    Definition Classes
    PropertyMixin
  178. final def toss(th: Throwable): Nothing

    Permalink
    Definition Classes
    ThrowsSDE
  179. final def trailingSkip: Int

    Permalink
    Definition Classes
    AlignmentAGMixin
  180. lazy val trailingSkipInBits: Int

    Permalink
    Definition Classes
    AlignedMixin
  181. final def trailingSkip_location: LookupLocation

    Permalink
    Definition Classes
    AlignmentAGMixin
  182. lazy val unparsingPadChar: MaybeChar

    Permalink
    Definition Classes
    PaddingInfoMixin
  183. final def utf16Width: UTF16Width

    Permalink
    Definition Classes
    UTF16WidthMixin
  184. final def utf16WidthInit(): Unit

    Permalink
    Definition Classes
    UTF16WidthMixin
  185. final def utf16WidthToString(): String

    Permalink
    Definition Classes
    UTF16WidthMixin
  186. final def utf16Width_location: LookupLocation

    Permalink
    Definition Classes
    UTF16WidthMixin
  187. final lazy val value: Gram

    Permalink
    Attributes
    protected
  188. final lazy val valueMTA: Gram

    Permalink

    Mandatory text alignment or mta

    Mandatory text alignment or mta

    mta can only apply to things with encodings. No encoding, no MTA.

    In addition, it has to be textual data. Just because there's an encoding in the property environment shouldn't get you an MTA region. It has to be textual.

    Attributes
    protected
  189. def verboseToString: String

    Permalink
    Definition Classes
    PropertyMixin
  190. final def verifyPropValue(key: String, value: String): Boolean

    Permalink
    Definition Classes
    FindPropertyMixin
  191. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  192. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  193. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  194. macro def withLoggingLevel[S](newLevel: Type)(body: ⇒ S): Unit

    Permalink
    Definition Classes
    Logging

Inherited from PaddingInfoMixin

Inherited from HasStatementsGrammarMixin

Inherited from AlignedMixin

Inherited from InitiatedTerminatedMixin

Inherited from DFDLBaseTypeMixin

Inherited from MarkupAGMixin

Inherited from AlignmentAGMixin

Inherited from AlignmentUnitsMixin

Inherited from CommonAGMixin

Inherited from EncodingErrorPolicyMixin

Inherited from UTF16WidthMixin

Inherited from ParseUnparsePolicyMixin

Inherited from schema.annotation.props.gen.BitOrderMixin

Inherited from BaseAGMixin

Inherited from DFDLTypeMixin

Inherited from PropertyMixin

Inherited from Logging

Inherited from Identity

Inherited from SavesErrorsAndWarnings

Inherited from ThrowsSDE

Inherited from FindPropertyMixin

Inherited from PropTypes

Inherited from AnnotatedMixin

Inherited from EscapeSchemeRefMixin

Inherited from GrammarMixin

Inherited from AnyRef

Inherited from Any

Ungrouped