public class Comment extends TapElement
comment, indentation
Constructor and Description |
---|
Comment(String text)
Constructor with text.
|
Comment(String text,
boolean inline)
Constructor with text.
|
Modifier and Type | Method and Description |
---|---|
String |
getText() |
boolean |
isInline() |
void |
setInline(boolean inline) |
getComment, getDiagnostic, getIndentation, setComment, setDiagnostic
public Comment(String text)
text
- Text of the comment.public Comment(String text, boolean inline)
text
- Text of the comment.inline
- Whether the comment is inline or not.public String getText()
public boolean isInline()
public void setInline(boolean inline)
inline
- the inline to setCopyright © 2010–2019 TupiLabs. All rights reserved.