summaryrefslogtreecommitdiff
path: root/src/library/scala/reflect/makro/Util.scala
blob: 16eb2395a90ea5bfa01d6485ef107389e7c744c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package scala.reflect.makro

trait Util {
  self: Context =>

  def literalNull: Expr[Null]

  def literalUnit: Expr[Unit]

  def literalTrue: Expr[Boolean]

  def literalFalse: Expr[Boolean]

  def literal(x: Boolean): Expr[Boolean]

  def literal(x: Byte): Expr[Byte]

  def literal(x: Short): Expr[Short]

  def literal(x: Int): Expr[Int]

  def literal(x: Long): Expr[Long]

  def literal(x: Float): Expr[Float]

  def literal(x: Double): Expr[Double]

  def literal(x: String): Expr[String]

  def literal(x: Char): Expr[Char]
}