de.cau.cs.kieler.krep.compiler.klp
Class DeclareRegInstruction

java.lang.Object
  extended by de.cau.cs.kieler.krep.compiler.klp.AbstractInstruction
      extended by de.cau.cs.kieler.krep.compiler.klp.DeclareRegInstruction

public class DeclareRegInstruction
extends AbstractInstruction

Declare that a register is used. This implicitly gives the connection of the program to the environment, by connecting registers and io ports.

Rating yellow
(2010-02-05) review by cmot, msp, tam

Constructor Summary
DeclareRegInstruction(String r, Variable.Kind ioKind)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class de.cau.cs.kieler.krep.compiler.klp.AbstractInstruction
getComment, setComment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeclareRegInstruction

public DeclareRegInstruction(String r,
                             Variable.Kind ioKind)
Parameters:
r - register to declare
ioKind - input, output, local
Method Detail

toString

public String toString()
Specified by:
toString in class AbstractInstruction