blob: 9ea1f87125e907ef7bd5a8416c24b870c0cfaf15 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
package scala.tools.nsc
import symtab.Flags._
trait MacroContext extends reflect.macro.Context { self: Global =>
def captureVariable(vble: Symbol): Unit = vble setFlag CAPTURED
def referenceCapturedVariable(id: Ident): Tree = ReferenceToBoxed(id)
}
|