---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: X8DW
input: "---\n? key\n# comment\n: value\n"
diagnostics:

cst:
YAML_STREAM@0..28
  YAML_DOCUMENT@0..28
    YAML_DOCUMENT_START@0..3 "---"
    NEWLINE@3..4 "\n"
    YAML_BLOCK_MAP@4..28
      YAML_BLOCK_MAP_ENTRY@4..28
        YAML_BLOCK_MAP_KEY@4..21
          YAML_KEY@4..5 "?"
          WHITESPACE@5..6 " "
          YAML_SCALAR@6..9
            YAML_SCALAR_TEXT@6..9 "key"
          NEWLINE@9..10 "\n"
          YAML_COMMENT@10..19 "# comment"
          NEWLINE@19..20 "\n"
          YAML_COLON@20..21 ":"
        YAML_BLOCK_MAP_VALUE@21..28
          WHITESPACE@21..22 " "
          YAML_SCALAR@22..27
            YAML_SCALAR_TEXT@22..27 "value"
          NEWLINE@27..28 "\n"
