scala.reflect.makro.Aliases.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala-reflect Show documentation
Show all versions of scala-reflect Show documentation
Compiler for the Scala Programming Language
package scala.reflect
package makro
trait Aliases {
self: Context =>
type Symbol = universe.Symbol
type Type = universe.Type
type Name = universe.Name
type TermName = universe.TermName
type TypeName = universe.TypeName
type Tree = universe.Tree
// type Position = universe.Position
type Scope = universe.Scope
type Modifiers = universe.Modifiers
type Expr[+T] = universe.Expr[T]
val Expr = universe.Expr
type AbsTypeTag[T] = universe.AbsTypeTag[T]
type TypeTag[T] = universe.TypeTag[T]
val AbsTypeTag = universe.AbsTypeTag
val TypeTag = universe.TypeTag
def typeTag[T](implicit ttag: TypeTag[T]) = ttag
def typeOf[T](implicit ttag: TypeTag[T]): Type = ttag.tpe
}