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
.
(Since version 2.11.0) use quasiquotes instead
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
.
(Since version 2.11.0) use quasiquotes instead
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
.
(Since version 2.11.0) use quasiquotes instead
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
.
(Since version 2.11.0) use quasiquotes instead
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
.
(Since version 2.11.0) use quasiquotes instead
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
.
(Since version 2.11.0) use quasiquotes instead
Shorthand for Literal(Constant(()))
in the underlying universe
.
(Since version 2.11.0) use quasiquotes instead
© 2002-2019 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://www.scala-lang.org/api/2.13.0/scala-reflect/scala/reflect/macros/ExprUtils.html
EXPERIMENTAL
A slice of the Scala macros context that defines shorthands for the most common
Expr
-creating functions.