blob: f28008bc21d12dffee3d356ac17418a2a4ea2318 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
package scala.reflect.api
trait TreeBuildUtil extends Universe {
/** The symbol corresponding to the globally accessible class with the
* given fully qualified name `fullName`.
*/
def staticClass(fullName: String): Symbol
/** The symbol corresponding to the globally accessible object with the
* given fully qualified name `fullName`.
*/
def staticModule(fullName: String): Symbol
/** The this-ptype of the globally accessible object with the
* given fully qualified name `fullName`.
*/
def thisModuleType(fullName: String): Type
/** Selects type symbol with given simple name `name` from the defined members of `owner`.
*/
def selectType(owner: Symbol, name: String): Symbol
/** Selects term symbol with given name and type from the defined members of prefix type
* @pre The prefix type
* @name The name of the selected member
*/
def selectTerm(owner: Symbol, name: String): Symbol
def selectOverloadedMethod(owner: Symbol, name: String, index: Int): Symbol
def selectParam(owner: Symbol, idx: Int): Symbol
def newScopeWith(decls: Symbol*): Scope
/** Create a fresh free variable symbol.
* @param name the name of the free variable
* @param tsig the type signature of the free variable
* @param value the value of the free variable at runtime
*/
def newFreeVar(name: String, info: Type, value: Any): Symbol
/** Create a Modiiers structure given internal flags, qualifier, annotations */
def modifiersFromInternalFlags(flags: Long, privateWithin: Name, annotations: List[Tree]): Modifiers
}
|