public abstract Accept ( IYamlVisitor visitor ) : void | ||
visitor | IYamlVisitor |
/// A |
Résultat | void |
/// <summary> /// Called when this object is visiting a key-value pair. /// </summary> /// <param name="key">The left (key) <see cref="YamlNode"/> that is being visited.</param> /// <param name="value">The right (value) <see cref="YamlNode"/> that is being visited.</param> protected virtual void VisitPair(YamlNode key, YamlNode value) { key.Accept(this); value.Accept(this); }
/// <summary> /// Called when this object is visiting a key-value pair. /// </summary> /// <param name="key">The left (key) <see cref="YamlNode"/> that is being visited.</param> /// <param name="value">The right (value) <see cref="YamlNode"/> that is being visited.</param> protected virtual void VisitPair(YamlNode key, YamlNode value) { key.Accept(this); value.Accept(this); }
protected override void VisitPair(YamlNode key, YamlNode value) { EnterContext(key as YamlScalarNode); value.Accept(this); ExitContext(); }