---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: 7ZZ5
input: "---\nnested sequences:\n- - - []\n- - - {}\nkey1: []\nkey2: {}\n"
diagnostics:

cst:
YAML_STREAM@0..58
  YAML_DOCUMENT@0..58
    YAML_DOCUMENT_START@0..3 "---"
    NEWLINE@3..4 "\n"
    YAML_BLOCK_MAP@4..58
      YAML_BLOCK_MAP_ENTRY@4..40
        YAML_BLOCK_MAP_KEY@4..21
          YAML_SCALAR@4..20
            YAML_SCALAR_TEXT@4..20 "nested sequences"
          YAML_COLON@20..21 ":"
        YAML_BLOCK_MAP_VALUE@21..40
          NEWLINE@21..22 "\n"
          YAML_BLOCK_SEQUENCE@22..40
            YAML_BLOCK_SEQUENCE_ITEM@22..31
              YAML_BLOCK_SEQ_ENTRY@22..23 "-"
              WHITESPACE@23..24 " "
              YAML_BLOCK_SEQUENCE@24..31
                YAML_BLOCK_SEQUENCE_ITEM@24..31
                  YAML_BLOCK_SEQ_ENTRY@24..25 "-"
                  WHITESPACE@25..26 " "
                  YAML_BLOCK_SEQUENCE@26..31
                    YAML_BLOCK_SEQUENCE_ITEM@26..31
                      YAML_BLOCK_SEQ_ENTRY@26..27 "-"
                      WHITESPACE@27..28 " "
                      YAML_FLOW_SEQUENCE@28..30
                        YAML_FLOW_INDICATOR@28..29 "["
                        YAML_FLOW_INDICATOR@29..30 "]"
                      NEWLINE@30..31 "\n"
            YAML_BLOCK_SEQUENCE_ITEM@31..40
              YAML_BLOCK_SEQ_ENTRY@31..32 "-"
              WHITESPACE@32..33 " "
              YAML_BLOCK_SEQUENCE@33..40
                YAML_BLOCK_SEQUENCE_ITEM@33..40
                  YAML_BLOCK_SEQ_ENTRY@33..34 "-"
                  WHITESPACE@34..35 " "
                  YAML_BLOCK_SEQUENCE@35..40
                    YAML_BLOCK_SEQUENCE_ITEM@35..40
                      YAML_BLOCK_SEQ_ENTRY@35..36 "-"
                      WHITESPACE@36..37 " "
                      YAML_FLOW_MAP@37..39
                        YAML_FLOW_INDICATOR@37..38 "{"
                        YAML_FLOW_INDICATOR@38..39 "}"
                      NEWLINE@39..40 "\n"
      YAML_BLOCK_MAP_ENTRY@40..49
        YAML_BLOCK_MAP_KEY@40..45
          YAML_SCALAR@40..44
            YAML_SCALAR_TEXT@40..44 "key1"
          YAML_COLON@44..45 ":"
        YAML_BLOCK_MAP_VALUE@45..49
          WHITESPACE@45..46 " "
          YAML_FLOW_SEQUENCE@46..48
            YAML_FLOW_INDICATOR@46..47 "["
            YAML_FLOW_INDICATOR@47..48 "]"
          NEWLINE@48..49 "\n"
      YAML_BLOCK_MAP_ENTRY@49..58
        YAML_BLOCK_MAP_KEY@49..54
          YAML_SCALAR@49..53
            YAML_SCALAR_TEXT@49..53 "key2"
          YAML_COLON@53..54 ":"
        YAML_BLOCK_MAP_VALUE@54..58
          WHITESPACE@54..55 " "
          YAML_FLOW_MAP@55..57
            YAML_FLOW_INDICATOR@55..56 "{"
            YAML_FLOW_INDICATOR@56..57 "}"
          NEWLINE@57..58 "\n"
