summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-04-15 09:12:49 +0000
committerpaltherr <paltherr@epfl.ch>2003-04-15 09:12:49 +0000
commitf9534fc128aef38f9849a65dd2a40cd86de68a81 (patch)
treef10fd4c4724e4faf336370920cb6544e0dbe9949
parentbcad96f5ad3038d556743de0745a29f1de4f9cae (diff)
downloadscala-f9534fc128aef38f9849a65dd2a40cd86de68a81.tar.gz
scala-f9534fc128aef38f9849a65dd2a40cd86de68a81.tar.bz2
scala-f9534fc128aef38f9849a65dd2a40cd86de68a81.zip
- Removed file AbstractTreeCopyFactory.java
-rw-r--r--config/list/compiler.lst1
-rw-r--r--sources/scalac/ast/AbstractTreeCopyFactory.java30
2 files changed, 0 insertions, 31 deletions
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());
- }
- }
-}