Shorthand for Literal(Constant(x: Char))
in the underlying universe
.
Shorthand for Literal(Constant(x: Char))
in the underlying universe
.
(Since version 2.11.0) Use quasiquotes instead
Shorthand for Literal(Constant(x: String))
in the underlying universe
.
Shorthand for Literal(Constant(x: String))
in the underlying universe
.
(Since version 2.11.0) Use quasiquotes instead
Shorthand for Literal(Constant(x: Double))
in the underlying universe
.
Shorthand for Literal(Constant(x: Double))
in the underlying universe
.
(Since version 2.11.0) Use quasiquotes instead
Shorthand for Literal(Constant(x: Float))
in the underlying universe
.
Shorthand for Literal(Constant(x: Float))
in the underlying universe
.
(Since version 2.11.0) Use quasiquotes instead
Shorthand for Literal(Constant(x: Long))
in the underlying universe
.
Shorthand for Literal(Constant(x: Long))
in the underlying universe
.
(Since version 2.11.0) Use quasiquotes instead
Shorthand for Literal(Constant(x: Int))
in the underlying universe
.
Shorthand for Literal(Constant(x: Int))
in the underlying universe
.
(Since version 2.11.0) Use quasiquotes instead
Shorthand for Literal(Constant(x: Short))
in the underlying universe
.
Shorthand for Literal(Constant(x: Short))
in the underlying universe
.
(Since version 2.11.0) Use quasiquotes instead
Shorthand for Literal(Constant(x: Byte))
in the underlying universe
.
Shorthand for Literal(Constant(x: Byte))
in the underlying universe
.
(Since version 2.11.0) Use quasiquotes instead
Shorthand for Literal(Constant(x: Boolean))
in the underlying universe
.
Shorthand for Literal(Constant(x: Boolean))
in the underlying universe
.
(Since version 2.11.0) Use quasiquotes instead
Shorthand for Literal(Constant(false))
in the underlying universe
.
Shorthand for Literal(Constant(false))
in the underlying universe
.
(Since version 2.11.0) Use quasiquotes instead
Shorthand for Literal(Constant(null))
in the underlying universe
.
Shorthand for Literal(Constant(null))
in the underlying universe
.
(Since version 2.11.0) Use quasiquotes instead
Shorthand for Literal(Constant(true))
in the underlying universe
.
Shorthand for Literal(Constant(true))
in the underlying universe
.
(Since version 2.11.0) Use quasiquotes instead
Shorthand for Literal(Constant(()))
in the underlying universe
.
Shorthand for Literal(Constant(()))
in the underlying universe
.
(Since version 2.11.0) Use quasiquotes instead
EXPERIMENTAL
A slice of the Scala macros context that defines shorthands for the most common
Expr
-creating functions.