---
source: crates/panache-parser/tests/yaml.rs
expression: snapshot
---
case_id: CT4Q
input: "[\n? foo\n bar : baz\n]\n"
diagnostics:

cst:
YAML_STREAM@0..21
  YAML_DOCUMENT@0..21
    YAML_FLOW_SEQUENCE@0..20
      YAML_FLOW_INDICATOR@0..1 "["
      NEWLINE@1..2 "\n"
      YAML_FLOW_SEQUENCE_ITEM@2..19
        YAML_KEY@2..3 "?"
        WHITESPACE@3..4 " "
        YAML_SCALAR@4..13
          YAML_SCALAR_TEXT@4..7 "foo"
          NEWLINE@7..8 "\n"
          YAML_SCALAR_TEXT@8..13 " bar "
        YAML_COLON@13..14 ":"
        WHITESPACE@14..15 " "
        YAML_SCALAR@15..18
          YAML_SCALAR_TEXT@15..18 "baz"
        NEWLINE@18..19 "\n"
      YAML_FLOW_INDICATOR@19..20 "]"
    NEWLINE@20..21 "\n"
