Raptor.ProgramParser.Statements
Class ProgramComment

java.lang.Object
  extended by Raptor.ProgramParser.Statements.ProgramComment
All Implemented Interfaces:
java.io.Serializable

public class ProgramComment
extends java.lang.Object
implements java.io.Serializable

A comment.
Extends abstract Instruction class.

See Also:
Serialized Form

Constructor Summary
ProgramComment(java.lang.String pComment)
          Constructs a new Comment.
 
Method Summary
 java.lang.String display()
          Returns a String to display the comment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgramComment

public ProgramComment(java.lang.String pComment)
Constructs a new Comment.

Parameters:
pComment - the contents of the comment
Method Detail

display

public java.lang.String display()
Returns a String to display the comment.