YamlDotNet
The exception that is thrown when an alias references an anchor that does not exist.
Initializes a new instance of the class.
The message.
Initializes a new instance of the class.
Initializes a new instance of the class.
The message.
The inner.
Defines constants that relate to the YAML specification.
Emits YAML streams.
Initializes a new instance of the class.
The where the emitter will write.
Initializes a new instance of the class.
The where the emitter will write.
The preferred indentation.
Initializes a new instance of the class.
The where the emitter will write.
The preferred indentation.
The preferred text width.
Initializes a new instance of the class.
The where the emitter will write.
The preferred indentation.
The preferred text width.
If true, write the output in canonical form.
Emit an evt.
Check if we need to accumulate more events before emitting.
We accumulate extra
- 1 event for DOCUMENT-START
- 2 events for SEQUENCE-START
- 3 events for MAPPING-START
Expect STREAM-START.
Expect DOCUMENT-START or STREAM-END.
Expect the root node.
Expect a node.
Expect ALIAS.
Expect SCALAR.
Expect SEQUENCE-START.
Expect MAPPING-START.
Expect DOCUMENT-END.
Expect a flow item node.
Expect a flow key node.
Expect a flow value node.
Expect a block item node.
Expect a block key node.
Expect a block value node.
Check if the document content is an empty scalar.
Check if the next node can be expressed as a simple key.
The preferred indentation.
The preferred text width.
If true, write the output in canonical form.
If true, write output without anchor names.
The maximum allowed length for simple keys.
The specifiction mandates 1024 characters, but any desired value may be used.
Represents an alias event.
Gets the event type, which allows for simpler type comparisons.
Gets the value of the alias.
Initializes a new instance of the class.
The value of the alias.
The start position of the event.
The end position of the event.
Initializes a new instance of the class.
The value of the alias.
Returns a that represents the current .
A that represents the current .
Invokes run-time type specific Visit() method of the specified visitor.
visitor, may not be null.
Returns a that represents the current .
A that represents the current .
Represents a document end event.
Gets a value indicating the variation of depth caused by this event.
The value can be either -1, 0 or 1. For start events, it will be 1,
for end events, it will be -1, and for the remaining events, it will be 0.
Gets the event type, which allows for simpler type comparisons.
Gets a value indicating whether this instance is implicit.
true if this instance is implicit; otherwise, false.
Initializes a new instance of the class.
Indicates whether the event is implicit.
The start position of the event.
The end position of the event.
Initializes a new instance of the class.
Indicates whether the event is implicit.
Returns a that represents the current .
A that represents the current .
Invokes run-time type specific Visit() method of the specified visitor.
visitor, may not be null.
Represents a document start event.
Gets a value indicating the variation of depth caused by this event.
The value can be either -1, 0 or 1. For start events, it will be 1,
for end events, it will be -1, and for the remaining events, it will be 0.
Gets the event type, which allows for simpler type comparisons.
Gets the tags.
The tags.
Gets the version.
The version.
Gets a value indicating whether this instance is implicit.
true if this instance is implicit; otherwise, false.
Initializes a new instance of the class.
The version.
The tags.
Indicates whether the event is implicit.
The start position of the event.
The end position of the event.
Initializes a new instance of the class.
The version.
The tags.
Indicates whether the event is implicit.
Initializes a new instance of the class.
The start position of the event.
The end position of the event.
Initializes a new instance of the class.
Returns a that represents the current .
A that represents the current .
Invokes run-time type specific Visit() method of the specified visitor.
visitor, may not be null.
Callback interface for external event Visitor.
Represents a mapping end event.
Gets a value indicating the variation of depth caused by this event.
The value can be either -1, 0 or 1. For start events, it will be 1,
for end events, it will be -1, and for the remaining events, it will be 0.
Gets the event type, which allows for simpler type comparisons.
Initializes a new instance of the class.
The start position of the event.
The end position of the event.
Initializes a new instance of the class.
Returns a that represents the current .
A that represents the current .
Invokes run-time type specific Visit() method of the specified visitor.
visitor, may not be null.
Represents a mapping start event.
Gets a value indicating the variation of depth caused by this event.
The value can be either -1, 0 or 1. For start events, it will be 1,
for end events, it will be -1, and for the remaining events, it will be 0.
Gets the event type, which allows for simpler type comparisons.
Gets a value indicating whether this instance is implicit.
true if this instance is implicit; otherwise, false.
Gets a value indicating whether this instance is canonical.
Gets the style of the mapping.
Initializes a new instance of the class.
The anchor.
The tag.
Indicates whether the event is implicit.
The style of the mapping.
The start position of the event.
The end position of the event.
Initializes a new instance of the class.
The anchor.
The tag.
Indicates whether the event is implicit.
The style of the mapping.
Initializes a new instance of the class.
Returns a that represents the current .
A that represents the current .
Invokes run-time type specific Visit() method of the specified visitor.
visitor, may not be null.
Specifies the style of a mapping.
Let the emitter choose the style.
The block mapping style.
The flow mapping style.
Contains the behavior that is common between node events.
Gets the anchor.
Gets the tag.
Gets a value indicating whether this instance is canonical.
Initializes a new instance of the class.
The anchor.
The tag.
The start position of the event.
The end position of the event.
Initializes a new instance of the class.
Base class for parsing events.
Gets a value indicating the variation of depth caused by this event.
The value can be either -1, 0 or 1. For start events, it will be 1,
for end events, it will be -1, and for the remaining events, it will be 0.
Gets the event type, which allows for simpler type comparisons.
Gets the position in the input stream where the event starts.
Gets the position in the input stream where the event ends.
Accepts the specified visitor.
Visitor to accept, may not be null
Initializes a new instance of the class.
The start position of the event.
The end position of the event.
Represents a scalar event.
Gets the event type, which allows for simpler type comparisons.
Gets the value.
The value.
Gets the style of the scalar.
The style.
Gets a value indicating whether the tag is optional for the plain style.
Gets a value indicating whether the tag is optional for any non-plain style.
Gets a value indicating whether this instance is canonical.
Initializes a new instance of the class.
The anchor.
The tag.
The value.
The style.
.
.
The start position of the event.
The end position of the event.
Initializes a new instance of the class.
The anchor.
The tag.
The value.
The style.
.
.
Initializes a new instance of the class.
The value.
Initializes a new instance of the class.
The tag.
The value.
Initializes a new instance of the class.
Returns a that represents the current .
A that represents the current .
Invokes run-time type specific Visit() method of the specified visitor.
visitor, may not be null.
Represents a sequence end event.
Gets a value indicating the variation of depth caused by this event.
The value can be either -1, 0 or 1. For start events, it will be 1,
for end events, it will be -1, and for the remaining events, it will be 0.
Gets the event type, which allows for simpler type comparisons.
Initializes a new instance of the class.
The start position of the event.
The end position of the event.
Initializes a new instance of the class.
Returns a that represents the current .
A that represents the current .
Invokes run-time type specific Visit() method of the specified visitor.
visitor, may not be null.
Represents a sequence start event.
Gets a value indicating the variation of depth caused by this event.
The value can be either -1, 0 or 1. For start events, it will be 1,
for end events, it will be -1, and for the remaining events, it will be 0.
Gets the event type, which allows for simpler type comparisons.
Gets a value indicating whether this instance is implicit.
true if this instance is implicit; otherwise, false.
Gets a value indicating whether this instance is canonical.
Gets the style.
The style.
Initializes a new instance of the class.
The anchor.
The tag.
if set to true [is implicit].
The style.
The start position of the event.
The end position of the event.
Initializes a new instance of the class.
Returns a that represents the current .
A that represents the current .
Invokes run-time type specific Visit() method of the specified visitor.
visitor, may not be null.
Specifies the style of a sequence.
Let the emitter choose the style.
The block sequence style.
The flow sequence style.
Represents a stream end event.
Gets a value indicating the variation of depth caused by this event.
The value can be either -1, 0 or 1. For start events, it will be 1,
for end events, it will be -1, and for the remaining events, it will be 0.
Gets the event type, which allows for simpler type comparisons.
Initializes a new instance of the class.
The start position of the event.
The end position of the event.
Initializes a new instance of the class.
Returns a that represents the current .
A that represents the current .
Invokes run-time type specific Visit() method of the specified visitor.
visitor, may not be null.
Represents a stream start event.
Gets a value indicating the variation of depth caused by this event.
The value can be either -1, 0 or 1. For start events, it will be 1,
for end events, it will be -1, and for the remaining events, it will be 0.
Gets the event type, which allows for simpler type comparisons.
Initializes a new instance of the class.
Initializes a new instance of the class.
The start position of the event.
The end position of the event.
Returns a that represents the current .
A that represents the current .
Invokes run-time type specific Visit() method of the specified visitor.
visitor, may not be null.
The exception that is thrown when an alias references an anchor
that has not yet been defined in a context that does not support forward references.
Initializes a new instance of the class.
The message.
Initializes a new instance of the class.
Initializes a new instance of the class.
The message.
The inner.
Supports implementations of by providing methods to combine two hash codes.
Combines two hash codes.
The first hash code.
The second hash code.
Represents a YAML stream emitter.
Emits an event.
Gets a value indicating whether the end of the input reader has been reached.
Gets the character at the specified offset.
Skips the next characters. Those characters must have been
obtained first by calling the method.
Generic queue on which items may be inserted
Gets the number of items that are contained by the queue.
Enqueues the specified item.
The item to be enqueued.
Dequeues an item.
Returns the item that been dequeued.
Inserts an item at the specified index.
The index where to insert the item.
The item to be inserted.
Represents a YAML stream parser.
Gets the current event. Returns null before the first call to ,
and also after returns false.
Moves to the next event.
Returns true if there are more events available, otherwise returns false.
Defines the interface for a stand-alone YAML scanner that
converts a sequence of characters into a sequence of YAML tokens.
Gets the current position inside the input stream.
The current position.
Gets the current token.
Moves to the next token and consumes the current token.
Moves to the next token without consuming the current token.
Consumes the current token.
Provides access to a stream and allows to peek at the next characters,
up to the buffer's capacity.
This class implements a circular buffer with a fixed capacity.
Initializes a new instance of the class.
The input.
The capacity.
Gets a value indicating whether the end of the input reader has been reached.
Gets the index of the character for the specified offset.
Gets the character at the specified offset.
Reads characters until at least characters are in the buffer.
Number of characters to cache.
Skips the next characters. Those characters must have been
obtained first by calling the or methods.
Represents a location inside a file
Gets a with empty values.
Gets / sets the absolute offset in the file
Gets / sets the number of the line
Gets / sets the index of the column
Returns a that represents this instance.
A that represents this instance.
Exception that is thrown when an infinite recursion is detected.
Initializes a new instance of the class.
The message.
Initializes a new instance of the class.
Initializes a new instance of the class.
The message.
The inner.
Simple implementation of that implements merging: http://yaml.org/type/merge.html
Parses YAML streams.
Initializes a new instance of the class.
The input where the YAML stream is to be read.
Initializes a new instance of the class.
Gets the current event.
Moves to the next event.
Returns true if there are more events available, otherwise returns false.
Parse the production:
stream ::= STREAM-START implicit_document? explicit_document* STREAM-END
************
Parse the productions:
implicit_document ::= block_node DOCUMENT-END*
*
explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END*
*************************
Parse directives.
Parse the productions:
explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END*
***********
Generate an empty scalar event.
Parse the productions:
block_node_or_indentless_sequence ::=
ALIAS
*****
| properties (block_content | indentless_block_sequence)?
********** *
| block_content | indentless_block_sequence
*
block_node ::= ALIAS
*****
| properties block_content?
********** *
| block_content
*
flow_node ::= ALIAS
*****
| properties flow_content?
********** *
| flow_content
*
properties ::= TAG ANCHOR? | ANCHOR TAG?
*************************
block_content ::= block_collection | flow_collection | SCALAR
******
flow_content ::= flow_collection | SCALAR
******
Parse the productions:
implicit_document ::= block_node DOCUMENT-END*
*************
explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END*
*************
Parse the productions:
block_sequence ::= BLOCK-SEQUENCE-START (BLOCK-ENTRY block_node?)* BLOCK-END
******************** *********** * *********
Parse the productions:
indentless_sequence ::= (BLOCK-ENTRY block_node?)+
*********** *
Parse the productions:
block_mapping ::= BLOCK-MAPPING_START
*******************
((KEY block_node_or_indentless_sequence?)?
*** *
(VALUE block_node_or_indentless_sequence?)?)*
BLOCK-END
*********
Parse the productions:
block_mapping ::= BLOCK-MAPPING_START
((KEY block_node_or_indentless_sequence?)?
(VALUE block_node_or_indentless_sequence?)?)*
***** *
BLOCK-END
Parse the productions:
flow_sequence ::= FLOW-SEQUENCE-START
*******************
(flow_sequence_entry FLOW-ENTRY)*
* **********
flow_sequence_entry?
*
FLOW-SEQUENCE-END
*****************
flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)?
*
Parse the productions:
flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)?
*** *
Parse the productions:
flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)?
***** *
Parse the productions:
flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)?
*
Parse the productions:
flow_mapping ::= FLOW-MAPPING-START
******************
(flow_mapping_entry FLOW-ENTRY)*
* **********
flow_mapping_entry?
******************
FLOW-MAPPING-END
****************
flow_mapping_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)?
* *** *
Parse the productions:
flow_mapping_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)?
* ***** *
Extension methods that provide useful abstractions over .
Ensures that the current event is of the specified type, returns it and moves to the next event.
Type of the .
Returns the current event.
If the current event is not of the specified type.
Checks whether the current event is of the specified type.
If the event is of the specified type, returns it and moves to the next event.
Otherwise returns null.
Type of the .
Returns true if the current event is of type T; otherwise returns null.
Enforces that the current event is of the specified type.
Type of the .
Returns the current event.
If the current event is not of the specified type.
Checks whether the current event is of the specified type.
Type of the event.
Returns true if the current event is of type . Otherwise returns false.
Skips the current event and any nested event.
Keeps track of the recursion level,
and throws
whenever is reached.
Increments the recursion level,
and throws
if is reached.
Increments the recursion level,
and returns whether is still less than .
Decrements the recursion level.
Specifies the style of a YAML scalar.
Let the emitter choose the style.
The plain scalar style.
The single-quoted scalar style.
The double-quoted scalar style.
The literal scalar style.
The folded scalar style.
Converts a sequence of characters into a sequence of YAML tokens.
Gets the current token.
Initializes a new instance of the class.
The input.
Indicates whether comments should be ignored
Gets the current position inside the input stream.
The current position.
Moves to the next token.
Consumes the current token and increments the parsed token count
Check the list of potential simple keys and remove the positions that
cannot contain simple keys anymore.
Pop indentation levels from the indents stack until the current level
becomes less or equal to the column. For each indentation level, append
the BLOCK-END token.
Produce the STREAM-END token and shut down the scanner.
Scan a YAML-DIRECTIVE or TAG-DIRECTIVE token.
Scope:
%YAML 1.1 # a comment \n
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
%TAG !yaml! tag:yaml.org,2002: \n
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Produce the DOCUMENT-START or DOCUMENT-END token.
Produce the FLOW-SEQUENCE-START or FLOW-MAPPING-START token.
Increase the flow level and resize the simple key list if needed.
Produce the FLOW-SEQUENCE-END or FLOW-MAPPING-END token.
Decrease the flow level.
Produce the FLOW-ENTRY token.
Produce the BLOCK-ENTRY token.
Produce the KEY token.
Produce the VALUE token.
Push the current indentation level to the stack and set the new level
the current column is greater than the indentation level. In this case,
append or insert the specified token into the token queue.
Produce the ALIAS or ANCHOR token.
Produce the TAG token.
Scan a TAG token.
Produce the SCALAR(...,literal) or SCALAR(...,folded) tokens.
Scan a block scalar.
Scan indentation spaces and line breaks for a block scalar. Determine the
indentation level if needed.
Produce the SCALAR(...,single-quoted) or SCALAR(...,double-quoted) tokens.
Scan a quoted scalar.
Produce the SCALAR(...,plain) token.
Scan a plain scalar.
Remove a potential simple key at the current flow level.
Scan the directive name.
Scope:
%YAML 1.1 # a comment \n
^^^^
%TAG !yaml! tag:yaml.org,2002: \n
^^^
Scan the value of VERSION-DIRECTIVE.
Scope:
%YAML 1.1 # a comment \n
^^^^^^
Scan the value of a TAG-DIRECTIVE token.
Scope:
%TAG !yaml! tag:yaml.org,2002: \n
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Scan a tag.
Decode an URI-escape sequence corresponding to a single UTF-8 character.
Scan a tag handle.
Scan the version number of VERSION-DIRECTIVE.
Scope:
%YAML 1.1 # a comment \n
^
%YAML 1.1 # a comment \n
^
Check if a simple key may start at the current position and add it if
needed.
Exception that is thrown when a semantic error is detected on a YAML stream.
Initializes a new instance of the class.
The message.
Initializes a new instance of the class.
Initializes a new instance of the class.
The message.
The inner.
Exception that is thrown when a syntax error is detected on a YAML stream.
Initializes a new instance of the class.
The message.
Initializes a new instance of the class.
Initializes a new instance of the class.
The message.
The inner.
Collection of .
Initializes a new instance of the class.
Initializes a new instance of the class.
Initial content of the collection.
Gets a value indicating whether the collection contains a directive with the same handle
Represents an anchor token.
Gets the value.
The value.
Initializes a new instance of the class.
The value.
Initializes a new instance of the class.
The value.
The start position of the token.
The end position of the token.
Represents an alias token.
Gets the value of the alias.
Initializes a new instance of the class.
The value of the anchor.
Initializes a new instance of the class.
The value of the anchor.
The start position of the event.
The end position of the event.
Represents a block end token.
Initializes a new instance of the class.
Initializes a new instance of the class.
The start position of the token.
The end position of the token.
Represents a block entry event.
Initializes a new instance of the class.
Initializes a new instance of the class.
The start position of the token.
The end position of the token.
Represents a block mapping start token.
Initializes a new instance of the class.
Initializes a new instance of the class.
The start position of the token.
The end position of the token.
Represents a block sequence start token.
Initializes a new instance of the class.
Initializes a new instance of the class.
The start position of the token.
The end position of the token.
Represents a comment
Gets the value of the comment
Gets a value indicating whether the comment appears other tokens on that line.
Initializes a new instance of the class.
Initializes a new instance of the class.
Represents a document end token.
Initializes a new instance of the class.
Initializes a new instance of the class.
The start position of the token.
The end position of the token.
Represents a document start token.
Initializes a new instance of the class.
Initializes a new instance of the class.
The start position of the token.
The end position of the token.
Base class for YAML tokens.
Gets the value of the comment
Represents a flow entry event.
Initializes a new instance of the class.
Initializes a new instance of the class.
The start position of the token.
The end position of the token.
Represents a flow mapping end token.
Initializes a new instance of the class.
Initializes a new instance of the class.
The start position of the token.
The end position of the token.
Represents a flow mapping start token.
Initializes a new instance of the class.
Initializes a new instance of the class.
The start position of the token.
The end position of the token.
Represents a flow sequence end token.
Initializes a new instance of the class.
Initializes a new instance of the class.
The start position of the token.
The end position of the token.
Represents a flow sequence start token.
Initializes a new instance of the class.
Initializes a new instance of the class.
The start position of the token.
The end position of the token.
Represents a key token.
Initializes a new instance of the class.
Initializes a new instance of the class.
The start position of the token.
The end position of the token.
Represents a scalar token.
Gets the value.
The value.
Gets the style.
The style.
Initializes a new instance of the class.
The value.
Initializes a new instance of the class.
The value.
The style.
Initializes a new instance of the class.
The value.
The style.
The start position of the token.
The end position of the token.
Represents a stream end event.
Initializes a new instance of the class.
Initializes a new instance of the class.
The start position of the token.
The end position of the token.
Represents a stream start token.
Initializes a new instance of the class.
Initializes a new instance of the class.
The start position of the token.
The end position of the token.
Represents a tag token.
Gets the handle.
The handle.
Gets the suffix.
The suffix.
Initializes a new instance of the class.
The handle.
The suffix.
Initializes a new instance of the class.
The handle.
The suffix.
The start position of the token.
The end position of the token.
Represents a tag directive token.
Gets the handle.
The handle.
Gets the prefix.
The prefix.
Initializes a new instance of the class.
The handle.
The prefix.
Initializes a new instance of the class.
The handle.
The prefix.
The start position of the token.
The end position of the token.
Determines whether the specified System.Object is equal to the current System.Object.
The System.Object to compare with the current System.Object.
true if the specified System.Object is equal to the current System.Object; otherwise, false.
Serves as a hash function for a particular type.
A hash code for the current .
Base class for YAML tokens.
Gets the start of the token in the input stream.
Gets the end of the token in the input stream.
Initializes a new instance of the class.
The start position of the token.
The end position of the token.
Represents a value token.
Initializes a new instance of the class.
Initializes a new instance of the class.
The start position of the token.
The end position of the token.
Represents a version directive token.
Gets the version.
The version.
Initializes a new instance of the class.
The version.
Initializes a new instance of the class.
The version.
The start position of the token.
The end position of the token.
Determines whether the specified System.Object is equal to the current System.Object.
The System.Object to compare with the current System.Object.
true if the specified System.Object is equal to the current System.Object; otherwise, false.
Serves as a hash function for a particular type.
A hash code for the current .
Specifies the version of the YAML language.
Gets the major version number.
Gets the minor version number.
Initializes a new instance of the class.
The major version number.
The minor version number.
Determines whether the specified System.Object is equal to the current System.Object.
The System.Object to compare with the current System.Object.
true if the specified System.Object is equal to the current System.Object; otherwise, false.
Serves as a hash function for a particular type.
A hash code for the current .
Base exception that is thrown when the a problem occurs in the YamlDotNet library.
Gets the position in the input stream where the event that originated the exception starts.
Gets the position in the input stream where the event that originated the exception ends.
Initializes a new instance of the class.
The message.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
The message.
The inner.
Returns the that describes the property that
is being returned in an expression in the form:
x => x.SomeProperty
Adapts an to
because not all generic collections implement .
Adapts an to
because not all generic dictionaries implement .
Gets or sets the element with the specified index.
The index of the element to get or set.
The element with the specified index.
Adds an element with the provided key and value to the
at the given index.
The zero-based index at which the item should be inserted.
The object to use as the key of the element to add.
The object to use as the value of the element to add.
Removes the element at the specified index.
The zero-based index of the element to remove.
Determines whether the specified type has a default constructor.
The type.
true if the type has a default constructor; otherwise, false.
Manages the state of a while it is loading.
Adds the specified node to the anchor list.
The node.
Gets the node with the specified anchor.
The anchor.
if set to true, the method should throw an exception if there is no node with that anchor.
The start position.
The end position.
Gets the node with the specified anchor.
The anchor.
The start position.
The end position.
if there is no node with that anchor.
Gets the node with the specified anchor.
The anchor.
The node that was retrieved.
true if the anchor was found; otherwise false.
Adds the specified node to the collection of nodes with unresolved aliases.
The that has unresolved aliases.
Resolves the aliases that could not be resolved while loading the document.
Holds state that is used when emitting a stream.
Gets the already emitted anchors.
The emitted anchors.
Defines the method needed to be able to visit Yaml elements.
Visits a .
The that is being visited.
Visits a .
The that is being visited.
Visits a .
The that is being visited.
Visits a .
The that is being visited.
Visits a .
The that is being visited.
Represents a LibYAML event stream.
Initializes a new instance of the class
from the specified .
Represents an alias node in the YAML document.
Initializes a new instance of the class.
The anchor.
Resolves the aliases that could not be resolved when the node was created.
The state of the document.
Saves the current node to the specified emitter.
The emitter where the node is to be saved.
The state.
Accepts the specified visitor by calling the appropriate Visit method on it.
A .
Serves as a hash function for a particular type.
A hash code for the current .
Returns a that represents this instance.
A that represents this instance.
Recursively enumerates all the nodes from the document, starting on the current node,
and throwing
if is reached.
Gets the type of node.
Represents an YAML document.
Gets or sets the root node.
The root node.
Initializes a new instance of the class.
Initializes a new instance of the class with a single scalar node.
Initializes a new instance of the class.
Visitor that assigns anchors to nodes that are referenced more than once.
Existing anchors are preserved as much as possible.
Key: Node, Value: IsDuplicate
Returns whether the visited node is a duplicate.
Accepts the specified visitor by calling the appropriate Visit method on it.
A .
Gets all nodes from the document.
is thrown if an infinite recursion is detected.
Represents a mapping node in the YAML document.
Gets the children of the current node.
The children.
Gets or sets the style of the node.
The style.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
A sequence of where even elements are keys and odd elements are values.
Initializes a new instance of the class.
A sequence of where even elements are keys and odd elements are values.
Adds the specified mapping to the collection.
The key node.
The value node.
Adds the specified mapping to the collection.
The key node.
The value node.
Adds the specified mapping to the collection.
The key node.
The value node.
Adds the specified mapping to the collection.
The key node.
The value node.
Resolves the aliases that could not be resolved when the node was created.
The state of the document.
Saves the current node to the specified emitter.
The emitter where the node is to be saved.
The state.
Accepts the specified visitor by calling the appropriate Visit method on it.
A .
Serves as a hash function for a particular type.
A hash code for the current .
Recursively enumerates all the nodes from the document, starting on the current node,
and throwing
if is reached.