Packages

case class Constant(value: Any) extends SymbolTable.ConstantApi with Product with Serializable

Linear Supertypes
Serializable, java.io.Serializable, Product, Equals, SymbolTable.ConstantApi, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Constant
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ConstantApi
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Constant(value: Any)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def booleanValue: Boolean
  6. def byteValue: Byte
  7. def charValue: Char
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def convertTo(pt: SymbolTable.Type): SymbolTable.Constant

    Convert constant value to conform to given type.

  10. def doubleValue: Double
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. 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
  13. def escapedChar(ch: Char): String
  14. def escapedStringValue: String
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def floatValue: Float
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    Constant → AnyRef → Any
  19. def intValue: Int
  20. def isAnyVal: Boolean
  21. def isByteRange: Boolean
  22. def isCharRange: Boolean
  23. def isFloatRange: Boolean
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def isIntRange: Boolean
  26. def isLongRange: Boolean
  27. def isNaN: Boolean
  28. def isNonUnitAnyVal: Boolean
  29. def isNumeric: Boolean
  30. def isShortRange: Boolean
  31. def longValue: Long
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. def shortValue: Short
  36. def stringValue: String
  37. def symbolValue: SymbolTable.Symbol
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. val tag: Int
  40. def tpe: SymbolTable.Type

    Scala type that describes the constant.

    Scala type that describes the constant. It is generated automatically based on the type of the value.

    Definition Classes
    ConstantConstantApi
  41. def typeValue: SymbolTable.Type
  42. val value: Any

    Payload of the constant, that can be accessed directly or pattern matched against.

    Payload of the constant, that can be accessed directly or pattern matched against.

    Definition Classes
    ConstantConstantApi
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from Product

Inherited from Equals

Inherited from SymbolTable.ConstantApi

Inherited from AnyRef

Inherited from Any

Ungrouped