---
source: crates/panache-parser/tests/yaml.rs
expression: snapshot
---
case_id: 8KB6
input: "---\n- { single line, a: b}\n- { multi\n  line, a: b}\n"
diagnostics:

cst:
YAML_STREAM@0..51
  YAML_DOCUMENT@0..51
    YAML_DOCUMENT_START@0..3 "---"
    NEWLINE@3..4 "\n"
    YAML_BLOCK_SEQUENCE@4..51
      YAML_BLOCK_SEQUENCE_ITEM@4..27
        YAML_BLOCK_SEQ_ENTRY@4..5 "-"
        WHITESPACE@5..6 " "
        YAML_FLOW_MAP@6..26
          YAML_FLOW_INDICATOR@6..7 "{"
          WHITESPACE@7..8 " "
          YAML_SCALAR@8..19
            YAML_SCALAR_TEXT@8..19 "single line"
          YAML_FLOW_INDICATOR@19..20 ","
          WHITESPACE@20..21 " "
          YAML_FLOW_MAP_ENTRY@21..25
            YAML_FLOW_MAP_KEY@21..23
              YAML_SCALAR@21..22
                YAML_SCALAR_TEXT@21..22 "a"
              YAML_COLON@22..23 ":"
            YAML_FLOW_MAP_VALUE@23..25
              WHITESPACE@23..24 " "
              YAML_SCALAR@24..25
                YAML_SCALAR_TEXT@24..25 "b"
          YAML_FLOW_INDICATOR@25..26 "}"
        NEWLINE@26..27 "\n"
      YAML_BLOCK_SEQUENCE_ITEM@27..51
        YAML_BLOCK_SEQ_ENTRY@27..28 "-"
        WHITESPACE@28..29 " "
        YAML_FLOW_MAP@29..50
          YAML_FLOW_INDICATOR@29..30 "{"
          WHITESPACE@30..31 " "
          YAML_SCALAR@31..43
            YAML_SCALAR_TEXT@31..36 "multi"
            NEWLINE@36..37 "\n"
            YAML_SCALAR_TEXT@37..43 "  line"
          YAML_FLOW_INDICATOR@43..44 ","
          WHITESPACE@44..45 " "
          YAML_FLOW_MAP_ENTRY@45..49
            YAML_FLOW_MAP_KEY@45..47
              YAML_SCALAR@45..46
                YAML_SCALAR_TEXT@45..46 "a"
              YAML_COLON@46..47 ":"
            YAML_FLOW_MAP_VALUE@47..49
              WHITESPACE@47..48 " "
              YAML_SCALAR@48..49
                YAML_SCALAR_TEXT@48..49 "b"
          YAML_FLOW_INDICATOR@49..50 "}"
        NEWLINE@50..51 "\n"
