source: pyyaml/trunk/tests/data/mappings.events @ 130

Revision 130, 1.3 KB checked in by xi, 8 years ago (diff)

Add style information to events generated by Parser.

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