Class

org.apache.daffodil.processors

EvaluatableConvertedExpression

Related Doc: package processors

Permalink

abstract class EvaluatableConvertedExpression[ExprType <: AnyRef, +ConvertedType <: AnyRef] extends Evaluatable[ConvertedType] with EvaluatableConvertedExpressionMixin[ExprType, ConvertedType]

Linear Supertypes
EvaluatableConvertedExpressionMixin[ExprType, ConvertedType], ExprEvalMixin[ExprType], ContentValueReferencedElementInfoMixin, DoSDEMixin, Evaluatable[ConvertedType], Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EvaluatableConvertedExpression
  2. EvaluatableConvertedExpressionMixin
  3. ExprEvalMixin
  4. ContentValueReferencedElementInfoMixin
  5. DoSDEMixin
  6. Evaluatable
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EvaluatableConvertedExpression(expr: CompiledExpression[ExprType], converter: Converter[ExprType, ConvertedType], rd: RuntimeData)

    Permalink

Type Members

  1. type State = ParseOrUnparseState

    Permalink
    Definition Classes
    Evaluatable

Abstract Value Members

  1. abstract def getCachedOrComputeAndCache(state: State): ConvertedType

    Permalink
    Attributes
    protected
    Definition Classes
    Evaluatable

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def compile(): Maybe[ConvertedType]

    Permalink
    Definition Classes
    Evaluatable
  7. final def compile(state: CompileState): Maybe[ConvertedType]

    Permalink

    Compile an Ev to see if it is a constant at compilation time.

    Compile an Ev to see if it is a constant at compilation time. This is determined by actually evaluating it, passing a special CompileState that errors out when data access to runtime-valued data is attempted.

    Definition Classes
    Evaluatable
  8. def compute(state: ParseOrUnparseState): ConvertedType

    Permalink
    Attributes
    protected
    Definition Classes
    EvaluatableConvertedExpressionMixin
  9. final def constValue: ConvertedType

    Permalink
    Definition Classes
    Evaluatable
    Annotations
    @inline()
  10. final def contentReferencedElementInfos: Set[DPathElementCompileInfo]

    Permalink
  11. val converter: Converter[ExprType, ConvertedType]

    Permalink
  12. def dafName(local: String): GlobalQName

    Permalink

    Convenience method

    Convenience method

    Use by way of override lazy val qName = dafName("foobar")

    Attributes
    protected
    Definition Classes
    Evaluatable
  13. final def doSDE(e: Throwable, state: ParseOrUnparseState): Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    DoSDEMixin
  14. final def ensureCompiled: Unit

    Permalink
    Definition Classes
    Evaluatable
    Annotations
    @inline()
  15. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def eval(expr: CompiledExpression[ExprType], state: ParseOrUnparseState): ExprType

    Permalink
    Attributes
    protected
    Definition Classes
    ExprEvalMixin
  18. final def evaluate(state: State): ConvertedType

    Permalink
    Definition Classes
    Evaluatable
  19. val expr: CompiledExpression[ExprType]

    Permalink
  20. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def isCompiled: Boolean

    Permalink
    Definition Classes
    Evaluatable
    Annotations
    @inline()
  24. final def isConstant: Boolean

    Permalink
    Definition Classes
    Evaluatable
    Annotations
    @inline()
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. final def maybeConstant: Maybe[ConvertedType]

    Permalink

    Preferred for use in the runtime.

    Preferred for use in the runtime.

    Definition Classes
    Evaluatable
    Annotations
    @inline()
  27. def maybeUseUnparserMode: Maybe[EvalMode]

    Permalink

    Override if this evaluatable needs to use a different evaluate mode for unparsing.

    Override if this evaluatable needs to use a different evaluate mode for unparsing.

    The only example of this (as of this comment being written) is LengthEv

    Attributes
    protected
    Definition Classes
    Evaluatable
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  31. final def optConstant: Option[ConvertedType]

    Permalink

    Schema compiler wants to use map call, so we need a scala option type for that.

    Schema compiler wants to use map call, so we need a scala option type for that. So this variant supplies that.

    Definition Classes
    Evaluatable
    Annotations
    @inline()
  32. lazy val qName: NamedQName

    Permalink

    QName to be associated with this evaluatable.

    QName to be associated with this evaluatable.

    If the Evaluatable is for a DFDL property this should be dfdl:propertyName e.g., dfdl:terminator, with the prefix DFDL being the prefix associated with the DFDL namespace.

    If the Evaluatable is for some other computation, e.g., for the CharsetEncoder. Then daf:encoder or other useful identifier.

    This QName is used in the XML representation of these Evaluatables, if they are to be displayed, which is mostly for various debug purposes.

    Definition Classes
    Evaluatable
  33. val rd: RuntimeData

    Permalink
    Attributes
    protected
    Definition Classes
    Evaluatable
  34. lazy val runtimeDependencies: Nil.type

    Permalink
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. final def toBriefXML(depth: Int = 1): String

    Permalink
  37. def toPseudoXML(cache: EvalCache): String

    Permalink

    Creates an XML-like string representation.

    Creates an XML-like string representation.

    Looks like an attribute definition, but the value part may contain XML-element-like syntax. If so it is either escaped with CDATA bracketing (preferred), or if there are quotes in it, then it is escapified meaning " < etc.

    Avoids inserting single quotes (aka apos) so that those can be used surrounding this at a higher level.

    Definition Classes
    Evaluatable
  38. def toSDE(e: Diagnostic, state: ParseOrUnparseState): Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    Evaluatable
  39. def toString(): String

    Permalink
    Definition Classes
    Evaluatable → AnyRef → Any
  40. final def valueReferencedElementInfos: Set[DPathElementCompileInfo]

    Permalink
  41. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from EvaluatableConvertedExpressionMixin[ExprType, ConvertedType]

Inherited from ExprEvalMixin[ExprType]

Inherited from DoSDEMixin

Inherited from Evaluatable[ConvertedType]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped