Lang

object Lang

Language Extensions

Lang is fully exported to scalqa root, thus all members and aliases of Lang can be called with or without "Lang." prefix.

For example:

val v: Lang.Byte.Idx = ???
// is same as
val v: Byte.Idx     = ???

val v: Lang.Any.Ref.Buffer[String] = ???
// is same as
val v: Any.Ref.Buffer[String] = ???
// is same as
val v: Ref.Buffer[String] = ???
Source
__.scala
class java.lang.Object
trait scala.Matchable
class Any

Member

object Any

Companion to scala.Any

Source
__.scala
object Boolean extends Boolean.Custom.Containers[Boolean]

Companion Object for scala.Boolean

This object also defines specialized custom containers for Boolean type, so the following code can run without boxing:


   val s: Boolean.~    = Boolean.~(true,true,false,false)

   val o: Boolean.Opt  = s.readRaw_? // Holds Boolean.Opt(true)

   val l: Boolean.><   = s.><       // Holds (true,false,false)
Source
__.scala
object Byte extends Byte.Custom.Containers[Byte]

Companion Object for scala.Byte

This object also defines specialized custom containers for Byte type, so the following code can run without boxing:

   val s: Byte.~    = 1.Byte <> 5.Byte

   val o: Byte.Opt  = s.readRaw_?  // Holds Byte.Opt(1)

   val l: Byte.><   = s.><         // Holds (2,3,4,5)
Source
__.scala
object Char extends Char.Custom.Containers[Char]

Companion Object for scala.Char

This object also defines specialized custom containers for Char type, so the following code can run without boxing:


   val s: Char.~    = 'a' <> 'd'

   val o: Char.Opt  = s.readRaw_?  // Holds Char.Opt('a')

   val l: Char.><   = s.><         // Holds ('b','c','d')
Source
__.scala
object Double extends Double.Custom.Containers[Double]

Companion Object for scala.Double

This object also defines specialized custom containers for Double type, so the following code can run without boxing:


   val s: Double.~    = (1.0 <> 5.0).step_~(1)

   val o: Double.Opt  = s.readRaw_?  // Holds Double.Opt(1.0)

   val l: Double.><   = s.><        // Holds (2.0, 3.0, 4.0)
Source
__.scala
object Float extends Float.Custom.Containers[Float]

Companion Object for scala.Float

This object also defines specialized custom containers for Float type, so the following code can run without boxing:


   val s: Float.~    = (1F <> 5F).step_~(1)

   val o: Float.Opt  = s.readRaw_?  // Holds Float.Opt(1.0)

   val l: Float.><   = s.><         // Holds (2.0, 3.0, 4.0)
Source
__.scala
object Int extends Int.Custom.Containers[Int]

Companion Object for scala.Int

This object also defines specialized custom containers for Int type, so the following code can run without boxing:


   val s: Int.~    = 1 <> 5

   val o: Int.Opt  = s.readRaw_?  // Holds Int.Opt(1)

   val l: Int.>< = s.><     // Holds (2,3,4,5)
Source
__.scala
object Long extends Long.Custom.Containers[Long]

Companion Object for scala.Long

This object also defines specialized custom containers for Long type, so the following code can run without boxing:


   val s: Long.~    = 1L <> 5L

   val o: Long.Opt  = s.readRaw_?  // Holds Long.Opt(1)

   val l: Long.><   = s.><        // Holds (2,3,4,5)
Source
__.scala
object Short extends Short.Custom.Containers[Short]

Companion Object for scala.Short

This object also defines specialized custom containers for Short type, so the following code can run without boxing:


   val s: Short.~   = 1.Short <> 5.Short

   val o: Short.Opt = s.readRaw_?  // Holds Short.Opt(1)

   val l: Short.><  = s.><     // Holds (2,3,4,5)
Source
__.scala
object String extends Ref.Custom.Containers[String]

java.lang.String Companion

This object also defines custom containers for String type, which are parameterazed generic containers

Source
__.scala

Alias

type Opaque = Opaque
Source
__.scala
inline def Opaque: Opaque
Source
__.scala
type Raw = scala.AnyVal

Type alias

Type alias

Shortcut to Any.Raw

Source
__.scala
inline def Raw: Raw

Companion alias

Companion alias

Shortcut to Any.Raw

Source
__.scala
type Ref = scala.AnyRef

Type alias

Type alias

Shortcut to scala.AnyRef

Source
__.scala
inline def Ref: Ref

Companion alias

Companion alias

Shortcut to Any.Ref

Source
__.scala