Package org.yaml.snakeyaml.tokens
Class CommentToken
java.lang.Object
org.yaml.snakeyaml.tokens.Token
org.yaml.snakeyaml.tokens.CommentToken
Comment for humans
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionCommentToken(CommentType type, String value, Mark startMark, Mark endMark) Create -
Method Summary
Methods inherited from class org.yaml.snakeyaml.tokens.Token
getEndMark, getStartMark
-
Constructor Details
-
CommentToken
Create- Parameters:
type- - kindvalue- - textstartMark- - startendMark- - end
-
-
Method Details
-
getCommentType
getter- Returns:
- the kind
-
getValue
getter- Returns:
- text
-
getTokenId
Description copied from class:TokenFor error reporting.- Specified by:
getTokenIdin classToken- Returns:
- ID of this token
- See Also:
-