Debian Codegraph @

test/syntax/source/code/yaml

raw
1 ---
2 # comment
3 string_1: "Bar"
4 string_2: 'bar'
5 string_3: bar
6 inline_keys_ignored: sompath/name/file.jpg
7 keywords_in_yaml:
8 - true
9 - false
10 - TRUE
11 - FALSE
12 - 21
13 - 21.0
14 - !!str 123
15 "quoted_key": &foobar
16 bar: foo
17 foo:
18 "foo": bar
19
20 reference: *foobar
21
22 multiline_1: |
23 Multiline
24 String
25 multiline_2: >
26 Multiline
27 String
28 multiline_3: "
29 Multiline string
30 "
31
32 ansible_variables: "foo {{variable}}"
33
34 array_nested:
35 - a
36 - b: 1
37 c: 2
38 - b
39 - comment