From 6981bc62d7039efdcd07402287a6a07674c85b93 Mon Sep 17 00:00:00 2001 From: Burak Emir Date: Wed, 29 Nov 2006 10:12:59 +0000 Subject: better comment --- src/compiler/scala/tools/nsc/ast/Trees.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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() } -- cgit v1.2.3