summaryrefslogblamecommitdiff
path: root/sources/scalac/util/EmptyPhase.java
blob: 5600fc85b982932926462f9fbc6dd985bab7565b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                          
                              














                                                                              

                                                            




                                                                              
/*     ____ ____  ____ ____  ______                                     *\
**    / __// __ \/ __// __ \/ ____/    SOcos COmpiles Scala             **
**  __\_ \/ /_/ / /__/ /_/ /\_ \       (c) 2002, LAMP/EPFL              **
** /_____/\____/\___/\____/____/                                        **
\*                                                                      */

// $Id$

package scalac.util;

import scalac.Global;
import scalac.Phase;
import scalac.PhaseDescriptor;
import scalac.CompilationUnit;

/** This class implements a phase that does nothing. */
public class EmptyPhase extends Phase {

    //########################################################################
    // Public Constructors

    /** Initializes this instance. */
    public EmptyPhase(Global global, PhaseDescriptor descriptor) {
        super(global, descriptor);
    }

    //########################################################################
    // Public Methods

    /** Applies this phase to the given compilation unit. */
    public void apply(CompilationUnit unit) {
        // do nothing
    }

    //########################################################################
}