public final class CommentEvent extends Event
| Constructor and Description |
|---|
CommentEvent(CommentType type,
String value,
Mark startMark,
Mark endMark)
Create
|
| 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)
type - - kindvalue - - textstartMark - - startendMark - - endpublic String getValue()
Without quotes and escaping.
public CommentType getCommentType()
protected String getArguments()
EventgetArguments in class Eventpublic Event.ID getEventId()
EventgetEventId in class EventCopyright © 2008–2022. All rights reserved.