#[non_exhaustive]#[repr(u32)]pub enum YamlParserStateT {
Show 24 variants
YamlParseStreamStartState = 0,
YamlParseImplicitDocumentStartState = 1,
YamlParseDocumentStartState = 2,
YamlParseDocumentContentState = 3,
YamlParseDocumentEndState = 4,
YamlParseBlockNodeState = 5,
YamlParseBlockNodeOrIndentlessSequenceState = 6,
YamlParseFlowNodeState = 7,
YamlParseBlockSequenceFirstEntryState = 8,
YamlParseBlockSequenceEntryState = 9,
YamlParseIndentlessSequenceEntryState = 10,
YamlParseBlockMappingFirstKeyState = 11,
YamlParseBlockMappingKeyState = 12,
YamlParseBlockMappingValueState = 13,
YamlParseFlowSequenceFirstEntryState = 14,
YamlParseFlowSequenceEntryState = 15,
YamlParseFlowSequenceEntryMappingKeyState = 16,
YamlParseFlowSequenceEntryMappingValueState = 17,
YamlParseFlowSequenceEntryMappingEndState = 18,
YamlParseFlowMappingFirstKeyState = 19,
YamlParseFlowMappingKeyState = 20,
YamlParseFlowMappingValueState = 21,
YamlParseFlowMappingEmptyValueState = 22,
YamlParseEndState = 23,
}
Expand description
The states of the parser.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
YamlParseStreamStartState = 0
Expect stream-start.
YamlParseImplicitDocumentStartState = 1
Expect the beginning of an implicit document.
YamlParseDocumentStartState = 2
Expect document-start.
YamlParseDocumentContentState = 3
Expect the content of a document.
YamlParseDocumentEndState = 4
Expect document-end.
YamlParseBlockNodeState = 5
Expect a block node.
YamlParseBlockNodeOrIndentlessSequenceState = 6
Expect a block node or indentless sequence.
YamlParseFlowNodeState = 7
Expect a flow node.
YamlParseBlockSequenceFirstEntryState = 8
Expect the first entry of a block sequence.
YamlParseBlockSequenceEntryState = 9
Expect an entry of a block sequence.
YamlParseIndentlessSequenceEntryState = 10
Expect an entry of an indentless sequence.
YamlParseBlockMappingFirstKeyState = 11
Expect the first key of a block mapping.
YamlParseBlockMappingKeyState = 12
Expect a block mapping key.
YamlParseBlockMappingValueState = 13
Expect a block mapping value.
YamlParseFlowSequenceFirstEntryState = 14
Expect the first entry of a flow sequence.
YamlParseFlowSequenceEntryState = 15
Expect an entry of a flow sequence.
YamlParseFlowSequenceEntryMappingKeyState = 16
Expect a key of an ordered mapping.
YamlParseFlowSequenceEntryMappingValueState = 17
Expect a value of an ordered mapping.
YamlParseFlowSequenceEntryMappingEndState = 18
Expect the and of an ordered mapping entry.
YamlParseFlowMappingFirstKeyState = 19
Expect the first key of a flow mapping.
YamlParseFlowMappingKeyState = 20
Expect a key of a flow mapping.
YamlParseFlowMappingValueState = 21
Expect a value of a flow mapping.
YamlParseFlowMappingEmptyValueState = 22
Expect an empty value of a flow mapping.
YamlParseEndState = 23
Expect nothing.
Trait Implementations§
Source§impl Clone for YamlParserStateT
impl Clone for YamlParserStateT
Source§fn clone(&self) -> YamlParserStateT
fn clone(&self) -> YamlParserStateT
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more