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

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