---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: KMK3
input: "foo:\n  bar: 1\nbaz: 2\n"
diagnostics:

cst:
YAML_STREAM@0..21
  YAML_DOCUMENT@0..21
    YAML_BLOCK_MAP@0..21
      YAML_BLOCK_MAP_ENTRY@0..14
        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..14
          NEWLINE@4..5 "\n"
          WHITESPACE@5..7 "  "
          YAML_BLOCK_MAP@7..14
            YAML_BLOCK_MAP_ENTRY@7..14
              YAML_BLOCK_MAP_KEY@7..11
                YAML_SCALAR@7..10
                  YAML_SCALAR_TEXT@7..10 "bar"
                YAML_COLON@10..11 ":"
              YAML_BLOCK_MAP_VALUE@11..14
                WHITESPACE@11..12 " "
                YAML_SCALAR@12..13
                  YAML_SCALAR_TEXT@12..13 "1"
                NEWLINE@13..14 "\n"
      YAML_BLOCK_MAP_ENTRY@14..21
        YAML_BLOCK_MAP_KEY@14..18
          YAML_SCALAR@14..17
            YAML_SCALAR_TEXT@14..17 "baz"
          YAML_COLON@17..18 ":"
        YAML_BLOCK_MAP_VALUE@18..21
          WHITESPACE@18..19 " "
          YAML_SCALAR@19..20
            YAML_SCALAR_TEXT@19..20 "2"
          NEWLINE@20..21 "\n"
