---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: 6PBE
input: "---\n?\n- a\n- b\n:\n- c\n- d\n"
diagnostics:

cst:
YAML_STREAM@0..24
  YAML_DOCUMENT@0..24
    YAML_DOCUMENT_START@0..3 "---"
    NEWLINE@3..4 "\n"
    YAML_BLOCK_MAP@4..24
      YAML_BLOCK_MAP_ENTRY@4..24
        YAML_BLOCK_MAP_KEY@4..15
          YAML_KEY@4..5 "?"
          NEWLINE@5..6 "\n"
          YAML_BLOCK_SEQUENCE@6..14
            YAML_BLOCK_SEQUENCE_ITEM@6..10
              YAML_BLOCK_SEQ_ENTRY@6..7 "-"
              WHITESPACE@7..8 " "
              YAML_SCALAR@8..9
                YAML_SCALAR_TEXT@8..9 "a"
              NEWLINE@9..10 "\n"
            YAML_BLOCK_SEQUENCE_ITEM@10..14
              YAML_BLOCK_SEQ_ENTRY@10..11 "-"
              WHITESPACE@11..12 " "
              YAML_SCALAR@12..13
                YAML_SCALAR_TEXT@12..13 "b"
              NEWLINE@13..14 "\n"
          YAML_COLON@14..15 ":"
        YAML_BLOCK_MAP_VALUE@15..24
          NEWLINE@15..16 "\n"
          YAML_BLOCK_SEQUENCE@16..24
            YAML_BLOCK_SEQUENCE_ITEM@16..20
              YAML_BLOCK_SEQ_ENTRY@16..17 "-"
              WHITESPACE@17..18 " "
              YAML_SCALAR@18..19
                YAML_SCALAR_TEXT@18..19 "c"
              NEWLINE@19..20 "\n"
            YAML_BLOCK_SEQUENCE_ITEM@20..24
              YAML_BLOCK_SEQ_ENTRY@20..21 "-"
              WHITESPACE@21..22 " "
              YAML_SCALAR@22..23
                YAML_SCALAR_TEXT@22..23 "d"
              NEWLINE@23..24 "\n"
