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

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

public class CommentInstruction
extends AbstractInstruction

Comment inside the klp program.

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

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

Constructor Detail

CommentInstruction

public CommentInstruction(String com)
Parameters:
com - to add for this program part.
Method Detail

toString

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

getComment

public String getComment()
Overrides:
getComment in class AbstractInstruction
Returns:
comment for this instructions