diff options
Diffstat (limited to 'src/reflect/scala/reflect/macros/Internals.scala')
-rw-r--r-- | src/reflect/scala/reflect/macros/Internals.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/reflect/scala/reflect/macros/Internals.scala b/src/reflect/scala/reflect/macros/Internals.scala index 415e70c36e..843644b7e3 100644 --- a/src/reflect/scala/reflect/macros/Internals.scala +++ b/src/reflect/scala/reflect/macros/Internals.scala @@ -14,6 +14,11 @@ trait Internals { /** @see [[scala.reflect.api.Internals]] */ trait ContextInternalApi extends universe.MacroInternalApi { + /** Symbol associated with the innermost enclosing lexical context. + * Walking the owner chain of this symbol will reveal information about more and more enclosing contexts. + */ + def enclosingOwner: Symbol + /** Functions that are available during [[transform]]. * @see [[transform]] */ |