public abstract class Comment extends Node
BlockComment
,
LineComment
,
JavadocComment
Constructor and Description |
---|
Comment() |
Comment(int beginLine,
int beginColumn,
int endLine,
int endColumn,
String content) |
Comment(String content) |
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Return the text of the comment.
|
void |
setContent(String content)
Sets the text of the comment.
|
accept, accept, equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toString