aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/source/dyaml/style.d
blob: 319592c7a186478837e0b503f597833196c806e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//          Copyright Ferdinand Majerech 2011.
// Distributed under the Boost Software License, Version 1.0.
//    (See accompanying file LICENSE_1_0.txt or copy at
//          http://www.boost.org/LICENSE_1_0.txt)

///YAML node formatting styles.
module dyaml.style;


///Scalar styles.
enum ScalarStyle : ubyte
{
    /// Invalid (uninitialized) style
    invalid = 0,
    /// `|` (Literal block style)
    literal,
    /// `>` (Folded block style)
    folded,
    /// Plain scalar
    plain,
    /// Single quoted scalar
    singleQuoted,
    /// Double quoted scalar
    doubleQuoted
}

///Collection styles.
enum CollectionStyle : ubyte
{
    /// Invalid (uninitialized) style
    invalid = 0,
    /// Block style.
    block,
    /// Flow style.
    flow
}