---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: 229Q
input: "-\n  name: Mark McGwire\n  hr:   65\n  avg:  0.278\n-\n  name: Sammy Sosa\n  hr:   63\n  avg:  0.288\n"
diagnostics:

cst:
YAML_STREAM@0..94
  YAML_DOCUMENT@0..94
    YAML_BLOCK_SEQUENCE@0..94
      YAML_BLOCK_SEQUENCE_ITEM@0..48
        YAML_BLOCK_SEQ_ENTRY@0..1 "-"
        NEWLINE@1..2 "\n"
        WHITESPACE@2..4 "  "
        YAML_BLOCK_MAP@4..48
          YAML_BLOCK_MAP_ENTRY@4..25
            YAML_BLOCK_MAP_KEY@4..9
              YAML_SCALAR@4..8
                YAML_SCALAR_TEXT@4..8 "name"
              YAML_COLON@8..9 ":"
            YAML_BLOCK_MAP_VALUE@9..25
              WHITESPACE@9..10 " "
              YAML_SCALAR@10..22
                YAML_SCALAR_TEXT@10..22 "Mark McGwire"
              NEWLINE@22..23 "\n"
              WHITESPACE@23..25 "  "
          YAML_BLOCK_MAP_ENTRY@25..36
            YAML_BLOCK_MAP_KEY@25..28
              YAML_SCALAR@25..27
                YAML_SCALAR_TEXT@25..27 "hr"
              YAML_COLON@27..28 ":"
            YAML_BLOCK_MAP_VALUE@28..36
              WHITESPACE@28..31 "   "
              YAML_SCALAR@31..33
                YAML_SCALAR_TEXT@31..33 "65"
              NEWLINE@33..34 "\n"
              WHITESPACE@34..36 "  "
          YAML_BLOCK_MAP_ENTRY@36..48
            YAML_BLOCK_MAP_KEY@36..40
              YAML_SCALAR@36..39
                YAML_SCALAR_TEXT@36..39 "avg"
              YAML_COLON@39..40 ":"
            YAML_BLOCK_MAP_VALUE@40..48
              WHITESPACE@40..42 "  "
              YAML_SCALAR@42..47
                YAML_SCALAR_TEXT@42..47 "0.278"
              NEWLINE@47..48 "\n"
      YAML_BLOCK_SEQUENCE_ITEM@48..94
        YAML_BLOCK_SEQ_ENTRY@48..49 "-"
        NEWLINE@49..50 "\n"
        WHITESPACE@50..52 "  "
        YAML_BLOCK_MAP@52..94
          YAML_BLOCK_MAP_ENTRY@52..71
            YAML_BLOCK_MAP_KEY@52..57
              YAML_SCALAR@52..56
                YAML_SCALAR_TEXT@52..56 "name"
              YAML_COLON@56..57 ":"
            YAML_BLOCK_MAP_VALUE@57..71
              WHITESPACE@57..58 " "
              YAML_SCALAR@58..68
                YAML_SCALAR_TEXT@58..68 "Sammy Sosa"
              NEWLINE@68..69 "\n"
              WHITESPACE@69..71 "  "
          YAML_BLOCK_MAP_ENTRY@71..82
            YAML_BLOCK_MAP_KEY@71..74
              YAML_SCALAR@71..73
                YAML_SCALAR_TEXT@71..73 "hr"
              YAML_COLON@73..74 ":"
            YAML_BLOCK_MAP_VALUE@74..82
              WHITESPACE@74..77 "   "
              YAML_SCALAR@77..79
                YAML_SCALAR_TEXT@77..79 "63"
              NEWLINE@79..80 "\n"
              WHITESPACE@80..82 "  "
          YAML_BLOCK_MAP_ENTRY@82..94
            YAML_BLOCK_MAP_KEY@82..86
              YAML_SCALAR@82..85
                YAML_SCALAR_TEXT@82..85 "avg"
              YAML_COLON@85..86 ":"
            YAML_BLOCK_MAP_VALUE@86..94
              WHITESPACE@86..88 "  "
              YAML_SCALAR@88..93
                YAML_SCALAR_TEXT@88..93 "0.288"
              NEWLINE@93..94 "\n"
