source: pyyaml/branches/working-on-emitter/tests/data/mappings.events @ 129

Revision 129, 1.3 KB checked in by xi, 9 years ago (diff)

Add block styles.

Line 
1- !StreamStart
2
3- !DocumentStart
4- !Mapping
5- !Scalar { implicit: true, value: 'key' }
6- !Scalar { implicit: true, value: 'value' }
7- !Scalar { implicit: true, value: 'empty mapping' }
8- !Mapping
9- !CollectionEnd
10- !Scalar { implicit: true, value: 'empty mapping with tag' }
11- !Mapping { tag: '!mytag' }
12- !CollectionEnd
13- !Scalar { implicit: true, value: 'block mapping' }
14- !Mapping
15- !Mapping
16- !Scalar { implicit: true, value: 'complex' }
17- !Scalar { implicit: true, value: 'key' }
18- !Scalar { implicit: true, value: 'complex' }
19- !Scalar { implicit: true, value: 'key' }
20- !CollectionEnd
21- !Mapping
22- !Scalar { implicit: true, value: 'complex' }
23- !Scalar { implicit: true, value: 'key' }
24- !CollectionEnd
25- !CollectionEnd
26- !Scalar { implicit: true, value: 'flow mapping' }
27- !Mapping { flow: true }
28- !Scalar { implicit: true, value: 'key' }
29- !Scalar { implicit: true, value: 'value' }
30- !Mapping
31- !Scalar { implicit: true, value: 'complex' }
32- !Scalar { implicit: true, value: 'key' }
33- !Scalar { implicit: true, value: 'complex' }
34- !Scalar { implicit: true, value: 'key' }
35- !CollectionEnd
36- !Mapping
37- !Scalar { implicit: true, value: 'complex' }
38- !Scalar { implicit: true, value: 'key' }
39- !CollectionEnd
40- !CollectionEnd
41- !CollectionEnd
42- !DocumentEnd
43
44- !StreamEnd
Note: See TracBrowser for help on using the repository browser.