blob: 523bf74b785a66d851976eac9d4bd735938b891f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* NSC -- new scala compiler
* Copyright 2005 LAMP/EPFL
* @author Martin Odersky
*/
// $Id$
package scala.tools.nsc.ast;
import scala.tools.util.Position;
abstract class TreeGen {
val global: Global;
import global._;
def mkGlobalRef(sym: Symbol): Tree = Ident(sym.name) setSymbol sym setType sym.tpe;
def This(sym: Symbol): Tree = global.This(sym.name) setSymbol sym setType sym.thisType;
}
|