pub enum TokenType {
NoToken,
StreamStartToken(TEncoding),
StreamEndToken,
VersionDirectiveToken(u32, u32),
TagDirectiveToken(String, String),
DocumentStartToken,
DocumentEndToken,
BlockSequenceStartToken,
BlockMappingStartToken,
BlockEndToken,
FlowSequenceStartToken,
FlowSequenceEndToken,
FlowMappingStartToken,
FlowMappingEndToken,
BlockEntryToken,
FlowEntryToken,
KeyToken,
ValueToken,
AliasToken(String),
AnchorToken(String),
TagToken(String, String),
ScalarToken(TScalarStyle, String),
}
Variants
NoToken | |
StreamStartToken | |
StreamEndToken | |
VersionDirectiveToken | |
TagDirectiveToken | |
DocumentStartToken | |
DocumentEndToken | |
BlockSequenceStartToken | |
BlockMappingStartToken | |
BlockEndToken | |
FlowSequenceStartToken | |
FlowSequenceEndToken | |
FlowMappingStartToken | |
FlowMappingEndToken | |
BlockEntryToken | |
FlowEntryToken | |
KeyToken | |
ValueToken | |
AliasToken | |
AnchorToken | |
TagToken | |
ScalarToken | |
Trait Implementations
Derived Implementations