uk.ac.man.cs.rainbow.compiler.rasm
Class GreenEnv

java.lang.Object
  |
  +--uk.ac.man.cs.rainbow.compiler.CompilerThing
        |
        +--uk.ac.man.cs.rainbow.compiler.names.Environment
              |
              +--uk.ac.man.cs.rainbow.compiler.rasm.CGEnv
                    |
                    +--uk.ac.man.cs.rainbow.compiler.rasm.GreenEnv
All Implemented Interfaces:
Cloneable

public class GreenEnv
extends CGEnv


Constructor Summary
GreenEnv()
           
 
Method Summary
 void add_channel(Channel ch)
           
 RASMList add_device_address(String info)
           
 RASMList add_uniqued_device_address(String str)
           
 GreenEnv cloneGreenEnv()
           
 void enter_block()
           
 void enter_pipe(int n)
           
 void exit_block(GreenEnv env_from_block, String block_addr)
           
 void exit_pipe(boolean output_produced)
           
 ChannelList gen_output_channels(CompilerType output_typeList)
           
 ChannelList get_all_channels()
           
 ChannelList get_current_device_inputs()
           
 ChannelList get_net_input_channels()
           
 ChannelList get_next_device_inputs()
           
 RASMList push_device_addresses()
           
 void set_next_device_inputs(ChannelList channelList)
           
 String show_device_addresses()
           
 String toString()
           
 String unique_deviceString(String info)
           
 
Methods inherited from class uk.ac.man.cs.rainbow.compiler.rasm.CGEnv
access, add_intermediate, add_local, anon_temp, cloneCGEnv, custom_label_and_addr, delete_intermediate, donals_label_prefix, enter_fun, enter_proc, exit_fun, exit_proc, exit_scope, get_method_name, get_module_name, get_next_stack_pos, get_number_supply, get_unique_num, greenify, lookup_defn, lookup_stack_position, make_green_env, method_start_label, set_method_name, set_module_name, set_next_stack_pos, set_number_supply, update_after_inner_stuff
 
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

GreenEnv

public GreenEnv()
Method Detail

cloneGreenEnv

public GreenEnv cloneGreenEnv()

get_all_channels

public ChannelList get_all_channels()

show_device_addresses

public String show_device_addresses()

toString

public String toString()
Overrides:
toString in class CGEnv

get_net_input_channels

public ChannelList get_net_input_channels()

enter_block

public void enter_block()

exit_block

public void exit_block(GreenEnv env_from_block,
                       String block_addr)

enter_pipe

public void enter_pipe(int n)

exit_pipe

public void exit_pipe(boolean output_produced)

unique_deviceString

public String unique_deviceString(String info)

add_uniqued_device_address

public RASMList add_uniqued_device_address(String str)

add_device_address

public RASMList add_device_address(String info)

push_device_addresses

public RASMList push_device_addresses()

get_next_device_inputs

public ChannelList get_next_device_inputs()

get_current_device_inputs

public ChannelList get_current_device_inputs()

set_next_device_inputs

public void set_next_device_inputs(ChannelList channelList)

add_channel

public void add_channel(Channel ch)

gen_output_channels

public ChannelList gen_output_channels(CompilerType output_typeList)