blob: 99706e84feee4abe7ea462c1bca1e1da56ae9da8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package scala.reflect
package macros
/**
* <span class="badge badge-red" style="float: right;">EXPERIMENTAL</span>
*
* A slice of [[scala.reflect.macros.Context the Scala macros context]] that
* provides facilities to communicate with the compiler's infrastructure.
*/
trait Infrastructure {
self: Context =>
/** Exposes macro-specific settings as a list of strings.
* These settings are passed to the compiler via the "-Xmacro-settings:setting1,setting2...,settingN" command-line option.
*/
def settings: List[String]
/** Exposes current compiler settings as a list of options.
* Use `scalac -help`, `scalac -X` and `scalac -Y` to learn about currently supported options.
*/
def compilerSettings: List[String]
/** Exposes current classpath. */
def classPath: List[java.net.URL]
}
|