---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: 9U5K
input: "---\n# Products purchased\n- item    : Super Hoop\n  quantity: 1\n- item    : Basketball\n  quantity: 4\n- item    : Big Shoes\n  quantity: 1\n"
diagnostics:

cst:
YAML_STREAM@0..135
  YAML_DOCUMENT@0..135
    YAML_DOCUMENT_START@0..3 "---"
    NEWLINE@3..4 "\n"
    YAML_COMMENT@4..24 "# Products purchased"
    NEWLINE@24..25 "\n"
    YAML_BLOCK_SEQUENCE@25..135
      YAML_BLOCK_SEQUENCE_ITEM@25..62
        YAML_BLOCK_SEQ_ENTRY@25..26 "-"
        WHITESPACE@26..27 " "
        YAML_BLOCK_MAP@27..62
          YAML_BLOCK_MAP_ENTRY@27..50
            YAML_BLOCK_MAP_KEY@27..36
              YAML_SCALAR@27..35
                YAML_SCALAR_TEXT@27..35 "item    "
              YAML_COLON@35..36 ":"
            YAML_BLOCK_MAP_VALUE@36..50
              WHITESPACE@36..37 " "
              YAML_SCALAR@37..47
                YAML_SCALAR_TEXT@37..47 "Super Hoop"
              NEWLINE@47..48 "\n"
              WHITESPACE@48..50 "  "
          YAML_BLOCK_MAP_ENTRY@50..62
            YAML_BLOCK_MAP_KEY@50..59
              YAML_SCALAR@50..58
                YAML_SCALAR_TEXT@50..58 "quantity"
              YAML_COLON@58..59 ":"
            YAML_BLOCK_MAP_VALUE@59..62
              WHITESPACE@59..60 " "
              YAML_SCALAR@60..61
                YAML_SCALAR_TEXT@60..61 "1"
              NEWLINE@61..62 "\n"
      YAML_BLOCK_SEQUENCE_ITEM@62..99
        YAML_BLOCK_SEQ_ENTRY@62..63 "-"
        WHITESPACE@63..64 " "
        YAML_BLOCK_MAP@64..99
          YAML_BLOCK_MAP_ENTRY@64..87
            YAML_BLOCK_MAP_KEY@64..73
              YAML_SCALAR@64..72
                YAML_SCALAR_TEXT@64..72 "item    "
              YAML_COLON@72..73 ":"
            YAML_BLOCK_MAP_VALUE@73..87
              WHITESPACE@73..74 " "
              YAML_SCALAR@74..84
                YAML_SCALAR_TEXT@74..84 "Basketball"
              NEWLINE@84..85 "\n"
              WHITESPACE@85..87 "  "
          YAML_BLOCK_MAP_ENTRY@87..99
            YAML_BLOCK_MAP_KEY@87..96
              YAML_SCALAR@87..95
                YAML_SCALAR_TEXT@87..95 "quantity"
              YAML_COLON@95..96 ":"
            YAML_BLOCK_MAP_VALUE@96..99
              WHITESPACE@96..97 " "
              YAML_SCALAR@97..98
                YAML_SCALAR_TEXT@97..98 "4"
              NEWLINE@98..99 "\n"
      YAML_BLOCK_SEQUENCE_ITEM@99..135
        YAML_BLOCK_SEQ_ENTRY@99..100 "-"
        WHITESPACE@100..101 " "
        YAML_BLOCK_MAP@101..135
          YAML_BLOCK_MAP_ENTRY@101..123
            YAML_BLOCK_MAP_KEY@101..110
              YAML_SCALAR@101..109
                YAML_SCALAR_TEXT@101..109 "item    "
              YAML_COLON@109..110 ":"
            YAML_BLOCK_MAP_VALUE@110..123
              WHITESPACE@110..111 " "
              YAML_SCALAR@111..120
                YAML_SCALAR_TEXT@111..120 "Big Shoes"
              NEWLINE@120..121 "\n"
              WHITESPACE@121..123 "  "
          YAML_BLOCK_MAP_ENTRY@123..135
            YAML_BLOCK_MAP_KEY@123..132
              YAML_SCALAR@123..131
                YAML_SCALAR_TEXT@123..131 "quantity"
              YAML_COLON@131..132 ":"
            YAML_BLOCK_MAP_VALUE@132..135
              WHITESPACE@132..133 " "
              YAML_SCALAR@133..134
                YAML_SCALAR_TEXT@133..134 "1"
              NEWLINE@134..135 "\n"
