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

cst:
YAML_STREAM@0..23
  YAML_DOCUMENT@0..23
    YAML_FLOW_MAP@0..22
      YAML_FLOW_INDICATOR@0..1 "{"
      WHITESPACE@1..2 " "
      YAML_FLOW_MAP_ENTRY@2..11
        YAML_FLOW_MAP_KEY@2..7
          YAML_SCALAR@2..6
            YAML_SCALAR_TEXT@2..6 "?foo"
          YAML_COLON@6..7 ":"
        YAML_FLOW_MAP_VALUE@7..11
          WHITESPACE@7..8 " "
          YAML_SCALAR@8..11
            YAML_SCALAR_TEXT@8..11 "bar"
      YAML_FLOW_INDICATOR@11..12 ","
      NEWLINE@12..13 "\n"
      YAML_FLOW_MAP_ENTRY@13..21
        YAML_FLOW_MAP_KEY@13..17
          YAML_SCALAR@13..16
            YAML_SCALAR_TEXT@13..16 "bar"
          YAML_COLON@16..17 ":"
        YAML_FLOW_MAP_VALUE@17..21
          WHITESPACE@17..18 " "
          YAML_SCALAR@18..20
            YAML_SCALAR_TEXT@18..20 "42"
          NEWLINE@20..21 "\n"
      YAML_FLOW_INDICATOR@21..22 "}"
    NEWLINE@22..23 "\n"
