public final class CommentToken extends Token
| Modifier and Type | Field and Description |
|---|---|
private CommentType |
type |
private java.lang.String |
value |
| Constructor and Description |
|---|
CommentToken(CommentType type,
java.lang.String value,
Mark startMark,
Mark endMark) |
| Modifier and Type | Method and Description |
|---|---|
CommentType |
getCommentType() |
Token.ID |
getTokenId()
For error reporting.
|
java.lang.String |
getValue() |
getEndMark, getStartMarkprivate final CommentType type
private final java.lang.String value
public CommentToken(CommentType type, java.lang.String value, Mark startMark, Mark endMark)
public CommentType getCommentType()
public java.lang.String getValue()
public Token.ID getTokenId()
TokengetTokenId in class Token