EXPERIMENTAL
EXPERIMENTAL
EXPERIMENTAL
EXPERIMENTAL
EXPERIMENTAL
EXPERIMENTAL
EXPERIMENTAL
EXPERIMENTAL
EXPERIMENTAL
Indicates an error during scala.reflect.macros.Parsers#parse.
EXPERIMENTAL
Indicates an expected error during one of the reifyXXX
methods in scala.reflect.macros.Reifiers.
EXPERIMENTAL
Indicates an error during one of the methods in scala.reflect.macros.Typers.
EXPERIMENTAL
Indicates an unexpected expected error during one of the reifyXXX
methods in scala.reflect.macros.Reifiers.
EXPERIMENTAL
The Scala macros context.
The Scala macros context.
In Scala 2.11, macros that were once the one are split into blackbox and whitebox macros, with the former being better supported and the latter being more powerful. You can read about the details of the split and the associated trade-offs in the Macros Guide.
scala.reflect.macros.Context
follows this tendency and turns into scala.reflect.macros.blackbox.Context
and scala.reflect.macros.whitebox.Context
. The original Context
is left in place for compatibility reasons,
but it is now deprecated, nudging the users to choose between blackbox and whitebox macros.
(Since version 2.11.0) Use blackbox.Context or whitebox.Context instead
EXPERIMENTAL
The base package for Scala macros.
Macros are functions that are called by the compiler during compilation. Within these functions the programmer has access to compiler APIs. For example, it is possible to generate, analyze and typecheck code.
See the Macros Guide on how to get started with Scala macros.