---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: M7NX
input: "---\n{\n a: [\n  b, c, {\n   d: [e, f]\n  }\n ]\n}\n"
diagnostics:

cst:
YAML_STREAM@0..44
  YAML_DOCUMENT@0..44
    YAML_DOCUMENT_START@0..3 "---"
    NEWLINE@3..4 "\n"
    YAML_FLOW_MAP@4..43
      YAML_FLOW_INDICATOR@4..5 "{"
      NEWLINE@5..6 "\n"
      WHITESPACE@6..7 " "
      YAML_FLOW_MAP_ENTRY@7..42
        YAML_FLOW_MAP_KEY@7..9
          YAML_SCALAR@7..8
            YAML_SCALAR_TEXT@7..8 "a"
          YAML_COLON@8..9 ":"
        YAML_FLOW_MAP_VALUE@9..42
          WHITESPACE@9..10 " "
          YAML_FLOW_SEQUENCE@10..41
            YAML_FLOW_INDICATOR@10..11 "["
            NEWLINE@11..12 "\n"
            WHITESPACE@12..14 "  "
            YAML_FLOW_SEQUENCE_ITEM@14..15
              YAML_SCALAR@14..15
                YAML_SCALAR_TEXT@14..15 "b"
            YAML_FLOW_INDICATOR@15..16 ","
            WHITESPACE@16..17 " "
            YAML_FLOW_SEQUENCE_ITEM@17..18
              YAML_SCALAR@17..18
                YAML_SCALAR_TEXT@17..18 "c"
            YAML_FLOW_INDICATOR@18..19 ","
            WHITESPACE@19..20 " "
            YAML_FLOW_SEQUENCE_ITEM@20..40
              YAML_FLOW_MAP@20..38
                YAML_FLOW_INDICATOR@20..21 "{"
                NEWLINE@21..22 "\n"
                WHITESPACE@22..25 "   "
                YAML_FLOW_MAP_ENTRY@25..37
                  YAML_FLOW_MAP_KEY@25..27
                    YAML_SCALAR@25..26
                      YAML_SCALAR_TEXT@25..26 "d"
                    YAML_COLON@26..27 ":"
                  YAML_FLOW_MAP_VALUE@27..37
                    WHITESPACE@27..28 " "
                    YAML_FLOW_SEQUENCE@28..34
                      YAML_FLOW_INDICATOR@28..29 "["
                      YAML_FLOW_SEQUENCE_ITEM@29..30
                        YAML_SCALAR@29..30
                          YAML_SCALAR_TEXT@29..30 "e"
                      YAML_FLOW_INDICATOR@30..31 ","
                      WHITESPACE@31..32 " "
                      YAML_FLOW_SEQUENCE_ITEM@32..33
                        YAML_SCALAR@32..33
                          YAML_SCALAR_TEXT@32..33 "f"
                      YAML_FLOW_INDICATOR@33..34 "]"
                    NEWLINE@34..35 "\n"
                    WHITESPACE@35..37 "  "
                YAML_FLOW_INDICATOR@37..38 "}"
              NEWLINE@38..39 "\n"
              WHITESPACE@39..40 " "
            YAML_FLOW_INDICATOR@40..41 "]"
          NEWLINE@41..42 "\n"
      YAML_FLOW_INDICATOR@42..43 "}"
    NEWLINE@43..44 "\n"
