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 (uninitialized) style
15     invalid = 0,
16     /// `|` (Literal block style)
17     literal,
18     /// `>` (Folded block style)
19     folded,
20     /// Plain scalar
21     plain,
22     /// Single quoted scalar
23     singleQuoted,
24     /// Double quoted scalar
25     doubleQuoted
26 }
27 
28 ///Collection styles.
29 enum CollectionStyle : ubyte
30 {
31     /// Invalid (uninitialized) style
32     invalid = 0,
33     /// Block style.
34     block,
35     /// Flow style.
36     flow
37 }