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

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

Add block styles.

RevLine 
[129]1- !StreamStart
2
3- !DocumentStart
4- !Sequence
5- !CollectionEnd
6- !DocumentEnd
7
8- !DocumentStart
9- !Sequence { tag: '!mytag' }
10- !CollectionEnd
11- !DocumentEnd
12
13- !DocumentStart
14- !Sequence
15- !Sequence
16- !CollectionEnd
17- !Sequence { tag: '!mytag' }
18- !CollectionEnd
19- !Sequence
20- !Scalar
21- !Scalar { value: 'data' }
22- !Scalar { tag: '!mytag', value: 'data' }
23- !CollectionEnd
24- !Sequence
25- !Sequence
26- !Sequence
27- !Scalar
28- !CollectionEnd
29- !CollectionEnd
30- !CollectionEnd
31- !Sequence
32- !Sequence { tag: '!mytag' }
33- !Sequence
34- !Scalar { value: 'data' }
35- !CollectionEnd
36- !CollectionEnd
37- !CollectionEnd
38- !CollectionEnd
39- !DocumentEnd
40
41- !DocumentStart
42- !Sequence
43- !Mapping
44- !Scalar { value: 'key1' }
45- !Sequence
46- !Scalar { value: 'data1' }
47- !Scalar { value: 'data2' }
48- !CollectionEnd
49- !Scalar { value: 'key2' }
50- !Sequence { tag: '!mytag1' }
51- !Scalar { value: 'data3' }
52- !Sequence
53- !Scalar { value: 'data4' }
54- !Scalar { value: 'data5' }
55- !CollectionEnd
56- !Sequence { tag: '!mytag2' }
57- !Scalar { value: 'data6' }
58- !Scalar { value: 'data7' }
59- !CollectionEnd
60- !CollectionEnd
61- !CollectionEnd
62- !CollectionEnd
63- !DocumentEnd
64
65- !DocumentStart
66- !Sequence
67- !Sequence { flow: true }
68- !Sequence
69- !CollectionEnd
70- !Scalar
71- !Scalar { value: 'data' }
72- !Scalar { tag: '!mytag', value: 'data' }
73- !Sequence { tag: '!mytag' }
74- !Scalar { value: 'data' }
75- !Scalar { value: 'data' }
76- !CollectionEnd
77- !CollectionEnd
78- !CollectionEnd
79- !DocumentEnd
80
81- !StreamEnd
Note: See TracBrowser for help on using the repository browser.