---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: UDR7
input: "sequence: [ one, two, ]\nmapping: { sky: blue, sea: green }\n"
diagnostics:

cst:
YAML_STREAM@0..59
  YAML_DOCUMENT@0..59
    YAML_BLOCK_MAP@0..59
      YAML_BLOCK_MAP_ENTRY@0..24
        YAML_BLOCK_MAP_KEY@0..9
          YAML_SCALAR@0..8
            YAML_SCALAR_TEXT@0..8 "sequence"
          YAML_COLON@8..9 ":"
        YAML_BLOCK_MAP_VALUE@9..24
          WHITESPACE@9..10 " "
          YAML_FLOW_SEQUENCE@10..23
            YAML_FLOW_INDICATOR@10..11 "["
            WHITESPACE@11..12 " "
            YAML_FLOW_SEQUENCE_ITEM@12..15
              YAML_SCALAR@12..15
                YAML_SCALAR_TEXT@12..15 "one"
            YAML_FLOW_INDICATOR@15..16 ","
            WHITESPACE@16..17 " "
            YAML_FLOW_SEQUENCE_ITEM@17..20
              YAML_SCALAR@17..20
                YAML_SCALAR_TEXT@17..20 "two"
            YAML_FLOW_INDICATOR@20..21 ","
            WHITESPACE@21..22 " "
            YAML_FLOW_INDICATOR@22..23 "]"
          NEWLINE@23..24 "\n"
      YAML_BLOCK_MAP_ENTRY@24..59
        YAML_BLOCK_MAP_KEY@24..32
          YAML_SCALAR@24..31
            YAML_SCALAR_TEXT@24..31 "mapping"
          YAML_COLON@31..32 ":"
        YAML_BLOCK_MAP_VALUE@32..59
          WHITESPACE@32..33 " "
          YAML_FLOW_MAP@33..58
            YAML_FLOW_INDICATOR@33..34 "{"
            WHITESPACE@34..35 " "
            YAML_FLOW_MAP_ENTRY@35..44
              YAML_FLOW_MAP_KEY@35..39
                YAML_SCALAR@35..38
                  YAML_SCALAR_TEXT@35..38 "sky"
                YAML_COLON@38..39 ":"
              YAML_FLOW_MAP_VALUE@39..44
                WHITESPACE@39..40 " "
                YAML_SCALAR@40..44
                  YAML_SCALAR_TEXT@40..44 "blue"
            YAML_FLOW_INDICATOR@44..45 ","
            WHITESPACE@45..46 " "
            YAML_FLOW_MAP_ENTRY@46..57
              YAML_FLOW_MAP_KEY@46..50
                YAML_SCALAR@46..49
                  YAML_SCALAR_TEXT@46..49 "sea"
                YAML_COLON@49..50 ":"
              YAML_FLOW_MAP_VALUE@50..57
                WHITESPACE@50..51 " "
                YAML_SCALAR@51..57
                  YAML_SCALAR_TEXT@51..57 "green "
            YAML_FLOW_INDICATOR@57..58 "}"
          NEWLINE@58..59 "\n"
