case class Constant(value: Any) extends SymbolTable.ConstantApi with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Constant
- Serializable
- Serializable
- Product
- Equals
- ConstantApi
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Constant(value: Any)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def booleanValue: Boolean
- def byteValue: Byte
- def charValue: Char
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
convertTo(pt: SymbolTable.Type): SymbolTable.Constant
Convert constant value to conform to given type.
- def doubleValue: Double
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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
- def escapedChar(ch: Char): String
- def escapedStringValue: String
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def floatValue: Float
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- Constant → AnyRef → Any
- def intValue: Int
- def isAnyVal: Boolean
- def isByteRange: Boolean
- def isCharRange: Boolean
- def isFloatRange: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isIntRange: Boolean
- def isLongRange: Boolean
- def isNaN: Boolean
- def isNonUnitAnyVal: Boolean
- def isNumeric: Boolean
- def isShortRange: Boolean
- def longValue: Long
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def shortValue: Short
- def stringValue: String
- def symbolValue: SymbolTable.Symbol
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tag: Int
-
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
- Constant → ConstantApi
- def typeValue: SymbolTable.Type
-
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
- Constant → ConstantApi
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )