public final class CommentEvent extends Event
| Constructor and Description |
|---|
CommentEvent(CommentType type,
String value,
Optional<Mark> startMark,
Optional<Mark> endMark) |
| Modifier and Type | Method and Description |
|---|---|
CommentType |
getCommentType()
The comment type.
|
Event.ID |
getEventId()
Get the type (kind) if this Event
|
String |
getValue()
String representation of the value.
|
String |
toString() |
getEndMark, getStartMarkpublic String getValue()
Without quotes and escaping.
public CommentType getCommentType()
public Event.ID getEventId()
EventgetEventId in class EventCopyright © 2018–2022. All rights reserved.