public final class CommentToken extends Token
| Constructor and Description |
|---|
CommentToken(CommentType type,
String value,
Mark startMark,
Mark endMark)
Create
|
| Modifier and Type | Method and Description |
|---|---|
CommentType |
getCommentType()
getter
|
Token.ID |
getTokenId()
For error reporting.
|
String |
getValue()
getter
|
getEndMark, getStartMarkpublic CommentToken(CommentType type, String value, Mark startMark, Mark endMark)
type - - kindvalue - - textstartMark - - startendMark - - endpublic CommentType getCommentType()
public String getValue()
public Token.ID getTokenId()
TokengetTokenId in class TokenCopyright © 2008–2022. All rights reserved.