private void StartChild(Emitter emitter, YAMLNode next) { if (Style.IsAnyBlock()) { emitter.Write('-').Write(' '); if (next.NodeType == NodeType) { emitter.IncreaseIndent(); } } if (next.IsIndent) { emitter.IncreaseIndent(); } }
private void StartTransition(Emitter emitter, YAMLNode next) { emitter.Write(':').WriteWhitespace(); if (Style == MappingStyle.Block) { if (next.IsMultiline) { emitter.WriteLine(); } } if (next.IsIndent) { emitter.IncreaseIndent(); } }