Expr wraps an abstract syntax tree and tags it with its type.
The type of tree modifiers.
The abstract type of names.
Defines a universe-specific notion of positions.
The base type of all scopes.
The type of symbols representing declarations.
The abstract type of names representing terms.
The type of Scala abstract syntax trees.
The type of Scala types, and also Scala type signatures.
The type of Scala types, and also Scala type signatures. (No difference is internally made between the two).
The abstract type of names representing types.
The type of type tags.
The type of weak type tags.
The type of compilation units.
The type of compilation units.
(Since version 2.11.0) c.enclosingTree-style APIs are now deprecated; consult the scaladoc for more information
The type of compilation runs.
The type of compilation runs.
(Since version 2.11.0) c.enclosingTree-style APIs are now deprecated; consult the scaladoc for more information
A shorthand to create an expr.
A shorthand to create an expr.
Unlike the conventional expr factory, which requires a scala.reflect.api.TreeCreator, this one accepts a regular tree, but the resulting exprs are unable of being migrated to other universes/mirrors (the functionality normally not needed for macros, since there is only one compile-time universe and only one compile-time mirror).
A shorthand to create a type tag.
A shorthand to create a type tag.
Unlike the conventional type tag factory, which requires a scala.reflect.api.TypeCreator, this one accepts a regular type, but the resulting type tags are unable of being migrated to other universes/mirrors (the functionality normally not needed for macros, since there is only one compile-time universe and only one compile-time mirror).
A shorthand to create a weak type tag.
A shorthand to create a weak type tag.
Unlike the conventional type tag factory, which requires a scala.reflect.api.TypeCreator, this one accepts a regular type, but the resulting type tags are unable of being migrated to other universes/mirrors (the functionality normally not needed for macros, since there is only one compile-time universe and only one compile-time mirror).
Constructor/Extractor for Expr
.
Constructor/Extractor for TypeTag
.
Constructor/Extractor for WeakTypeTag
.
Type symbol of x
as derived from a type tag.
Shortcut for implicitly[TypeTag[T]].tpe
Shortcut for implicitly[TypeTag[T]]
Shortcut for implicitly[WeakTypeTag[T]].tpe
Shortcut for implicitly[WeakTypeTag[T]]
EXPERIMENTAL
A slice of the Scala macros context that defines shorthands for the most frequently used types and functions of the underlying compiler universe.