Trait

org.apache.daffodil.grammar

ElementBaseGrammarMixin

Related Doc: package grammar

Permalink

trait ElementBaseGrammarMixin extends InitiatedTerminatedMixin with AlignedMixin with HasStatementsGrammarMixin with PaddingInfoMixin with ElementBaseRuntime1Mixin

Self Type
ElementBase
Linear Supertypes
ElementBaseRuntime1Mixin, PaddingInfoMixin, HasStatementsGrammarMixin, AlignedMixin, InitiatedTerminatedMixin, DelimitedRuntimeValuedPropertiesMixin, RawDelimitedRuntimeValuedPropertiesMixin, TermRuntimeValuedPropertiesMixin, RawCommonRuntimeValuedPropertiesMixin, ChoiceAGMixin, ChoiceLengthKindMixin, PropertyReferencedElementInfosMixin, DFDLBaseTypeMixin, MarkupAGMixin, AlignmentAGMixin, AlignmentUnitsMixin, CommonAGMixin, EncodingErrorPolicyMixin, UTF16WidthMixin, ParseUnparsePolicyMixin, schema.annotation.props.gen.BitOrderMixin, BaseAGMixin, DFDLTypeMixin, PropertyMixin, Logging, Identity, SavesErrorsAndWarnings, ThrowsSDE, FindPropertyMixin, PropTypes, AnnotatedMixin, GrammarMixin, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ElementBaseGrammarMixin
  2. ElementBaseRuntime1Mixin
  3. PaddingInfoMixin
  4. HasStatementsGrammarMixin
  5. AlignedMixin
  6. InitiatedTerminatedMixin
  7. DelimitedRuntimeValuedPropertiesMixin
  8. RawDelimitedRuntimeValuedPropertiesMixin
  9. TermRuntimeValuedPropertiesMixin
  10. RawCommonRuntimeValuedPropertiesMixin
  11. ChoiceAGMixin
  12. ChoiceLengthKindMixin
  13. PropertyReferencedElementInfosMixin
  14. DFDLBaseTypeMixin
  15. MarkupAGMixin
  16. AlignmentAGMixin
  17. AlignmentUnitsMixin
  18. CommonAGMixin
  19. EncodingErrorPolicyMixin
  20. UTF16WidthMixin
  21. ParseUnparsePolicyMixin
  22. BitOrderMixin
  23. BaseAGMixin
  24. DFDLTypeMixin
  25. PropertyMixin
  26. Logging
  27. Identity
  28. SavesErrorsAndWarnings
  29. ThrowsSDE
  30. FindPropertyMixin
  31. PropTypes
  32. AnnotatedMixin
  33. GrammarMixin
  34. AnyRef
  35. 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 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
  5. abstract def eBase: ElementBase

    Permalink
    Attributes
    protected
    Definition Classes
    PaddingInfoMixin
  6. 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
  7. 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
  8. abstract def isMyFormatAnnotation(a: DFDLAnnotation): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    AnnotatedMixin
  9. abstract def lookupProperty(pname: String): PropertyLookupResult

    Permalink
    Attributes
    protected
    Definition Classes
    FindPropertyMixin
  10. abstract def primType: PrimType

    Permalink
  11. abstract def schemaFileLocation: SchemaFileLocation

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    PropertyReferencedElementInfosMixin
  15. 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. lazy val binaryNumberKnownLengthInBits: Long

    Permalink

    Property consistency check for called for all binary numbers

    Property consistency check for called for all binary numbers

    Returns -1 if the binary number is not of known length,or is of a lengthKind inconsistent with knowing the length.

    SDE if the lengthKind is inconsistent with binary numbers, not yet implemented for binary numbers, or not supported by Daffodil.

    Attributes
    protected
  19. final def bitOrder: BitOrder

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

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

    Permalink
    Definition Classes
    BitOrderMixin
  22. final def bitOrder_location: LookupLocation

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

    Permalink
    Attributes
    protected
    Definition Classes
    RawCommonRuntimeValuedPropertiesMixin
  24. def calcContentParserReferencedElementInfos: Set[DPathElementCompileInfo]

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

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

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

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

    Permalink
  29. def choiceAGInit(): Unit

    Permalink
    Definition Classes
    ChoiceAGMixin
  30. final def choiceBranchKey: String

    Permalink
    Definition Classes
    CommonAGMixin
  31. final def choiceBranchKeyKind: ChoiceKeyKindType

    Permalink
    Definition Classes
    ChoiceAGMixin
  32. final def choiceBranchKeyKind_location: LookupLocation

    Permalink
    Definition Classes
    ChoiceAGMixin
  33. final def choiceBranchKeyRanges: String

    Permalink
    Definition Classes
    CommonAGMixin
  34. final def choiceBranchKeyRanges_location: LookupLocation

    Permalink
    Definition Classes
    CommonAGMixin
  35. final def choiceBranchKey_location: LookupLocation

    Permalink
    Definition Classes
    CommonAGMixin
  36. final def choiceDispatchKeyKind: ChoiceKeyKindType

    Permalink
    Definition Classes
    ChoiceAGMixin
  37. final def choiceDispatchKeyKind_location: LookupLocation

    Permalink
    Definition Classes
    ChoiceAGMixin
  38. final def choiceLength: Int

    Permalink
    Definition Classes
    ChoiceAGMixin
  39. final def choiceLengthKind: ChoiceLengthKind

    Permalink
    Definition Classes
    ChoiceLengthKindMixin
  40. final def choiceLengthKindInit(): Unit

    Permalink
    Definition Classes
    ChoiceLengthKindMixin
  41. final def choiceLengthKindToString(): String

    Permalink
    Definition Classes
    ChoiceLengthKindMixin
  42. final def choiceLengthKind_location: LookupLocation

    Permalink
    Definition Classes
    ChoiceLengthKindMixin
  43. final lazy val choiceLengthRaw: Found

    Permalink
    Attributes
    protected
    Definition Classes
    RawDelimitedRuntimeValuedPropertiesMixin
  44. final def choiceLength_location: LookupLocation

    Permalink
    Definition Classes
    ChoiceAGMixin
  45. def clone(): AnyRef

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

    Permalink
    Definition Classes
    CommonAGMixin
  47. def computeElementRuntimeData(): ElementRuntimeData

    Permalink
    Attributes
    protected
    Definition Classes
    ElementBaseRuntime1Mixin
  48. lazy val contentStartAlignment: AlignmentMultipleOf

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

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

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

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

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

    Permalink
    Definition Classes
    PropertyMixin
  54. def convertToQName(pv: String, pl: LookupLocation): RefQName

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

    Permalink
    Definition Classes
    PropertyMixin
  56. 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
  57. def dFDLBaseTypeInit(): Unit

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

    Permalink
    Definition Classes
    DFDLTypeMixin
  59. lazy val dfdlAppInfos: NodeSeq

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  62. final lazy val dpathCompileInfo: DPathElementCompileInfo

    Permalink
    Definition Classes
    ElementBaseRuntime1Mixin
  63. lazy val dpathElementCompileInfo: DPathElementCompileInfo

    Permalink

    This is the compile info for this element term.

    This is the compile info for this element term.

    Definition Classes
    ElementBaseRuntime1Mixin
  64. final def eci: DPathElementCompileInfo

    Permalink

    Just an abbrev.

    Just an abbrev. analogous to erd, trd, etc.

    Definition Classes
    ElementBaseRuntime1Mixin
  65. final lazy val elementRuntimeData: ElementRuntimeData

    Permalink
    Definition Classes
    ElementBaseRuntime1Mixin
  66. lazy val elementSpecifiedLengthApprox: LengthApprox

    Permalink
    Attributes
    protected
    Definition Classes
    AlignedMixin
  67. final lazy val empty: Gram

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

    Permalink
    Definition Classes
    PropTypes
  69. lazy val enclosedElement: Gram

    Permalink
  70. final def enclosedElementNonDefault: Gram

    Permalink
    Attributes
    protected
  71. final def encodingErrorPolicy: EncodingErrorPolicy

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

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

    Permalink
    Definition Classes
    EncodingErrorPolicyMixin
  74. final def encodingErrorPolicy_location: LookupLocation

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

    Permalink
  76. final lazy val encodingRaw: Found

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  80. final def erd: ElementRuntimeData

    Permalink
    Definition Classes
    ElementBaseRuntime1Mixin
  81. final def fillByte: String

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

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

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

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

    Permalink
    Definition Classes
    FindPropertyMixin
  86. def findPropertyOption(pname: String): PropertyLookupResult

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

    Permalink
    Definition Classes
    AnnotatedMixin
  88. final lazy val formatAnnotationExpectedName: String

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

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

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

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

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

    Permalink
    Definition Classes
    FindPropertyMixin
  94. 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
  95. lazy val hasInitiator: Boolean

    Permalink

    True if the term has an initiator expressed on it.

    True if the term has an initiator expressed on it.

    Do not confuse with the concept of the delimiter being able to match or not match zero-length data. Whether the representation of a term in the data stream "has an initiator", as in the initator occupies a non-zero number of bits in the data stream, is an entirely different question.

    Definition Classes
    InitiatedTerminatedMixin
  96. final lazy val hasNoSkipRegions: Boolean

    Permalink
    Definition Classes
    AlignedMixin
  97. lazy val hasRepType: Boolean

    Permalink
  98. lazy val hasTerminator: Boolean

    Permalink

    True if the term has a terminator expressed on it.

    True if the term has a terminator expressed on it.

    Do not confuse with the concept of the delimiter being able to match or not match zero-length data. Whether the representation of a term in the data stream "has a terminator", as in the terminator occupies a non-zero number of bits, is an entirely different question.

    Definition Classes
    InitiatedTerminatedMixin
  99. def hashCode(): Int

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

    Permalink
  101. final def ignoreCase: YesNo

    Permalink
    Definition Classes
    CommonAGMixin
  102. lazy val ignoreCaseBool: Boolean

    Permalink
  103. final def ignoreCase_location: LookupLocation

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

    Permalink
    Attributes
    protected
  105. final lazy val initiatorExpr: CompiledExpression[String]

    Permalink
    Attributes
    protected
    Definition Classes
    DelimitedRuntimeValuedPropertiesMixin
  106. final def initiatorLoc: (String, String)

    Permalink
  107. lazy val initiatorParseEv: InitiatorParseEv

    Permalink
  108. final lazy val initiatorRaw: Found

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

    Permalink
    Definition Classes
    InitiatedTerminatedMixin
  110. lazy val initiatorUnparseEv: InitiatorUnparseEv

    Permalink
  111. lazy val isDelimitedPrefixedPattern: Boolean

    Permalink
    Attributes
    protected
  112. 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
  113. final lazy val isDelimiterKnownToBeTextAligned: Boolean

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

    Permalink
    Definition Classes
    Any
  115. final lazy val 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
  116. lazy val isKnownToBeByteAlignedAndByteLength: Boolean

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

    Permalink

    True if alignment for a text feature of this Term (e.g., an initiator) is provably not needed, either because there is no requirement for such alignment, or we can prove that the required alignment is already established.

    True if alignment for a text feature of this Term (e.g., an initiator) is provably not needed, either because there is no requirement for such alignment, or we can prove that the required alignment is already established.

    This goes further TermEncodingMixin.hasTextAlignment because it considers the surrounding context meeting the alignment needs.

    Definition Classes
    AlignedMixin
  118. 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
  119. 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
  120. final def ivcCompiledExpression: CompiledExpression[AnyRef]

    Permalink
    Attributes
    protected
  121. lazy val justificationPad: Type

    Permalink
    Definition Classes
    PaddingInfoMixin
  122. 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
  123. final def leadingSkip: Int

    Permalink
    Definition Classes
    AlignmentAGMixin
  124. lazy val leadingSkipInBits: Int

    Permalink
    Definition Classes
    AlignedMixin
  125. final def leadingSkip_location: LookupLocation

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

    Permalink
    Definition Classes
    Logging
  127. lazy val logID: String

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

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

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

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

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

    Permalink
  133. 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
  134. final def mt: Gram

    Permalink
    Attributes
    protected
    Definition Classes
    GrammarMixin
  135. 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
  136. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  140. lazy val optRepType: Option[SimpleTypeBase]

    Permalink
  141. lazy val optRepTypeElement: Option[RepTypeQuasiElementDecl]

    Permalink
  142. final def optionAlignmentUnits: Option[AlignmentUnits]

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    RawCommonRuntimeValuedPropertiesMixin
  147. final def optionChoiceLengthKind: Option[ChoiceLengthKind]

    Permalink
    Definition Classes
    ChoiceLengthKindMixin
  148. final def optionChoiceLengthKind_location: Option[LookupLocation]

    Permalink
    Definition Classes
    ChoiceLengthKindMixin
  149. final lazy val optionChoiceLengthRaw: PropertyLookupResult

    Permalink
    Attributes
    protected
    Definition Classes
    RawDelimitedRuntimeValuedPropertiesMixin
  150. final def optionEncodingErrorPolicy: Option[EncodingErrorPolicy]

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    RawCommonRuntimeValuedPropertiesMixin
  153. final lazy val optionFillByteRaw: PropertyLookupResult

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    UTF16WidthMixin
  161. lazy val outputNewLineEv: OutputNewLineEv

    Permalink
  162. final lazy val outputNewLineRaw: Found

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

    Permalink
    Attributes
    protected
  164. final def parseUnparsePolicy: ParseUnparsePolicy

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

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

    Permalink
    Definition Classes
    ParseUnparsePolicyMixin
  167. final def parseUnparsePolicy_location: LookupLocation

    Permalink
    Definition Classes
    ParseUnparsePolicyMixin
  168. lazy val parsedValue: Gram

    Permalink
  169. 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
  170. final lazy val prefixedLengthAdjustmentInUnits: Long

    Permalink
  171. final lazy val prefixedLengthBody: Gram

    Permalink
  172. final lazy val prefixedLengthElementDecl: PrefixLengthQuasiElementDecl

    Permalink
  173. 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
  174. 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
  175. val propCache: LinkedHashMap[String, PropertyLookupResult]

    Permalink
    Definition Classes
    FindPropertyMixin
  176. 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
  177. def propertyContentReferencedElementInfos: Set[DPathElementCompileInfo]

    Permalink
  178. def propertyValueReferencedElementInfos: Set[DPathElementCompileInfo]

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

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

    Permalink
    Definition Classes
    FindPropertyMixin
  181. lazy val runtimeData: RuntimeData

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Logging
  191. 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.

  192. 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

  193. final lazy val shouldCaptureParseValueLength: Boolean

    Permalink

    Tells us if, for this element, we need to capture its value length at parse runtime, or we can ignore that.

    Tells us if, for this element, we need to capture its value length at parse runtime, or we can ignore that.

    Definition Classes
    ElementBaseRuntime1Mixin
  194. final lazy val shouldCaptureUnparseContentLength: Boolean

    Permalink

    Tells us if, for this element, we need to capture its content length at unparse runtime, or we can ignore that.

    Tells us if, for this element, we need to capture its content length at unparse runtime, or we can ignore that.

    Definition Classes
    ElementBaseRuntime1Mixin
  195. final lazy val shouldCaptureUnparseValueLength: Boolean

    Permalink

    Tells us if, for this element, we need to capture its value length at unparse runtime, or we can ignore that.

    Tells us if, for this element, we need to capture its value length at unparse runtime, or we can ignore that.

    Definition Classes
    ElementBaseRuntime1Mixin
  196. final lazy val shouldCheckExcessLength: Boolean

    Permalink

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

  197. lazy val stringTruncationType: Type

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

    Permalink
    Definition Classes
    AnyRef
  199. lazy val termRuntimeData: TermRuntimeData

    Permalink
    Definition Classes
    ElementBaseRuntime1Mixin
  200. final lazy val terminatorExpr: CompiledExpression[String]

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

    Permalink
  202. lazy val terminatorParseEv: TerminatorParseEv

    Permalink
  203. final lazy val terminatorRaw: Found

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

    Permalink
    Definition Classes
    InitiatedTerminatedMixin
  205. lazy val terminatorUnparseEv: TerminatorUnparseEv

    Permalink
  206. final def textBidi: YesNo

    Permalink
    Definition Classes
    CommonAGMixin
  207. final def textBidi_location: LookupLocation

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

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

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

    Permalink
    Definition Classes
    ThrowsSDE
  211. final def trailingSkip: Int

    Permalink
    Definition Classes
    AlignmentAGMixin
  212. lazy val trailingSkipApprox: LengthApprox

    Permalink
    Attributes
    protected
    Definition Classes
    AlignedMixin
  213. lazy val trailingSkipInBits: Int

    Permalink
    Definition Classes
    AlignedMixin
  214. final def trailingSkip_location: LookupLocation

    Permalink
    Definition Classes
    AlignmentAGMixin
  215. lazy val unparsingPadChar: MaybeChar

    Permalink
    Definition Classes
    PaddingInfoMixin
  216. final def utf16Width: UTF16Width

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

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

    Permalink
    Definition Classes
    UTF16WidthMixin
  219. final def utf16Width_location: LookupLocation

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

    Permalink
    Attributes
    protected
  221. 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
  222. def verboseToString: String

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

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

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

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

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

    Permalink
    Definition Classes
    Logging

Inherited from ElementBaseRuntime1Mixin

Inherited from PaddingInfoMixin

Inherited from HasStatementsGrammarMixin

Inherited from AlignedMixin

Inherited from InitiatedTerminatedMixin

Inherited from ChoiceAGMixin

Inherited from ChoiceLengthKindMixin

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 GrammarMixin

Inherited from AnyRef

Inherited from Any

Ungrouped