Class

org.apache.daffodil.dpath

NamedStep

Related Doc: package dpath

Permalink

case class NamedStep(s: String, predArg: Option[PredicateExpression]) extends DownStepExpression with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, DownStepExpression, StepExpression, Expression, BasicComponent, ImplementsThrowsOrSavesSDE, SavesErrorsAndWarnings, ImplementsThrowsSDE, ResolvesQNames, ThrowsSDE, HasTunable, OOLAGHostImpl, OOLAGHost, NamedMixinBase, WithDiagnostics, Logging, Identity, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NamedStep
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. DownStepExpression
  7. StepExpression
  8. Expression
  9. BasicComponent
  10. ImplementsThrowsOrSavesSDE
  11. SavesErrorsAndWarnings
  12. ImplementsThrowsSDE
  13. ResolvesQNames
  14. ThrowsSDE
  15. HasTunable
  16. OOLAGHostImpl
  17. OOLAGHost
  18. NamedMixinBase
  19. WithDiagnostics
  20. Logging
  21. Identity
  22. AnyRef
  23. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NamedStep(s: String, predArg: Option[PredicateExpression])

    Permalink

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. final def LV[T](sym: Symbol)(body: ⇒ T): OOLAGValue[T]

    Permalink
    Attributes
    protected
    Definition Classes
    OOLAGHost
  5. def NoAnnotationContext: Option[SchemaFileLocation]

    Permalink
    Definition Classes
    ImplementsThrowsSDE
  6. def SDE(id: String, args: Any*): Nothing

    Permalink
    Definition Classes
    ImplementsThrowsSDE → ThrowsSDE
  7. final def SDE(th: Throwable): Nothing

    Permalink
    Definition Classes
    ThrowsSDE
  8. def SDEButContinue(id: String, args: Any*): Unit

    Permalink
    Definition Classes
    ImplementsThrowsOrSavesSDE → SavesErrorsAndWarnings
  9. def SDW(warnID: WarnID, fmt: String, args: Any*): Unit

    Permalink
    Definition Classes
    ImplementsThrowsOrSavesSDE → SavesErrorsAndWarnings
  10. def ThrowSDE: PartialFunction[Throwable, Nothing]

    Permalink
    Definition Classes
    ThrowsSDE
  11. final def areLogging(lvl: Type): Boolean

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

    Permalink
    Definition Classes
    Any
  13. final def assuming(pred: Boolean): Unit

    Permalink
    Definition Classes
    OOLAGHost
  14. final def checkErrors: Unit

    Permalink
    Definition Classes
    OOLAGHost
  15. lazy val checkTypeCorrectness: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Expression
  16. lazy val children: List[PredicateExpression]

    Permalink
    Definition Classes
    StepExpressionExpression
  17. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. lazy val compileInfo: DPathCompileInfo

    Permalink
    Definition Classes
    Expression
  19. lazy val compiledDPath: CompiledDPath

    Permalink
    Definition Classes
    NamedStepExpression
  20. def contentReferencedElementInfos: Set[DPathElementCompileInfo]

    Permalink
    Definition Classes
    Expression
  21. lazy val conversions: List[RecipeOp]

    Permalink
    Definition Classes
    Expression
  22. final var currentOVList: Seq[OOLAGValueBase]

    Permalink
    Definition Classes
    OOLAGHost
  23. lazy val diagnosticDebugName: String

    Permalink
    Definition Classes
    NamedMixinBase
  24. def diagnostics: Seq[Diagnostic]

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  26. lazy val downwardStep: RecipeOp with Product

    Permalink
  27. lazy val dpathElementCompileInfos: Seq[DPathElementCompileInfo]

    Permalink
  28. final lazy val enclosingElementCompileInfos: Seq[DPathElementCompileInfo]

    Permalink
    Definition Classes
    Expression
  29. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. def equals(x: Any): Boolean

    Permalink
    Definition Classes
    StepExpression → AnyRef → Any
  31. def error(th: Diagnostic): Unit

    Permalink
    Definition Classes
    OOLAGHost
  32. final def errors: Seq[Diagnostic]

    Permalink
    Definition Classes
    OOLAGHost
  33. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  34. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  35. def getDiagnostics: Seq[Diagnostic]

    Permalink
    Definition Classes
    OOLAGHost → WithDiagnostics
  36. def getLogWriter(): LogWriter

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

    Permalink
    Definition Classes
    Logging
  38. final def hasOOLAGRootSetup: Boolean

    Permalink
    Definition Classes
    OOLAGHost
  39. final def hasReferenceTo(elem: DPathElementCompileInfo): Boolean

    Permalink
    Definition Classes
    StepExpressionExpression
  40. def hashCode(): Int

    Permalink
    Definition Classes
    StepExpression → AnyRef → Any
  41. lazy val inherentType: Kind

    Permalink

    Since an expresion can be in a reused group, type, or element, the downward path step may actually represent a step downward to distinct elements that happen to just have the same name/namespace, but they could be different types.

    Since an expresion can be in a reused group, type, or element, the downward path step may actually represent a step downward to distinct elements that happen to just have the same name/namespace, but they could be different types.

    If that is the case, for the expression to be meaningful, the path step must be ultimately result in an element of type suitable for the next operation that occurs on the element.

    To insure we have referential transparency, that requires that each distinct type result in its own compilation of the expression. In a complex expression involving multiple such paths.... gets complicated.

    For now, we just insist all the types are equal, and issue a SDE if they are not.

    Definition Classes
    DownStepExpressionExpression
  42. lazy val isAbsolutePath: Boolean

    Permalink
    Definition Classes
    StepExpression
  43. final lazy val isArray: Boolean

    Permalink
    Definition Classes
    StepExpression
  44. def isError: Boolean

    Permalink
    Definition Classes
    OOLAGHost → WithDiagnostics
  45. lazy val isFirstStep: Boolean

    Permalink
    Definition Classes
    StepExpression
  46. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  47. lazy val isLastStep: Boolean

    Permalink
    Definition Classes
    StepExpression
  48. lazy val isTypeCorrect: Boolean

    Permalink
    Definition Classes
    Expression
  49. def leafContentLengthReferencedElements: Set[DPathElementCompileInfo]

    Permalink

    Override where we traverse/access elements.

    Override where we traverse/access elements.

    Definition Classes
    Expression
  50. def leafValueLengthReferencedElements: Set[DPathElementCompileInfo]

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

    Permalink
    Definition Classes
    Logging
  52. lazy val logID: String

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

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

    Permalink
    Definition Classes
    Logging
  55. final val nArgs: Args

    Permalink
    Definition Classes
    OOLAGHostImpl → OOLAGHost
  56. lazy val namespaces: NamespaceBinding

    Permalink
    Definition Classes
    Expression → ResolvesQNames
  57. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  61. final lazy val oolagContext: OOLAGHost

    Permalink
    Definition Classes
    OOLAGHost
  62. final def oolagContextViaArgs: Option[OOLAGHost]

    Permalink
    Attributes
    protected
    Definition Classes
    OOLAGHostImpl → OOLAGHost
  63. def oolagError(th: Diagnostic): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    OOLAGHost
  64. final def oolagParent: OOLAGHost

    Permalink
    Attributes
    protected
    Definition Classes
    OOLAGHost
  65. def oolagWarn(th: Diagnostic): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    OOLAGHost
  66. final lazy val optOolagContext: Option[OOLAGHost]

    Permalink
    Definition Classes
    OOLAGHost
  67. final lazy val parent: Expression

    Permalink
    Definition Classes
    Expression
  68. final lazy val parentOpt: Option[Expression]

    Permalink
    Definition Classes
    Expression
  69. lazy val path: String

    Permalink
    Definition Classes
    OOLAGHost
  70. final def polymorphicExpressionErrorDetails(context: Expression): (Expression, String)

    Permalink
    Definition Classes
    DownStepExpression
  71. lazy val positionInStepsSequence: Int

    Permalink
    Definition Classes
    StepExpression
  72. val pred: Option[PredicateExpression]

    Permalink
    Definition Classes
    StepExpression
  73. val predArg: Option[PredicateExpression]

    Permalink
  74. lazy val priorStep: Option[StepExpression]

    Permalink
    Definition Classes
    StepExpression
  75. def qNameForProperty(local: String, ns: NS): GlobalQName

    Permalink
    Definition Classes
    ResolvesQNames
  76. def relPathErr(): Nothing

    Permalink
    Definition Classes
    StepExpression
  77. lazy val relPathParent: RelativePathExpression

    Permalink
    Definition Classes
    StepExpression
  78. def removePrefix(prefixedValue: String): String

    Permalink
    Definition Classes
    ResolvesQNames
  79. final def requiredEvaluations(lv: OOLAGValueBase): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    OOLAGHost
  80. final def requiredEvaluations(arg: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    OOLAGHost
  81. def resolveQName(qnString: String): RefQName

    Permalink
    Definition Classes
    ResolvesQNames
  82. def resolveRef(qnameString: String): RefQName

    Permalink
    Definition Classes
    Expression
  83. final lazy val rootElement: DPathElementCompileInfo

    Permalink
    Definition Classes
    Expression
  84. val s: String

    Permalink
  85. final def schemaDefinitionError(str: String, args: Any*): Nothing

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

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

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

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

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

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

    Permalink
    Definition Classes
    ThrowsSDE
  92. lazy val schemaFileLocation: SchemaFileLocation

    Permalink

    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.

    Definition Classes
    Expression → ThrowsSDE
  93. def setContextsForChildren(context: OOLAGHost = this): Unit

    Permalink
    Definition Classes
    Expression
  94. def setLogWriter(lw: LogWriter): Unit

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

    Permalink
    Definition Classes
    Logging
  96. final def setOOLAGContext(oolagContextArg: OOLAGHost): Unit

    Permalink
    Definition Classes
    OOLAGHost
  97. val step: String

    Permalink
    Definition Classes
    StepExpression
  98. def stepElementDefs: Seq[DPathElementCompileInfo]

    Permalink
    Attributes
    protected
    Definition Classes
    NamedStepStepExpression
  99. final lazy val stepElements: Seq[DPathElementCompileInfo]

    Permalink
    Definition Classes
    StepExpression
  100. lazy val stepQName: StepQName

    Permalink
    Definition Classes
    StepExpression
  101. def subset(testThatWillThrowIfFalse: Boolean, msg: String, args: Any*): Unit

    Permalink
    Definition Classes
    ImplementsThrowsOrSavesSDE
  102. def subsetError(msg: String, args: Any*): Nothing

    Permalink
    Definition Classes
    ImplementsThrowsOrSavesSDE
  103. def suggestedPossiblePrefixes(ns: NS): Seq[String]

    Permalink

    Used when there is no match as part of error diagnostic message.

    Used when there is no match as part of error diagnostic message. It searches the local xml scope for a prefix binding for this namespace. Returns Nil if none, a list of strings for all the available prefixes for this namespace (because there can be more than one)

    Definition Classes
    StepExpression
  104. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  105. lazy val targetType: Kind

    Permalink

    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

    Definition Classes
    StepExpressionExpression
  106. def targetTypeForSubexpression(subexp: Expression): ArrayIndex.type

    Permalink
    Definition Classes
    StepExpressionExpression
  107. def text: String

    Permalink
    Definition Classes
    NamedStepExpression
  108. final def toss(th: Throwable): Nothing

    Permalink
    Definition Classes
    ThrowsSDE
  109. lazy val tunable: DaffodilTunables

    Permalink
    Definition Classes
    Expression → ImplementsThrowsOrSavesSDE → HasTunable
  110. lazy val unqualifiedPathStepPolicy: UnqualifiedPathStepPolicy

    Permalink
    Definition Classes
    Expression → ResolvesQNames
  111. def valueReferencedElementInfos: Set[DPathElementCompileInfo]

    Permalink
    Definition Classes
    Expression
  112. def verifyQNames(cis: Seq[DPathElementCompileInfo]): Unit

    Permalink
    Definition Classes
    StepExpression
  113. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  116. def warn(th: Diagnostic): Unit

    Permalink
    Definition Classes
    OOLAGHost
  117. final def warnings: Seq[Diagnostic]

    Permalink
    Definition Classes
    OOLAGHost
  118. final lazy val wholeExpression: Expression

    Permalink
    Definition Classes
    Expression
  119. final lazy val wholeExpressionText: String

    Permalink
    Definition Classes
    Expression
  120. macro def withLoggingLevel[S](newLevel: Type)(body: ⇒ S): Unit

    Permalink
    Definition Classes
    Logging

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from DownStepExpression

Inherited from StepExpression

Inherited from Expression

Inherited from BasicComponent

Inherited from ImplementsThrowsOrSavesSDE

Inherited from SavesErrorsAndWarnings

Inherited from ImplementsThrowsSDE

Inherited from ResolvesQNames

Inherited from ThrowsSDE

Inherited from HasTunable

Inherited from OOLAGHostImpl

Inherited from OOLAGHost

Inherited from NamedMixinBase

Inherited from WithDiagnostics

Inherited from Logging

Inherited from Identity

Inherited from AnyRef

Inherited from Any

Ungrouped