harpoon.Main
Class CompStagePipeline
java.lang.Object
harpoon.Main.CompilerStage
harpoon.Main.CompStagePipeline
public class CompStagePipeline
- extends CompilerStage
CompStagePipeline
is a special
CompilerStage
that is the sequential composition of a
list of CompilerStage
s.
- Version:
- $Id: CompStagePipeline.java,v 1.6 2004/02/08 03:21:38 cananian Exp $
- Author:
- Alexandru Salcianu <salcianu@MIT.edu>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompStagePipeline
public CompStagePipeline(List<CompilerStage> stages,
String name)
- Creates a
CompStagePipeline
.
CompStagePipeline
public CompStagePipeline(List<CompilerStage> stages)
CompStagePipeline
public CompStagePipeline(CompilerStage s1,
CompilerStage s2,
String name)
CompStagePipeline
public CompStagePipeline(CompilerStage s1,
CompilerStage s2)
getStage
protected CompilerStage getStage(int count)
- Returns:
count
th CompilerStage from this pipeline.
getOptions
public List<Option> getOptions()
- Specified by:
getOptions
in class CompilerStage
enabled
public boolean enabled()
- Specified by:
enabled
in class CompilerStage
action
public final CompilerState action(CompilerState cs)
- Specified by:
action
in class CompilerStage