public final class CommentEvent extends Event
Modifier and Type | Field and Description |
---|---|
private CommentType |
type |
private java.lang.String |
value |
Constructor and Description |
---|
CommentEvent(CommentType type,
java.lang.String value,
Mark startMark,
Mark endMark) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getArguments()
Generate human readable representation of the Event
|
CommentType |
getCommentType()
The comment type.
|
Event.ID |
getEventId()
Get the type (kind) if this Event
|
java.lang.String |
getValue()
String representation of the value.
|
equals, getEndMark, getStartMark, hashCode, is, toString
private final CommentType type
private final java.lang.String value
public CommentEvent(CommentType type, java.lang.String value, Mark startMark, Mark endMark)
public java.lang.String getValue()
Without quotes and escaping.
public CommentType getCommentType()
protected java.lang.String getArguments()
Event
getArguments
in class Event
public Event.ID getEventId()
Event
getEventId
in class Event