| Package | Description |
|---|---|
| org.snakeyaml.engine.v2.comments | |
| org.snakeyaml.engine.v2.events | |
| org.snakeyaml.engine.v2.tokens |
| Modifier and Type | Method and Description |
|---|---|
CommentType |
CommentLine.getCommentType() |
static CommentType |
CommentType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommentType[] |
CommentType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
CommentEventsCollector(Parser parser,
CommentType... expectedCommentTypes)
Constructor used to collect comment events emitted by a Parser.
|
CommentEventsCollector(Queue<Event> eventSource,
CommentType... expectedCommentTypes)
Constructor used to collect events emitted by the Serializer.
|
CommentLine(Optional<Mark> startMark,
Optional<Mark> endMark,
String value,
CommentType commentType) |
| Modifier and Type | Method and Description |
|---|---|
CommentType |
CommentEvent.getCommentType()
The comment type.
|
| Constructor and Description |
|---|
CommentEvent(CommentType type,
String value,
Optional<Mark> startMark,
Optional<Mark> endMark) |
| Modifier and Type | Method and Description |
|---|---|
CommentType |
CommentToken.getCommentType() |
| Constructor and Description |
|---|
CommentToken(CommentType type,
String value,
Optional<Mark> startMark,
Optional<Mark> endMark) |
Copyright © 2018–2022. All rights reserved.