diff options
author | paltherr <paltherr@epfl.ch> | 2003-04-15 09:12:49 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-04-15 09:12:49 +0000 |
commit | f9534fc128aef38f9849a65dd2a40cd86de68a81 (patch) | |
tree | f10fd4c4724e4faf336370920cb6544e0dbe9949 /sources/scalac/ast | |
parent | bcad96f5ad3038d556743de0745a29f1de4f9cae (diff) | |
download | scala-f9534fc128aef38f9849a65dd2a40cd86de68a81.tar.gz scala-f9534fc128aef38f9849a65dd2a40cd86de68a81.tar.bz2 scala-f9534fc128aef38f9849a65dd2a40cd86de68a81.zip |
- Removed file AbstractTreeCopyFactory.java
Diffstat (limited to 'sources/scalac/ast')
-rw-r--r-- | sources/scalac/ast/AbstractTreeCopyFactory.java | 30 |
1 files changed, 0 insertions, 30 deletions
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()); - } - } -} |