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

java.lang.Object
  |
  +--uk.ac.man.cs.rainbow.compiler.CompilerThing
        |
        +--uk.ac.man.cs.rainbow.compiler.CompilerNode
              |
              +--uk.ac.man.cs.rainbow.compiler.networks.Network
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
LabelledNetwork, PlainNetwork

public class Network
extends CompilerNode
implements Cloneable


Fields inherited from class uk.ac.man.cs.rainbow.compiler.CompilerNode
next, sourcepos
 
Constructor Summary
Network(SourcePosition sourcepos)
           
 
Method Summary
 Network cloneNetworkNoParent()
           
 ProcessTerm[] getRAPA(RapaEnv env)
           
 RASMList rasm(GreenEnv env)
           
 String toString()
           
 int total_inputs_required(TCEnv env)
           
 CompilerType typecheckGreen(TCEnv env, Errors errors, CompilerType input_typeList, SourcePosition sourcepos)
           
 
Methods inherited from class uk.ac.man.cs.rainbow.compiler.CompilerNode
append, appendNotParent, dumpNode, dumpTree, 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

Network

public Network(SourcePosition sourcepos)
Method Detail

toString

public String toString()
Overrides:
toString in class CompilerNode

typecheckGreen

public CompilerType typecheckGreen(TCEnv env,
                                   Errors errors,
                                   CompilerType input_typeList,
                                   SourcePosition sourcepos)
Overrides:
typecheckGreen in class CompilerNode

total_inputs_required

public int total_inputs_required(TCEnv env)

rasm

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

cloneNetworkNoParent

public Network cloneNetworkNoParent()

getRAPA

public ProcessTerm[] getRAPA(RapaEnv env)