public class CommentLine extends Object
Constructor and Description |
---|
CommentLine(CommentEvent event)
Create
|
CommentLine(Mark startMark,
Mark endMark,
String value,
CommentType commentType)
Create
|
Modifier and Type | Method and Description |
---|---|
CommentType |
getCommentType()
Getter
|
Mark |
getEndMark()
getter
|
Mark |
getStartMark()
getter
|
String |
getValue()
Value of this comment.
|
String |
toString() |
public CommentLine(CommentEvent event)
event
- - the sourcepublic CommentLine(Mark startMark, Mark endMark, String value, CommentType commentType)
startMark
- - startendMark
- - endvalue
- - textcommentType
- - kindpublic Mark getEndMark()
public Mark getStartMark()
public CommentType getCommentType()
public String getValue()
Copyright © 2008–2022. All rights reserved.