Class Comment

java.lang.Object
  extended by AsmExpression
      extended by Comment

public class Comment
extends AsmExpression

Assembly comment expression.


Field Summary
 java.lang.String text
          Comment content.
 
Constructor Summary
Comment()
           
Comment(int l, java.lang.String s)
          Creates a comment with specified text and line number.
Comment(java.lang.String s)
          Creates a comment with specified text content.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class AsmExpression
empty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

text

public java.lang.String text
Comment content.

Constructor Detail

Comment

public Comment()

Comment

public Comment(java.lang.String s)
Creates a comment with specified text content.

Parameters:
s - comment text

Comment

public Comment(int l,
               java.lang.String s)
Creates a comment with specified text and line number.

Parameters:
l - line number
s - comment text
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object