ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE| Constructor and Description |
|---|
LineComment() |
LineComment(int beginLine,
int beginColumn,
int endLine,
int endColumn,
String content)
Deprecated.
prefer using Range objects.
|
LineComment(Range range,
String content) |
LineComment(String content) |
| Modifier and Type | Method and Description |
|---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
boolean |
isLineComment() |
asLineComment, getCommentedNode, getContent, isOrphan, setCommentedNode, setContentaddOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEnd, getEndColumn, getEndLine, getOrphanComments, getParentNode, getRange, hasComment, hashCode, isPositionedAfter, isPositionedAfter, isPositionedBefore, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBeginColumn, setBeginLine, setComment, setData, setEnd, setEndColumn, setEndLine, setParentNode, setRange, toString, toStringWithoutCommentspublic LineComment()
public LineComment(String content)
@Deprecated public LineComment(int beginLine, int beginColumn, int endLine, int endColumn, String content)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic boolean isLineComment()
isLineComment in class CommentCopyright © 2007–2016. All rights reserved.