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, toString
public 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()
Event
getArguments
in class Event
public Event.ID getEventId()
Event
getEventId
in class Event
Copyright © 2008–2022. All rights reserved.