uk.ac.man.cs.rainbow.compiler.networks
Class Pipeline
java.lang.Object
|
+--uk.ac.man.cs.rainbow.compiler.CompilerThing
|
+--uk.ac.man.cs.rainbow.compiler.CompilerNode
|
+--uk.ac.man.cs.rainbow.compiler.networks.Pipeline
- All Implemented Interfaces:
- Cloneable
- public class Pipeline
- extends CompilerNode
- implements Cloneable
Methods inherited from class uk.ac.man.cs.rainbow.compiler.CompilerNode |
append, appendNotParent, dumpNode, getParent, indent, iterator, list_typecheck, list_typecheck, listLength, listToString, noParent, rasm_list, rasm, setParent, typecheck, typecheck, typecheckGreen |
Pipeline
public Pipeline(SourcePosition sourcepos,
GreenComponent componentList,
boolean inputRequired,
boolean outputProduced)
Pipeline
public Pipeline(GreenComponent componentList)
Pipeline
public Pipeline()
clonePipelineNoParent
public Pipeline clonePipelineNoParent()
setEnds
public void setEnds(boolean inputRequired,
boolean outputProduced)
setInputRequired
public void setInputRequired(boolean inputRequired)
setOutputProduced
public void setOutputProduced(boolean outputProduced)
toString
public String toString()
- Overrides:
toString
in class CompilerNode
dumpTree
public String dumpTree(int n)
- Overrides:
dumpTree
in class CompilerNode
inputs_really_required
public int inputs_really_required(TCEnv env)
typecheckGreen
public CompilerType typecheckGreen(TCEnv env,
Errors errors,
CompilerType input_typeList)
- Overrides:
typecheckGreen
in class CompilerNode
rasm
public RASMList rasm(GreenEnv env)
- Overrides:
rasm
in class CompilerNode
check_control_pipe
public CompilerType check_control_pipe(TCEnv env,
CompilerType input_if_any,
SourcePosition sourcepos,
String context,
CompilerType required_type,
Errors errors)
getRAPA
public ProcessTerm getRAPA(RapaEnv env)
isSimpleChannelTarget
public boolean isSimpleChannelTarget()
getSimpleChannelTarget
public Channel getSimpleChannelTarget()