uk.ac.man.cs.rainbow.compiler.networks
Class GreenBlock

java.lang.Object
  |
  +--uk.ac.man.cs.rainbow.compiler.CompilerThing
        |
        +--uk.ac.man.cs.rainbow.compiler.CompilerNode
              |
              +--uk.ac.man.cs.rainbow.compiler.green.GreenComponent
                    |
                    +--uk.ac.man.cs.rainbow.compiler.networks.GreenBlock

public class GreenBlock
extends GreenComponent


Fields inherited from class uk.ac.man.cs.rainbow.compiler.green.GreenComponent
device_name, inputs_actually_required, out_types
 
Fields inherited from class uk.ac.man.cs.rainbow.compiler.CompilerNode
next, sourcepos
 
Constructor Summary
GreenBlock()
           
GreenBlock(SourcePosition sourcepos, ChannelDeclaration declList, PlainNetwork network)
           
 
Method Summary
 String dumpTree(int n)
           
 PlainNetwork getNetwork()
           
 ProcessTerm getRAPA(RapaEnv env)
           
 int inputs_required(TCEnv env)
           
 RASMList rasm(GreenEnv env)
           
 String toString()
           
 CompilerType typecheckGreen(TCEnv env, Errors errors, CompilerType input_typeList)
           
 
Methods inherited from class uk.ac.man.cs.rainbow.compiler.green.GreenComponent
appendNextComponent, check_pipe, definitive_num_inputs, get_next, get_output_types, getInputChannels, getOutputChannels, num_inputs, num_outputs, num_params, rasm_list_nextComponent, set_delay_parameters, set_next, setNextComponents, setupNextComponents
 
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
 
Methods inherited from class uk.ac.man.cs.rainbow.compiler.CompilerThing
className, crashHere, getSerial
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GreenBlock

public GreenBlock(SourcePosition sourcepos,
                  ChannelDeclaration declList,
                  PlainNetwork network)

GreenBlock

public GreenBlock()
Method Detail

toString

public String toString()
Overrides:
toString in class GreenComponent

dumpTree

public String dumpTree(int n)
Overrides:
dumpTree in class CompilerNode

typecheckGreen

public CompilerType typecheckGreen(TCEnv env,
                                   Errors errors,
                                   CompilerType input_typeList)
Overrides:
typecheckGreen in class GreenComponent

inputs_required

public int inputs_required(TCEnv env)
Overrides:
inputs_required in class GreenComponent

rasm

public RASMList rasm(GreenEnv env)
Overrides:
rasm in class GreenComponent

getRAPA

public ProcessTerm getRAPA(RapaEnv env)
Overrides:
getRAPA in class GreenComponent

getNetwork

public PlainNetwork getNetwork()