case class Literal(value: Double) extends Expression with scala.Product with Serializable
- Alphabetic
- By Inheritance
- Literal
- Serializable
- Product
- Equals
- Expression
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Literal(value: Double)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def *(y: Double): Product
- Definition Classes
- Expression
- def *(that: Expression): Product
- Definition Classes
- Expression
- def +(that: Expression): Sum
- Definition Classes
- Expression
- def -(that: Expression): Sum
- Definition Classes
- Expression
- def ->[B](y: B): (Literal, B)
- def /(y: Double): Quotient
- Definition Classes
- Expression
- def /(that: Expression): Quotient
- Definition Classes
- Expression
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def ensuring(cond: (Literal) => Boolean, msg: => Any): Literal
- def ensuring(cond: (Literal) => Boolean): Literal
- def ensuring(cond: Boolean, msg: => Any): Literal
- def ensuring(cond: Boolean): Literal
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapVars(f: VariableMap): Literal
- Definition Classes
- Literal → Expression
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def square: Product
- Definition Classes
- Expression
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Literal → AnyRef → Any
- def unary_-: Expression
- Definition Classes
- Expression
- def useBoat[Y, State, O, Boat](boat: Boat, island: Island[Y, State, O, Boat]): Expression
- Definition Classes
- Expression
- val value: Double
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Shadowed Implicit Value Members
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from Literal toany2stringadd[Literal] performed by method any2stringadd in scala.Predef.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(literal: any2stringadd[Literal]).+(other)
- Definition Classes
- any2stringadd
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def →[B](y: B): (Literal, B)
- Implicit
- This member is added by an implicit conversion from Literal toArrowAssoc[Literal] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.