---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: 93JH
input: " - key: value\n   key2: value2\n -\n   key3: value3\n"
diagnostics:

cst:
YAML_STREAM@0..49
  WHITESPACE@0..1 " "
  YAML_DOCUMENT@1..49
    YAML_BLOCK_SEQUENCE@1..49
      YAML_BLOCK_SEQUENCE_ITEM@1..31
        YAML_BLOCK_SEQ_ENTRY@1..2 "-"
        WHITESPACE@2..3 " "
        YAML_BLOCK_MAP@3..31
          YAML_BLOCK_MAP_ENTRY@3..17
            YAML_BLOCK_MAP_KEY@3..7
              YAML_SCALAR@3..6
                YAML_SCALAR_TEXT@3..6 "key"
              YAML_COLON@6..7 ":"
            YAML_BLOCK_MAP_VALUE@7..17
              WHITESPACE@7..8 " "
              YAML_SCALAR@8..13
                YAML_SCALAR_TEXT@8..13 "value"
              NEWLINE@13..14 "\n"
              WHITESPACE@14..17 "   "
          YAML_BLOCK_MAP_ENTRY@17..31
            YAML_BLOCK_MAP_KEY@17..22
              YAML_SCALAR@17..21
                YAML_SCALAR_TEXT@17..21 "key2"
              YAML_COLON@21..22 ":"
            YAML_BLOCK_MAP_VALUE@22..31
              WHITESPACE@22..23 " "
              YAML_SCALAR@23..29
                YAML_SCALAR_TEXT@23..29 "value2"
              NEWLINE@29..30 "\n"
              WHITESPACE@30..31 " "
      YAML_BLOCK_SEQUENCE_ITEM@31..49
        YAML_BLOCK_SEQ_ENTRY@31..32 "-"
        NEWLINE@32..33 "\n"
        WHITESPACE@33..36 "   "
        YAML_BLOCK_MAP@36..49
          YAML_BLOCK_MAP_ENTRY@36..49
            YAML_BLOCK_MAP_KEY@36..41
              YAML_SCALAR@36..40
                YAML_SCALAR_TEXT@36..40 "key3"
              YAML_COLON@40..41 ":"
            YAML_BLOCK_MAP_VALUE@41..49
              WHITESPACE@41..42 " "
              YAML_SCALAR@42..48
                YAML_SCALAR_TEXT@42..48 "value3"
              NEWLINE@48..49 "\n"
