From 9892f52adf76c1e39c6d129f8b35ee98802de188 Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Tue, 24 Jul 2012 12:34:18 +0200 Subject: reflect.makro => reflect.macros (Step I) Builds a starr that uses stuff from scala.reflect.macros for macro activities. Crucial makro thingies (such as makro.Context or makro.internal.macroImpl) are temporarily left in place, because they are necessary for previous starr. Macro tests will be fixed in a dedicated commit, so that they don't pollute meaningful commits, making the life easy for reviewers and spelunkers. --- .../scala/reflect/macros/runtime/Context.scala | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/compiler/scala/reflect/macros/runtime/Context.scala (limited to 'src/compiler/scala/reflect/macros/runtime/Context.scala') diff --git a/src/compiler/scala/reflect/macros/runtime/Context.scala b/src/compiler/scala/reflect/macros/runtime/Context.scala new file mode 100644 index 0000000000..8bbfef44a3 --- /dev/null +++ b/src/compiler/scala/reflect/macros/runtime/Context.scala @@ -0,0 +1,32 @@ +package scala.reflect.macros +package runtime + +import scala.tools.nsc.Global + +abstract class Context extends scala.reflect.macros.Context + with Aliases + with CapturedVariables + with Infrastructure + with Enclosures + with Names + with Reifiers + with FrontEnds + with Settings + with Typers + with Parsers + with Exprs + with TypeTags + with Evals + with ExprUtils + with Traces { + + val universe: Global + + val mirror: MirrorOf[universe.type] = universe.rootMirror + + val callsiteTyper: universe.analyzer.Typer + + val prefix: Expr[PrefixType] + + val expandee: Tree +} -- cgit v1.2.3