diff options
author | paltherr <paltherr@epfl.ch> | 2003-04-14 16:31:03 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-04-14 16:31:03 +0000 |
commit | c8bea29c67aff96acca6b28aa859978f2b4d872f (patch) | |
tree | 1cd8b16b90840e3bf6e69cf6e3513c8927e81618 /sources/scalac/ast/StrictTreeCopier.java.tmpl | |
parent | e51cf921ec19401f8e917255118a1a53e7c6520d (diff) | |
download | scala-c8bea29c67aff96acca6b28aa859978f2b4d872f.tar.gz scala-c8bea29c67aff96acca6b28aa859978f2b4d872f.tar.bz2 scala-c8bea29c67aff96acca6b28aa859978f2b4d872f.zip |
- Added automatic generation of TreeCopier.java
- Added automatic generation of LazyTreeCopier.java Added automatic
- generation of StrictTreeCopier.java
Diffstat (limited to 'sources/scalac/ast/StrictTreeCopier.java.tmpl')
-rw-r--r-- | sources/scalac/ast/StrictTreeCopier.java.tmpl | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sources/scalac/ast/StrictTreeCopier.java.tmpl b/sources/scalac/ast/StrictTreeCopier.java.tmpl new file mode 100644 index 0000000000..88ea139eef --- /dev/null +++ b/sources/scalac/ast/StrictTreeCopier.java.tmpl @@ -0,0 +1,34 @@ +/* ____ ____ ____ ____ ______ *\ +** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala ** +** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL ** +** /_____/\____/\___/\____/____/ ** +\* */ + +// $Id$ + +package scalac.ast; + +{#Imports#} + +/** A tree copier that returns always a new tree */ +public class StrictTreeCopier implements TreeCopier { + + //######################################################################## + // Protected Fields + + protected final TreeFactory make; + + //######################################################################## + // Public Constructors + + public StrictTreeCopier(TreeFactory make) { + this.make = make; + } + + //######################################################################## + // Public Methods + + {#TreeMethods#} + + //######################################################################## +} |