blob: 2685a69ecc4fc416b0e741a6f5e7c80ba0c30185 (
plain) (
tree)
|
|
/* ____ ____ ____ ____ ______ *\
** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala **
** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL **
** /_____/\____/\___/\____/____/ **
\* */
// $Id$
package scalac.ast;
import scalac.Unit;
{#Imports#}
/** Class to traverse a tree without modifying it. */
public class Traverser {
//########################################################################
// Public Methods
public void traverse(Unit unit) {
traverse(unit.body);
}
public void traverse(Tree tree) {
{#TreeSwitch#}
}
{#TraverseArrays#}
//########################################################################
}
|