diff options
author | michelou <michelou@epfl.ch> | 2007-06-13 12:28:07 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-06-13 12:28:07 +0000 |
commit | 2a52c9f3ab7b05d4be2f3138a61f065c3e3ac3af (patch) | |
tree | e7ae489c9832557e90f9cff5f00622d3f8b5f630 /src/compiler/scala/tools/nsc/symtab/SymbolTable.scala | |
parent | 9934c835a73512776de69f1f6c45ccd017ee8e10 (diff) | |
download | scala-2a52c9f3ab7b05d4be2f3138a61f065c3e3ac3af.tar.gz scala-2a52c9f3ab7b05d4be2f3138a61f065c3e3ac3af.tar.bz2 scala-2a52c9f3ab7b05d4be2f3138a61f065c3e3ac3af.zip |
incremented MinorVersion, deprecated All/AllRef...
incremented MinorVersion, deprecated All/AllRef, remove many type
aliases
Diffstat (limited to 'src/compiler/scala/tools/nsc/symtab/SymbolTable.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/SymbolTable.scala | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/SymbolTable.scala b/src/compiler/scala/tools/nsc/symtab/SymbolTable.scala index c066492fe1..3f01544107 100644 --- a/src/compiler/scala/tools/nsc/symtab/SymbolTable.scala +++ b/src/compiler/scala/tools/nsc/symtab/SymbolTable.scala @@ -1,8 +1,9 @@ /* NSC -- new scala compiler - * Copyright 2005-2006 LAMP/EPFL + * Copyright 2005-2007 LAMP/EPFL * @author Martin Odersky */ // $Id$ + package scala.tools.nsc.symtab import util._ @@ -19,25 +20,26 @@ abstract class SymbolTable extends Names { def settings: Settings def rootLoader: LazyType - def log(msg: AnyRef): unit + def log(msg: AnyRef) /** Are we compiling for the J2ME CLDC platform? */ def forCLDC: Boolean /** Are we compiling for .NET*/ def forMSIL: Boolean + /** are we in a lampion presentation compiler? then disable caching. */ - def inIDE : Boolean; + def inIDE : Boolean /** A period is an ordinal number for a phase in a run. * Phases in later runs have higher periods than phases in earlier runs. * Later phases have higher periods than earlier phases in the same run. */ - type Period = int + type Period = Int final val NoPeriod = 0 /** An ordinal number for compiler runs. First run has number 1. */ - type RunId = int + type RunId = Int final val NoRunId = 0 private var ph: Phase = NoPhase @@ -45,7 +47,7 @@ abstract class SymbolTable extends Names final def phase: Phase = ph - final def phase_=(p: Phase): unit = { + final def phase_=(p: Phase) { //System.out.println("setting phase to " + p) assert((p ne null) && p != NoPhase) ph = p |