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

cst:
YAML_STREAM@0..34
  YAML_DOCUMENT@0..34
    YAML_FLOW_MAP@0..33
      YAML_FLOW_INDICATOR@0..1 "{"
      NEWLINE@1..2 "\n"
      WHITESPACE@2..4 "  "
      YAML_FLOW_MAP_ENTRY@4..15
        YAML_FLOW_MAP_KEY@4..9
          YAML_SCALAR@4..8
            YAML_SCALAR_TEXT@4..8 "foo "
          YAML_COLON@8..9 ":"
        YAML_FLOW_MAP_VALUE@9..15
          WHITESPACE@9..10 " "
          YAML_TAG@10..15 "!!str"
      YAML_FLOW_INDICATOR@15..16 ","
      NEWLINE@16..17 "\n"
      WHITESPACE@17..19 "  "
      YAML_FLOW_MAP_ENTRY@19..30
        YAML_FLOW_MAP_KEY@19..26
          YAML_TAG@19..24 "!!str"
          WHITESPACE@24..25 " "
          YAML_COLON@25..26 ":"
        YAML_FLOW_MAP_VALUE@26..30
          WHITESPACE@26..27 " "
          YAML_SCALAR@27..30
            YAML_SCALAR_TEXT@27..30 "bar"
      YAML_FLOW_INDICATOR@30..31 ","
      NEWLINE@31..32 "\n"
      YAML_FLOW_INDICATOR@32..33 "}"
    NEWLINE@33..34 "\n"
