Ignore:
Timestamp:
04/16/06 19:45:21 (9 years ago)
Author:
xi
Message:

Refactor resolver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/tests/data/mappings.events

    r132 r137  
    33- !DocumentStart 
    44- !MappingStart 
    5 - !Scalar { implicit: true, value: 'key' } 
    6 - !Scalar { implicit: true, value: 'value' } 
    7 - !Scalar { implicit: true, value: 'empty mapping' } 
     5- !Scalar { implicit: [true,true], value: 'key' } 
     6- !Scalar { implicit: [true,true], value: 'value' } 
     7- !Scalar { implicit: [true,true], value: 'empty mapping' } 
    88- !MappingStart 
    99- !MappingEnd 
    10 - !Scalar { implicit: true, value: 'empty mapping with tag' } 
    11 - !MappingStart { tag: '!mytag' } 
     10- !Scalar { implicit: [true,true], value: 'empty mapping with tag' } 
     11- !MappingStart { tag: '!mytag', implicit: false } 
    1212- !MappingEnd 
    13 - !Scalar { implicit: true, value: 'block mapping' } 
     13- !Scalar { implicit: [true,true], value: 'block mapping' } 
    1414- !MappingStart 
    1515- !MappingStart 
    16 - !Scalar { implicit: true, value: 'complex' } 
    17 - !Scalar { implicit: true, value: 'key' } 
    18 - !Scalar { implicit: true, value: 'complex' } 
    19 - !Scalar { implicit: true, value: 'key' } 
     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' } 
    2020- !MappingEnd 
    2121- !MappingStart 
    22 - !Scalar { implicit: true, value: 'complex' } 
    23 - !Scalar { implicit: true, value: 'key' } 
     22- !Scalar { implicit: [true,true], value: 'complex' } 
     23- !Scalar { implicit: [true,true], value: 'key' } 
    2424- !MappingEnd 
    2525- !MappingEnd 
    26 - !Scalar { implicit: true, value: 'flow mapping' } 
     26- !Scalar { implicit: [true,true], value: 'flow mapping' } 
    2727- !MappingStart { flow_style: true } 
    28 - !Scalar { implicit: true, value: 'key' } 
    29 - !Scalar { implicit: true, value: 'value' } 
     28- !Scalar { implicit: [true,true], value: 'key' } 
     29- !Scalar { implicit: [true,true], value: 'value' } 
    3030- !MappingStart 
    31 - !Scalar { implicit: true, value: 'complex' } 
    32 - !Scalar { implicit: true, value: 'key' } 
    33 - !Scalar { implicit: true, value: 'complex' } 
    34 - !Scalar { implicit: true, value: 'key' } 
     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' } 
    3535- !MappingEnd 
    3636- !MappingStart 
    37 - !Scalar { implicit: true, value: 'complex' } 
    38 - !Scalar { implicit: true, value: 'key' } 
     37- !Scalar { implicit: [true,true], value: 'complex' } 
     38- !Scalar { implicit: [true,true], value: 'key' } 
    3939- !MappingEnd 
    4040- !MappingEnd 
Note: See TracChangeset for help on using the changeset viewer.