1 
2 //          Copyright Ferdinand Majerech 2011.
3 // Distributed under the Boost Software License, Version 1.0.
4 //    (See accompanying file LICENSE_1_0.txt or copy at
5 //          http://www.boost.org/LICENSE_1_0.txt)
6 
7 ///YAML node formatting styles.
8 module dyaml.style;
9 
10 
11 ///Scalar styles.
12 enum ScalarStyle : ubyte
13 {
14     Invalid = 0,  /// Invalid (uninitialized) style
15     Literal,      /// `|` (Literal block style)
16     Folded,       /// `>` (Folded block style)
17     Plain,        /// Plain scalar
18     SingleQuoted, /// Single quoted scalar
19     DoubleQuoted  /// Double quoted scalar
20 }
21 
22 ///Collection styles.
23 enum CollectionStyle : ubyte
24 {
25     Invalid = 0, /// Invalid (uninitialized) style
26     Block,       /// Block style.
27     Flow         /// Flow style.
28 }