public final class LineComment extends Comment
AST node that represent line comments.
Line comments are started with "//" and finish at the end of the line ("\n").ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE| Constructor and Description |
|---|
LineComment() |
LineComment(int beginLine,
int beginColumn,
int endLine,
int endColumn,
java.lang.String content) |
LineComment(java.lang.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, contains, equals, getAllContainedComments, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEndColumn, getEndLine, getOrphanComments, getParentNode, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setComment, setData, setEndColumn, setEndLine, setParentNode, toString, toStringWithoutCommentspublic LineComment()
public LineComment(java.lang.String content)
public LineComment(int beginLine,
int beginColumn,
int endLine,
int endColumn,
java.lang.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-2015. All Rights Reserved.