blob: 785c3a99da95c6c0c249d1b6b0eca4fbf7ee63ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* ____ ____ ____ ____ ______ *\
** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala **
** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL **
** /_____/\____/\___/\____/____/ **
\* */
// $Id$
package meta.scalac.ast;
public class MetaTreeCopier extends AbstractTreeMethodExpander {
//########################################################################
// Public Methods
public void printTreeMethod(TreeNode node, boolean withSymbol) {
node.printMethod(writer,tree.getFormal("tree"),withSymbol);
writer.println(";");
if (withSymbol && node.hasLinkedFields()) {
node.printMethod(writer, tree.getFormal("tree"), false, true);
writer.println(";");
}
}
//########################################################################
}
|