Class Comment
java.lang.Object
AsmExpression
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
text
public java.lang.String text
- Comment content.
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 numbers
- comment text
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object