Constant

class Constant(val value: Matchable, val tag: Int)
Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def _1: Any
def booleanValue: Boolean
def byteValue: Byte
def canEqual(x: Any): Boolean
def charValue: Char
def doubleValue: Double
override
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
Any
def floatValue: Float
def get: Any
override
def hashCode: Int
Definition Classes
Any
def intValue: Int
def isAnyVal: Boolean
def isByteRange: Boolean
def isCharRange: Boolean
def isEmpty: Boolean
def isFloatRange: Boolean
def isIntRange: Boolean
def isLongRange: Boolean
def isNaN: Boolean
def isNonUnitAnyVal: Boolean
def isNumeric: Boolean
def isShortRange: Boolean
def longValue: Long
def shortValue: Short
def stringValue: String
override
def toString: String
Definition Classes
Any
def wideType(using Context): Type

Concrete fields

val tag: Int
val value: Matchable