Class

org.apache.daffodil.dpath

LiteralExpressionBase

Related Doc: package dpath

Permalink

abstract class LiteralExpressionBase extends PrimaryExpression

Linear Supertypes
PrimaryExpression, ExpressionLists, Expression, BasicComponent, ImplementsThrowsOrSavesSDE, SavesErrorsAndWarnings, ImplementsThrowsSDE, ResolvesQNames, ThrowsSDE, HasTunable, OOLAGHostImpl, OOLAGHost, NamedMixinBase, WithDiagnostics, Logging, Identity, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LiteralExpressionBase
  2. PrimaryExpression
  3. ExpressionLists
  4. Expression
  5. BasicComponent
  6. ImplementsThrowsOrSavesSDE
  7. SavesErrorsAndWarnings
  8. ImplementsThrowsSDE
  9. ResolvesQNames
  10. ThrowsSDE
  11. HasTunable
  12. OOLAGHostImpl
  13. OOLAGHost
  14. NamedMixinBase
  15. WithDiagnostics
  16. Logging
  17. Identity
  18. AnyRef
  19. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LiteralExpressionBase(value: Any)

    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[Expression]

    Permalink
    Definition Classes
    ExpressionListsExpression
  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
    LiteralExpressionBaseExpression
  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. final lazy val enclosingElementCompileInfos: Seq[DPathElementCompileInfo]

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Logging
  36. final def hasOOLAGRootSetup: Boolean

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

    Permalink
    Definition Classes
    Expression
  38. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  39. lazy val inherentType: PrimTypeNode with Product

    Permalink

    The inherent type is the bottom-up type.

    The inherent type is the bottom-up type. That is, the type that is determined by examining the expression, or in attribute-grammar speak, the synthetic type.

    For "foo" it is string, for 5.0 it is double, and for 5 it is integer. For an identifier such as b in /a/b, it is the simple type of the element declaration for b.

    The inherent type can be a complex type, as in the foo in /foo/bar. That is why this is not the same system of type-kind values as the xsdTargetType

    Definition Classes
    LiteralExpressionBaseExpression
  40. def isError: Boolean

    Permalink
    Definition Classes
    OOLAGHost → WithDiagnostics
  41. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  42. lazy val isTypeCorrect: Boolean

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

    Permalink

    Override where we traverse/access elements.

    Override where we traverse/access elements.

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

    Permalink
    Definition Classes
    Expression
  45. lazy val litValue: DataValuePrimitive

    Permalink

    Convert to regular types from the pessimistic BigInt and BigDecimal that come in from the parser.

  46. final macro def log(lvl: Type, msg: String, args: Any*): Unit

    Permalink
    Definition Classes
    Logging
  47. lazy val logID: String

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

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

    Permalink
    Definition Classes
    Logging
  50. val lst: List[Expression]

    Permalink
    Definition Classes
    ExpressionLists
  51. final val nArgs: Args

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Expression
  65. lazy val path: String

    Permalink
    Definition Classes
    OOLAGHost
  66. def qNameForProperty(local: String, ns: NS): GlobalQName

    Permalink
    Definition Classes
    ResolvesQNames
  67. def removePrefix(prefixedValue: String): String

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ThrowsSDE
  80. 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
  81. def setContextsForChildren(context: OOLAGHost = this): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    ImplementsThrowsOrSavesSDE
  87. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  88. 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
    Expression
  89. def targetTypeForSubexpression(subexp: Expression): Nothing

    Permalink
    Definition Classes
    LiteralExpressionBaseExpression
  90. def text: String

    Permalink
    Definition Classes
    LiteralExpressionBaseExpression
  91. def toString(): String

    Permalink
    Definition Classes
    LiteralExpressionBase → AnyRef → Any
  92. final def toss(th: Throwable): Nothing

    Permalink
    Definition Classes
    ThrowsSDE
  93. lazy val tunable: DaffodilTunables

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

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

    Permalink
    Definition Classes
    Expression
  96. final def wait(): Unit

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Logging

Inherited from PrimaryExpression

Inherited from ExpressionLists

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