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

Revision 137, 1.4 KB checked in by xi, 8 years ago (diff)

Refactor resolver.

RevLine 
[129]1- !StreamStart
2
3- !DocumentStart
[130]4- !MappingStart
[137]5- !Scalar { implicit: [true,true], value: 'key' }
6- !Scalar { implicit: [true,true], value: 'value' }
7- !Scalar { implicit: [true,true], value: 'empty mapping' }
[130]8- !MappingStart
9- !MappingEnd
[137]10- !Scalar { implicit: [true,true], value: 'empty mapping with tag' }
11- !MappingStart { tag: '!mytag', implicit: false }
[130]12- !MappingEnd
[137]13- !Scalar { implicit: [true,true], value: 'block mapping' }
[130]14- !MappingStart
15- !MappingStart
[137]16- !Scalar { implicit: [true,true], value: 'complex' }
17- !Scalar { implicit: [true,true], value: 'key' }
18- !Scalar { implicit: [true,true], value: 'complex' }
19- !Scalar { implicit: [true,true], value: 'key' }
[130]20- !MappingEnd
21- !MappingStart
[137]22- !Scalar { implicit: [true,true], value: 'complex' }
23- !Scalar { implicit: [true,true], value: 'key' }
[130]24- !MappingEnd
25- !MappingEnd
[137]26- !Scalar { implicit: [true,true], value: 'flow mapping' }
[132]27- !MappingStart { flow_style: true }
[137]28- !Scalar { implicit: [true,true], value: 'key' }
29- !Scalar { implicit: [true,true], value: 'value' }
[130]30- !MappingStart
[137]31- !Scalar { implicit: [true,true], value: 'complex' }
32- !Scalar { implicit: [true,true], value: 'key' }
33- !Scalar { implicit: [true,true], value: 'complex' }
34- !Scalar { implicit: [true,true], value: 'key' }
[130]35- !MappingEnd
36- !MappingStart
[137]37- !Scalar { implicit: [true,true], value: 'complex' }
38- !Scalar { implicit: [true,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.