scala.reflect.internal.Constants

Constant

case class Constant(value: Any) extends AbsConstant with Product with Serializable

Definition Classes
Constants → Constants
Source
Constants.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AbsConstant, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Constant
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AbsConstant
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Constant(value: Any)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def booleanValue: Boolean

    Definition Classes
    Constant → AbsConstant
  8. def byteValue: Byte

    Definition Classes
    Constant → AbsConstant
  9. def charValue: Char

    Definition Classes
    Constant → AbsConstant
  10. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def convertTo(pt: Type): Constant

    Convert constant value to conform to given type.

    Convert constant value to conform to given type.

    Definition Classes
    Constant → AbsConstant
  12. def doubleValue: Double

    Definition Classes
    Constant → AbsConstant
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(other: Any): Boolean

    We need the equals method to take account of tags as well as values.

    We need the equals method to take account of tags as well as values.

    Definition Classes
    Constant → Equals → AnyRef → Any
  15. def escapedChar(ch: Char): String

    Annotations
    @switch()
  16. def escapedStringValue: String

  17. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. def floatValue: Float

    Definition Classes
    Constant → AbsConstant
  19. final def getClass(): Class[_]

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

    Definition Classes
    Constant → AnyRef → Any
  21. def intValue: Int

    Definition Classes
    Constant → AbsConstant
  22. def isAnyVal: Boolean

  23. def isByteRange: Boolean

  24. def isCharRange: Boolean

  25. def isFloatRange: Boolean

  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def isIntRange: Boolean

  28. def isLongRange: Boolean

  29. def isNaN: Boolean

    Definition Classes
    Constant → AbsConstant
  30. def isNonUnitAnyVal: Boolean

  31. def isNumeric: Boolean

  32. def isShortRange: Boolean

  33. def longValue: Long

    Definition Classes
    Constant → AbsConstant
  34. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  35. final def notify(): Unit

    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  37. def shortValue: Short

    Definition Classes
    Constant → AbsConstant
  38. def stringValue: String

    Definition Classes
    Constant → AbsConstant
  39. def symbolValue: Symbol

    Definition Classes
    Constant → AbsConstant
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. val tag: Int

  42. def tpe: Type

    Definition Classes
    Constant → AbsConstant
  43. def typeValue: Type

    Definition Classes
    Constant → AbsConstant
  44. val value: Any

    Definition Classes
    Constant → AbsConstant
  45. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AbsConstant

Inherited from AnyRef

Inherited from Any