Package | Description |
---|---|
org.yaml.snakeyaml.comments | |
org.yaml.snakeyaml.events | |
org.yaml.snakeyaml.scanner | |
org.yaml.snakeyaml.tokens |
Modifier and Type | Field and Description |
---|---|
private CommentType |
CommentLine.commentType |
private CommentType[] |
CommentEventsCollector.expectedCommentTypes |
Modifier and Type | Method and Description |
---|---|
CommentType |
CommentLine.getCommentType() |
static CommentType |
CommentType.valueOf(java.lang.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(java.util.Queue<Event> eventSource,
CommentType... expectedCommentTypes)
Constructor used to collect events emitted by the Serializer.
|
CommentLine(Mark startMark,
Mark endMark,
java.lang.String value,
CommentType commentType) |
Modifier and Type | Field and Description |
---|---|
private CommentType |
CommentEvent.type |
Modifier and Type | Method and Description |
---|---|
CommentType |
CommentEvent.getCommentType()
The comment type.
|
Constructor and Description |
---|
CommentEvent(CommentType type,
java.lang.String value,
Mark startMark,
Mark endMark) |
Modifier and Type | Method and Description |
---|---|
private CommentToken |
ScannerImpl.scanComment(CommentType type) |
Modifier and Type | Field and Description |
---|---|
private CommentType |
CommentToken.type |
Modifier and Type | Method and Description |
---|---|
CommentType |
CommentToken.getCommentType() |
Constructor and Description |
---|
CommentToken(CommentType type,
java.lang.String value,
Mark startMark,
Mark endMark) |