C# Class YamlDotNet.RepresentationModel.DocumentLoadingState

Manages the state of a YamlDocument while it is loading.
Mostrar archivo Open project: aaubry/YamlDotNet Class Usage Examples

Public Methods

Method Description
AddAnchor ( YamlNode node ) : void

Adds the specified node to the anchor list.

AddNodeWithUnresolvedAliases ( YamlNode node ) : void

Adds the specified node to the collection of nodes with unresolved aliases.

GetNode ( string anchor, bool throwException, YamlDotNet.Core.Mark start, YamlDotNet.Core.Mark end ) : YamlNode

Gets the node with the specified anchor.

ResolveAliases ( ) : void

Resolves the aliases that could not be resolved while loading the document.

Method Details

AddAnchor() public method

Adds the specified node to the anchor list.
public AddAnchor ( YamlNode node ) : void
node YamlNode The node.
return void

AddNodeWithUnresolvedAliases() public method

Adds the specified node to the collection of nodes with unresolved aliases.
public AddNodeWithUnresolvedAliases ( YamlNode node ) : void
node YamlNode /// The that has unresolved aliases. ///
return void

GetNode() public method

Gets the node with the specified anchor.
public GetNode ( string anchor, bool throwException, YamlDotNet.Core.Mark start, YamlDotNet.Core.Mark end ) : YamlNode
anchor string The anchor.
throwException bool if set to true, the method should throw an exception if there is no node with that anchor.
start YamlDotNet.Core.Mark The start position.
end YamlDotNet.Core.Mark The end position.
return YamlNode

ResolveAliases() public method

Resolves the aliases that could not be resolved while loading the document.
public ResolveAliases ( ) : void
return void