---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: FRK4
input: "{\n  ? foo :,\n  : bar,\n}\n"
diagnostics:

cst:
YAML_STREAM@0..24
  YAML_DOCUMENT@0..24
    YAML_FLOW_MAP@0..23
      YAML_FLOW_INDICATOR@0..1 "{"
      NEWLINE@1..2 "\n"
      WHITESPACE@2..4 "  "
      YAML_FLOW_MAP_ENTRY@4..11
        YAML_FLOW_MAP_KEY@4..11
          YAML_KEY@4..5 "?"
          WHITESPACE@5..6 " "
          YAML_SCALAR@6..10
            YAML_SCALAR_TEXT@6..10 "foo "
          YAML_COLON@10..11 ":"
        YAML_FLOW_MAP_VALUE@11..11
      YAML_FLOW_INDICATOR@11..12 ","
      NEWLINE@12..13 "\n"
      WHITESPACE@13..15 "  "
      YAML_FLOW_MAP_ENTRY@15..20
        YAML_FLOW_MAP_KEY@15..16
          YAML_COLON@15..16 ":"
        YAML_FLOW_MAP_VALUE@16..20
          WHITESPACE@16..17 " "
          YAML_SCALAR@17..20
            YAML_SCALAR_TEXT@17..20 "bar"
      YAML_FLOW_INDICATOR@20..21 ","
      NEWLINE@21..22 "\n"
      YAML_FLOW_INDICATOR@22..23 "}"
    NEWLINE@23..24 "\n"
