---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: FH7J
input: "- !!str\n-\n  !!null : a\n  b: !!str\n- !!str : !!null\n"
diagnostics:

cst:
YAML_STREAM@0..51
  YAML_DOCUMENT@0..51
    YAML_BLOCK_SEQUENCE@0..51
      YAML_BLOCK_SEQUENCE_ITEM@0..8
        YAML_BLOCK_SEQ_ENTRY@0..1 "-"
        WHITESPACE@1..2 " "
        YAML_TAG@2..7 "!!str"
        NEWLINE@7..8 "\n"
      YAML_BLOCK_SEQUENCE_ITEM@8..34
        YAML_BLOCK_SEQ_ENTRY@8..9 "-"
        NEWLINE@9..10 "\n"
        WHITESPACE@10..12 "  "
        YAML_BLOCK_MAP@12..34
          YAML_BLOCK_MAP_ENTRY@12..25
            YAML_BLOCK_MAP_KEY@12..20
              YAML_TAG@12..18 "!!null"
              WHITESPACE@18..19 " "
              YAML_COLON@19..20 ":"
            YAML_BLOCK_MAP_VALUE@20..25
              WHITESPACE@20..21 " "
              YAML_SCALAR@21..22
                YAML_SCALAR_TEXT@21..22 "a"
              NEWLINE@22..23 "\n"
              WHITESPACE@23..25 "  "
          YAML_BLOCK_MAP_ENTRY@25..34
            YAML_BLOCK_MAP_KEY@25..27
              YAML_SCALAR@25..26
                YAML_SCALAR_TEXT@25..26 "b"
              YAML_COLON@26..27 ":"
            YAML_BLOCK_MAP_VALUE@27..34
              WHITESPACE@27..28 " "
              YAML_TAG@28..33 "!!str"
              NEWLINE@33..34 "\n"
      YAML_BLOCK_SEQUENCE_ITEM@34..51
        YAML_BLOCK_SEQ_ENTRY@34..35 "-"
        WHITESPACE@35..36 " "
        YAML_BLOCK_MAP@36..51
          YAML_BLOCK_MAP_ENTRY@36..51
            YAML_BLOCK_MAP_KEY@36..43
              YAML_TAG@36..41 "!!str"
              WHITESPACE@41..42 " "
              YAML_COLON@42..43 ":"
            YAML_BLOCK_MAP_VALUE@43..51
              WHITESPACE@43..44 " "
              YAML_TAG@44..50 "!!null"
              NEWLINE@50..51 "\n"
