C# Class YamlDotNet.RepresentationModel.YamlVisitorBase

Abstract implementation of IYamlVisitor that knows how to walk a complete YAML object model.
Inheritance: IYamlVisitor
Mostra file Open project: aaubry/YamlDotNet

Public Methods

Method Description
Visit ( YamlDocument document ) : void

Called when this object is visiting a YamlDocument.

Visit ( YamlMappingNode mapping ) : void

Called when this object is visiting a YamlMappingNode.

Visit ( YamlScalarNode scalar ) : void

Called when this object is visiting a YamlScalarNode.

Visit ( YamlSequenceNode sequence ) : void

Called when this object is visiting a YamlSequenceNode.

Visit ( YamlStream stream ) : void

Called when this object is visiting a YamlStream.

Protected Methods

Method Description
VisitChildren ( YamlDocument document ) : void

Visits every child of a YamlDocument.

VisitChildren ( YamlMappingNode mapping ) : void

Visits every child of a YamlMappingNode.

VisitChildren ( YamlSequenceNode sequence ) : void

Visits every child of a YamlSequenceNode.

VisitChildren ( YamlStream stream ) : void

Visits every child of a YamlStream.

VisitPair ( YamlNode key, YamlNode value ) : void

Called when this object is visiting a key-value pair.

Method Details

Visit() public method

Called when this object is visiting a YamlDocument.
public Visit ( YamlDocument document ) : void
document YamlDocument /// The that is being visited. ///
return void

Visit() public method

Called when this object is visiting a YamlMappingNode.
public Visit ( YamlMappingNode mapping ) : void
mapping YamlMappingNode /// The that is being visited. ///
return void

Visit() public method

Called when this object is visiting a YamlScalarNode.
public Visit ( YamlScalarNode scalar ) : void
scalar YamlScalarNode /// The that is being visited. ///
return void

Visit() public method

Called when this object is visiting a YamlSequenceNode.
public Visit ( YamlSequenceNode sequence ) : void
sequence YamlSequenceNode /// The that is being visited. ///
return void

Visit() public method

Called when this object is visiting a YamlStream.
public Visit ( YamlStream stream ) : void
stream YamlStream /// The that is being visited. ///
return void

VisitChildren() protected method

Visits every child of a YamlDocument.
protected VisitChildren ( YamlDocument document ) : void
document YamlDocument /// The that is being visited. ///
return void

VisitChildren() protected method

Visits every child of a YamlMappingNode.
protected VisitChildren ( YamlMappingNode mapping ) : void
mapping YamlMappingNode /// The that is being visited. ///
return void

VisitChildren() protected method

Visits every child of a YamlSequenceNode.
protected VisitChildren ( YamlSequenceNode sequence ) : void
sequence YamlSequenceNode /// The that is being visited. ///
return void

VisitChildren() protected method

Visits every child of a YamlStream.
protected VisitChildren ( YamlStream stream ) : void
stream YamlStream /// The that is being visited. ///
return void

VisitPair() protected method

Called when this object is visiting a key-value pair.
protected VisitPair ( YamlNode key, YamlNode value ) : void
key YamlNode The left (key) that is being visited.
value YamlNode The right (value) that is being visited.
return void