Package org.snakeyaml.engine.v2.tokens
Class CommentToken
java.lang.Object
org.snakeyaml.engine.v2.tokens.Token
org.snakeyaml.engine.v2.tokens.CommentToken
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCommentToken
(CommentType type, String value, Optional<Mark> startMark, Optional<Mark> endMark) -
Method Summary
Methods inherited from class org.snakeyaml.engine.v2.tokens.Token
getEndMark, getStartMark, toString
-
Field Details
-
type
-
value
-
-
Constructor Details
-
CommentToken
-
-
Method Details
-
getCommentType
-
getValue
-
getTokenId
Description copied from class:Token
For error reporting.- Specified by:
getTokenId
in classToken
- Returns:
- ID of this token
-