From f9534fc128aef38f9849a65dd2a40cd86de68a81 Mon Sep 17 00:00:00 2001 From: paltherr Date: Tue, 15 Apr 2003 09:12:49 +0000 Subject: - Removed file AbstractTreeCopyFactory.java --- config/list/compiler.lst | 1 - sources/scalac/ast/AbstractTreeCopyFactory.java | 30 ------------------------- 2 files changed, 31 deletions(-) delete mode 100644 sources/scalac/ast/AbstractTreeCopyFactory.java diff --git a/config/list/compiler.lst b/config/list/compiler.lst index ed7d8ae2b0..0b9b0fc791 100644 --- a/config/list/compiler.lst +++ b/config/list/compiler.lst @@ -20,7 +20,6 @@ ast/parser/Sourcefile.java ast/parser/TokenData.java ast/parser/Tokens.java -ast/AbstractTreeCopyFactory.java ast/DefaultTreeFactory.java ast/LazyTreeCopier.java ast/StrictTreeCopier.java diff --git a/sources/scalac/ast/AbstractTreeCopyFactory.java b/sources/scalac/ast/AbstractTreeCopyFactory.java deleted file mode 100644 index 0a158e14d4..0000000000 --- a/sources/scalac/ast/AbstractTreeCopyFactory.java +++ /dev/null @@ -1,30 +0,0 @@ -/* ____ ____ ____ ____ ______ *\ -** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala ** -** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL ** -** /_____/\____/\___/\____/____/ ** -** ** -\* */ - -// $Id$ - -package scalac.ast; - -import scalac.ast.*; - -/** - * Abstract superclass for all TreeCopier, which provides only the - * code to copy the attribution from the "old" to the "new" tree. - * - * @author Michel Schinz - * @version 1.0 - */ - -public abstract class AbstractTreeCopier implements TreeCopier { - public void attribute(Tree newTree, Tree oldTree) { - if (newTree != oldTree) { - newTree.type = oldTree.type; - if (newTree.hasSymbol()) - newTree.setSymbol(oldTree.symbol()); - } - } -} -- cgit v1.2.3