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

Revision 129, 938 bytes checked in by xi, 9 years ago (diff)

Add block styles.

RevLine 
[129]1- !StreamStart
2
3- !DocumentStart
4- !Mapping
5- !Scalar { implicit: true, value: 'empty scalar' }
6- !Scalar { implicit: true, value: '' }
7- !Scalar { implicit: true, value: 'implicit scalar' }
8- !Scalar { implicit: true, value: 'data' }
9- !Scalar { implicit: true, value: 'quoted scalar' }
10- !Scalar { value: 'data', style: '"' }
11- !Scalar { implicit: true, value: 'block scalar' }
12- !Scalar { value: 'data', style: '|' }
13- !Scalar { implicit: true, value: 'empty scalar with tag' }
14- !Scalar { implicit: true, tag: '!mytag', value: '' }
15- !Scalar { implicit: true, value: 'implicit scalar with tag' }
16- !Scalar { implicit: true, tag: '!mytag', value: 'data' }
17- !Scalar { implicit: true, value: 'quoted scalar with tag' }
18- !Scalar { value: 'data', style: '"', tag: '!mytag' }
19- !Scalar { implicit: true, value: 'block scalar with tag' }
20- !Scalar { value: 'data', style: '|', tag: '!mytag' }
21- !CollectionEnd
22- !DocumentEnd
23
24- !StreamEnd
Note: See TracBrowser for help on using the repository browser.