diff options
author | Burak Emir <emir@epfl.ch> | 2006-11-29 10:12:59 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2006-11-29 10:12:59 +0000 |
commit | 6981bc62d7039efdcd07402287a6a07674c85b93 (patch) | |
tree | de2b067f2ab34ee5b3298a6c8e98aa00cf8902f7 /src | |
parent | 5a2f21ce9af0a8ac3352f15b3e7783e27c81598b (diff) | |
download | scala-6981bc62d7039efdcd07402287a6a07674c85b93.tar.gz scala-6981bc62d7039efdcd07402287a6a07674c85b93.tar.bz2 scala-6981bc62d7039efdcd07402287a6a07674c85b93.zip |
better comment
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/Trees.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/Trees.scala b/src/compiler/scala/tools/nsc/ast/Trees.scala index 69dd2a2bd1..fa96b0da11 100644 --- a/src/compiler/scala/tools/nsc/ast/Trees.scala +++ b/src/compiler/scala/tools/nsc/ast/Trees.scala @@ -139,13 +139,13 @@ trait Trees requires Global { } } - // bq: I moved this classes here from TreeBrowsers, otherwise cannot used *sealed* optimization - /** Pseudo tree class, so that all JTree nodes are treated uniformly */ + + /** Pseudo tree class needed in TreeBrowsers, so that all JTree nodes are treated uniformly */ case class ProgramTree(units: List[UnitTree]) extends Tree { override def toString(): String = "Program" } - /** Pseudo tree class, so that all JTree nodes are treated uniformly */ + /** Pseudo tree class needed in TreeBrowsers, so that all JTree nodes are treated uniformly */ case class UnitTree(unit: CompilationUnit) extends Tree { override def toString(): String = unit.toString() } |