---
source: crates/panache-parser/tests/yaml.rs
expression: snapshot
---
case_id: JTV5
input: "? a\n  true\n: null\n  d\n? e\n  42\n"
diagnostics:

cst:
YAML_STREAM@0..31
  YAML_DOCUMENT@0..31
    YAML_BLOCK_MAP@0..31
      YAML_BLOCK_MAP_ENTRY@0..22
        YAML_BLOCK_MAP_KEY@0..12
          YAML_KEY@0..1 "?"
          WHITESPACE@1..2 " "
          YAML_SCALAR@2..10
            YAML_SCALAR_TEXT@2..3 "a"
            NEWLINE@3..4 "\n"
            YAML_SCALAR_TEXT@4..10 "  true"
          NEWLINE@10..11 "\n"
          YAML_COLON@11..12 ":"
        YAML_BLOCK_MAP_VALUE@12..22
          WHITESPACE@12..13 " "
          YAML_SCALAR@13..21
            YAML_SCALAR_TEXT@13..17 "null"
            NEWLINE@17..18 "\n"
            YAML_SCALAR_TEXT@18..21 "  d"
          NEWLINE@21..22 "\n"
      YAML_BLOCK_MAP_ENTRY@22..31
        YAML_BLOCK_MAP_KEY@22..31
          YAML_KEY@22..23 "?"
          WHITESPACE@23..24 " "
          YAML_SCALAR@24..30
            YAML_SCALAR_TEXT@24..25 "e"
            NEWLINE@25..26 "\n"
            YAML_SCALAR_TEXT@26..30 "  42"
          NEWLINE@30..31 "\n"
        YAML_BLOCK_MAP_VALUE@31..31
