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, getStartMark
public CommentToken(CommentType type, String value, Mark startMark, Mark endMark)
type
- - kindvalue
- - textstartMark
- - startendMark
- - endpublic CommentType getCommentType()
public String getValue()
public Token.ID getTokenId()
Token
getTokenId
in class Token
Copyright © 2008–2022. All rights reserved.