public final class CommentEvent extends Event
| Constructor and Description |
|---|
CommentEvent(CommentType type,
String value,
Mark startMark,
Mark endMark) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getArguments()
Generate human readable representation of the Event
|
CommentType |
getCommentType()
The comment type.
|
Event.ID |
getEventId()
Get the type (kind) if this Event
|
String |
getValue()
String representation of the value.
|
equals, getEndMark, getStartMark, hashCode, is, toStringpublic CommentEvent(CommentType type, String value, Mark startMark, Mark endMark)
public String getValue()
Without quotes and escaping.
public CommentType getCommentType()
protected String getArguments()
EventgetArguments in class Eventpublic Event.ID getEventId()
EventgetEventId in class EventCopyright © 2008–2021. All rights reserved.