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

cst:
YAML_STREAM@0..23
  YAML_DOCUMENT@0..23
    YAML_FLOW_MAP@0..22
      YAML_FLOW_INDICATOR@0..1 "{"
      YAML_FLOW_MAP_ENTRY@1..10
        YAML_FLOW_MAP_KEY@1..3
          YAML_SCALAR@1..2
            YAML_SCALAR_TEXT@1..2 "a"
          YAML_COLON@2..3 ":"
        YAML_FLOW_MAP_VALUE@3..10
          WHITESPACE@3..4 " "
          YAML_FLOW_SEQUENCE@4..10
            YAML_FLOW_INDICATOR@4..5 "["
            YAML_FLOW_SEQUENCE_ITEM@5..6
              YAML_SCALAR@5..6
                YAML_SCALAR_TEXT@5..6 "b"
            YAML_FLOW_INDICATOR@6..7 ","
            WHITESPACE@7..8 " "
            YAML_FLOW_SEQUENCE_ITEM@8..9
              YAML_SCALAR@8..9
                YAML_SCALAR_TEXT@8..9 "c"
            YAML_FLOW_INDICATOR@9..10 "]"
      YAML_FLOW_INDICATOR@10..11 ","
      WHITESPACE@11..12 " "
      YAML_FLOW_MAP_ENTRY@12..21
        YAML_FLOW_MAP_KEY@12..19
          YAML_FLOW_SEQUENCE@12..18
            YAML_FLOW_INDICATOR@12..13 "["
            YAML_FLOW_SEQUENCE_ITEM@13..14
              YAML_SCALAR@13..14
                YAML_SCALAR_TEXT@13..14 "d"
            YAML_FLOW_INDICATOR@14..15 ","
            WHITESPACE@15..16 " "
            YAML_FLOW_SEQUENCE_ITEM@16..17
              YAML_SCALAR@16..17
                YAML_SCALAR_TEXT@16..17 "e"
            YAML_FLOW_INDICATOR@17..18 "]"
          YAML_COLON@18..19 ":"
        YAML_FLOW_MAP_VALUE@19..21
          WHITESPACE@19..20 " "
          YAML_SCALAR@20..21
            YAML_SCALAR_TEXT@20..21 "f"
      YAML_FLOW_INDICATOR@21..22 "}"
    NEWLINE@22..23 "\n"
