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").| Constructor and Description |
|---|
LineComment() |
LineComment(int beginLine,
int beginColumn,
int endLine,
int endColumn,
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.
|
getContent, setContentequals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toStringpublic LineComment()
public LineComment(String content)
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)
Node