---
source: crates/panache-parser/tests/yaml.rs
expression: snapshot
---
case_id: NAT4
input: "---\na: '\n  '\nb: '  \n  '\nc: \"\n  \"\nd: \"  \n  \"\ne: '\n\n  '\nf: \"\n\n  \"\ng: '\n\n\n  '\nh: \"\n\n\n  \"\n"
diagnostics:

cst:
YAML_STREAM@0..86
  YAML_DOCUMENT@0..86
    YAML_DOCUMENT_START@0..3 "---"
    NEWLINE@3..4 "\n"
    YAML_BLOCK_MAP@4..86
      YAML_BLOCK_MAP_ENTRY@4..13
        YAML_BLOCK_MAP_KEY@4..6
          YAML_SCALAR@4..5
            YAML_SCALAR_TEXT@4..5 "a"
          YAML_COLON@5..6 ":"
        YAML_BLOCK_MAP_VALUE@6..13
          WHITESPACE@6..7 " "
          YAML_SCALAR@7..12
            YAML_SCALAR_TEXT@7..8 "'"
            NEWLINE@8..9 "\n"
            YAML_SCALAR_TEXT@9..12 "  '"
          NEWLINE@12..13 "\n"
      YAML_BLOCK_MAP_ENTRY@13..24
        YAML_BLOCK_MAP_KEY@13..15
          YAML_SCALAR@13..14
            YAML_SCALAR_TEXT@13..14 "b"
          YAML_COLON@14..15 ":"
        YAML_BLOCK_MAP_VALUE@15..24
          WHITESPACE@15..16 " "
          YAML_SCALAR@16..23
            YAML_SCALAR_TEXT@16..19 "'  "
            NEWLINE@19..20 "\n"
            YAML_SCALAR_TEXT@20..23 "  '"
          NEWLINE@23..24 "\n"
      YAML_BLOCK_MAP_ENTRY@24..33
        YAML_BLOCK_MAP_KEY@24..26
          YAML_SCALAR@24..25
            YAML_SCALAR_TEXT@24..25 "c"
          YAML_COLON@25..26 ":"
        YAML_BLOCK_MAP_VALUE@26..33
          WHITESPACE@26..27 " "
          YAML_SCALAR@27..32
            YAML_SCALAR_TEXT@27..28 "\""
            NEWLINE@28..29 "\n"
            YAML_SCALAR_TEXT@29..32 "  \""
          NEWLINE@32..33 "\n"
      YAML_BLOCK_MAP_ENTRY@33..44
        YAML_BLOCK_MAP_KEY@33..35
          YAML_SCALAR@33..34
            YAML_SCALAR_TEXT@33..34 "d"
          YAML_COLON@34..35 ":"
        YAML_BLOCK_MAP_VALUE@35..44
          WHITESPACE@35..36 " "
          YAML_SCALAR@36..43
            YAML_SCALAR_TEXT@36..39 "\"  "
            NEWLINE@39..40 "\n"
            YAML_SCALAR_TEXT@40..43 "  \""
          NEWLINE@43..44 "\n"
      YAML_BLOCK_MAP_ENTRY@44..54
        YAML_BLOCK_MAP_KEY@44..46
          YAML_SCALAR@44..45
            YAML_SCALAR_TEXT@44..45 "e"
          YAML_COLON@45..46 ":"
        YAML_BLOCK_MAP_VALUE@46..54
          WHITESPACE@46..47 " "
          YAML_SCALAR@47..53
            YAML_SCALAR_TEXT@47..48 "'"
            NEWLINE@48..49 "\n"
            NEWLINE@49..50 "\n"
            YAML_SCALAR_TEXT@50..53 "  '"
          NEWLINE@53..54 "\n"
      YAML_BLOCK_MAP_ENTRY@54..64
        YAML_BLOCK_MAP_KEY@54..56
          YAML_SCALAR@54..55
            YAML_SCALAR_TEXT@54..55 "f"
          YAML_COLON@55..56 ":"
        YAML_BLOCK_MAP_VALUE@56..64
          WHITESPACE@56..57 " "
          YAML_SCALAR@57..63
            YAML_SCALAR_TEXT@57..58 "\""
            NEWLINE@58..59 "\n"
            NEWLINE@59..60 "\n"
            YAML_SCALAR_TEXT@60..63 "  \""
          NEWLINE@63..64 "\n"
      YAML_BLOCK_MAP_ENTRY@64..75
        YAML_BLOCK_MAP_KEY@64..66
          YAML_SCALAR@64..65
            YAML_SCALAR_TEXT@64..65 "g"
          YAML_COLON@65..66 ":"
        YAML_BLOCK_MAP_VALUE@66..75
          WHITESPACE@66..67 " "
          YAML_SCALAR@67..74
            YAML_SCALAR_TEXT@67..68 "'"
            NEWLINE@68..69 "\n"
            NEWLINE@69..70 "\n"
            NEWLINE@70..71 "\n"
            YAML_SCALAR_TEXT@71..74 "  '"
          NEWLINE@74..75 "\n"
      YAML_BLOCK_MAP_ENTRY@75..86
        YAML_BLOCK_MAP_KEY@75..77
          YAML_SCALAR@75..76
            YAML_SCALAR_TEXT@75..76 "h"
          YAML_COLON@76..77 ":"
        YAML_BLOCK_MAP_VALUE@77..86
          WHITESPACE@77..78 " "
          YAML_SCALAR@78..85
            YAML_SCALAR_TEXT@78..79 "\""
            NEWLINE@79..80 "\n"
            NEWLINE@80..81 "\n"
            NEWLINE@81..82 "\n"
            YAML_SCALAR_TEXT@82..85 "  \""
          NEWLINE@85..86 "\n"
