---
source: crates/panache-parser/tests/yaml.rs
expression: snapshot
---
case_id: H2RW
input: "foo: 1\n\nbar: 2\n    \ntext: |\n  a\n    \n  b\n\n  c\n \n  d\n"
diagnostics:

cst:
YAML_STREAM@0..52
  YAML_DOCUMENT@0..52
    YAML_BLOCK_MAP@0..52
      YAML_BLOCK_MAP_ENTRY@0..8
        YAML_BLOCK_MAP_KEY@0..4
          YAML_SCALAR@0..3
            YAML_SCALAR_TEXT@0..3 "foo"
          YAML_COLON@3..4 ":"
        YAML_BLOCK_MAP_VALUE@4..8
          WHITESPACE@4..5 " "
          YAML_SCALAR@5..6
            YAML_SCALAR_TEXT@5..6 "1"
          NEWLINE@6..7 "\n"
          NEWLINE@7..8 "\n"
      YAML_BLOCK_MAP_ENTRY@8..20
        YAML_BLOCK_MAP_KEY@8..12
          YAML_SCALAR@8..11
            YAML_SCALAR_TEXT@8..11 "bar"
          YAML_COLON@11..12 ":"
        YAML_BLOCK_MAP_VALUE@12..20
          WHITESPACE@12..13 " "
          YAML_SCALAR@13..14
            YAML_SCALAR_TEXT@13..14 "2"
          NEWLINE@14..15 "\n"
          WHITESPACE@15..19 "    "
          NEWLINE@19..20 "\n"
      YAML_BLOCK_MAP_ENTRY@20..52
        YAML_BLOCK_MAP_KEY@20..25
          YAML_SCALAR@20..24
            YAML_SCALAR_TEXT@20..24 "text"
          YAML_COLON@24..25 ":"
        YAML_BLOCK_MAP_VALUE@25..52
          WHITESPACE@25..26 " "
          YAML_SCALAR@26..52
            YAML_SCALAR_TEXT@26..27 "|"
            NEWLINE@27..28 "\n"
            YAML_SCALAR_TEXT@28..31 "  a"
            NEWLINE@31..32 "\n"
            YAML_SCALAR_TEXT@32..36 "    "
            NEWLINE@36..37 "\n"
            YAML_SCALAR_TEXT@37..40 "  b"
            NEWLINE@40..41 "\n"
            NEWLINE@41..42 "\n"
            YAML_SCALAR_TEXT@42..45 "  c"
            NEWLINE@45..46 "\n"
            YAML_SCALAR_TEXT@46..47 " "
            NEWLINE@47..48 "\n"
            YAML_SCALAR_TEXT@48..51 "  d"
            NEWLINE@51..52 "\n"
