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
-
Field Summary
Fields -
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
-
Field Details
-
type
-
value
-
-
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:Token
For error reporting.- Specified by:
getTokenId
in classToken
- Returns:
- ID of this token
- See Also:
-