public final class CommentToken extends Token
| Constructor and Description |
|---|
CommentToken(CommentType type,
String value,
Optional<Mark> startMark,
Optional<Mark> endMark) |
| Modifier and Type | Method and Description |
|---|---|
CommentType |
getCommentType() |
Token.ID |
getTokenId()
For error reporting.
|
String |
getValue() |
getEndMark, getStartMark, toStringpublic CommentType getCommentType()
public String getValue()
public Token.ID getTokenId()
TokengetTokenId in class TokenCopyright © 2018–2022. All rights reserved.