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. Constant
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AbsConstant
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringfmt
  2. by any2stringadd
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from Constant to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (Constant, B)

    Implicit information
    This member is added by an implicit conversion from Constant to ArrowAssoc[Constant] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

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

    Definition Classes
    Any
  9. def booleanValue: Boolean

    Definition Classes
    Constant → AbsConstant
  10. def byteValue: Byte

    Definition Classes
    Constant → AbsConstant
  11. def charValue: Char

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. 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
  14. def doubleValue: Double

    Definition Classes
    Constant → AbsConstant
  15. def ensuring(cond: (Constant) ⇒ Boolean, msg: ⇒ Any): Constant

    Implicit information
    This member is added by an implicit conversion from Constant to Ensuring[Constant] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (Constant) ⇒ Boolean): Constant

    Implicit information
    This member is added by an implicit conversion from Constant to Ensuring[Constant] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): Constant

    Implicit information
    This member is added by an implicit conversion from Constant to Ensuring[Constant] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): Constant

    Implicit information
    This member is added by an implicit conversion from Constant to Ensuring[Constant] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. 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
  21. def escapedChar(ch: Char): String

    Annotations
    @switch()
  22. def escapedStringValue: String

  23. def finalize(): Unit

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

    Definition Classes
    Constant → AbsConstant
  25. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from Constant to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  26. final def getClass(): Class[_]

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

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

    Definition Classes
    Constant → AbsConstant
  29. def isAnyVal: Boolean

  30. def isByteRange: Boolean

  31. def isCharRange: Boolean

  32. def isFloatRange: Boolean

  33. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  34. def isIntRange: Boolean

  35. def isLongRange: Boolean

  36. def isNaN: Boolean

    Definition Classes
    Constant → AbsConstant
  37. def isNonUnitAnyVal: Boolean

  38. def isNumeric: Boolean

  39. def isShortRange: Boolean

  40. def longValue: Long

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

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

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

    Definition Classes
    AnyRef
  44. val self: Any

    Implicit information
    This member is added by an implicit conversion from Constant to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  45. val self: Any

    Implicit information
    This member is added by an implicit conversion from Constant to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  46. def shortValue: Short

    Definition Classes
    Constant → AbsConstant
  47. def stringValue: String

    Definition Classes
    Constant → AbsConstant
  48. def symbolValue: Symbol

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

    Definition Classes
    AnyRef
  50. val tag: Int

  51. def tpe: Type

    Definition Classes
    Constant → AbsConstant
  52. def typeValue: Type

    Definition Classes
    Constant → AbsConstant
  53. val value: Any

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  57. def [B](y: B): (Constant, B)

    Implicit information
    This member is added by an implicit conversion from Constant to ArrowAssoc[Constant] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def x: Constant

    Implicit information
    This member is added by an implicit conversion from Constant to ArrowAssoc[Constant] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Constant

    Implicit information
    This member is added by an implicit conversion from Constant to Ensuring[Constant] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AbsConstant

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringfmt from Constant to StringFormat

Inherited by implicit conversion any2stringadd from Constant to StringAdd

Inherited by implicit conversion any2ArrowAssoc from Constant to ArrowAssoc[Constant]

Inherited by implicit conversion any2Ensuring from Constant to Ensuring[Constant]