---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: J9HZ
input: "---\nhr: # 1998 hr ranking\n  - Mark McGwire\n  - Sammy Sosa\nrbi:\n  # 1998 rbi ranking\n  - Sammy Sosa\n  - Ken Griffey\n"
diagnostics:

cst:
YAML_STREAM@0..115
  YAML_DOCUMENT@0..115
    YAML_DOCUMENT_START@0..3 "---"
    NEWLINE@3..4 "\n"
    YAML_BLOCK_MAP@4..115
      YAML_BLOCK_MAP_ENTRY@4..58
        YAML_BLOCK_MAP_KEY@4..7
          YAML_SCALAR@4..6
            YAML_SCALAR_TEXT@4..6 "hr"
          YAML_COLON@6..7 ":"
        YAML_BLOCK_MAP_VALUE@7..58
          WHITESPACE@7..8 " "
          YAML_COMMENT@8..25 "# 1998 hr ranking"
          NEWLINE@25..26 "\n"
          WHITESPACE@26..28 "  "
          YAML_BLOCK_SEQUENCE@28..58
            YAML_BLOCK_SEQUENCE_ITEM@28..45
              YAML_BLOCK_SEQ_ENTRY@28..29 "-"
              WHITESPACE@29..30 " "
              YAML_SCALAR@30..42
                YAML_SCALAR_TEXT@30..42 "Mark McGwire"
              NEWLINE@42..43 "\n"
              WHITESPACE@43..45 "  "
            YAML_BLOCK_SEQUENCE_ITEM@45..58
              YAML_BLOCK_SEQ_ENTRY@45..46 "-"
              WHITESPACE@46..47 " "
              YAML_SCALAR@47..57
                YAML_SCALAR_TEXT@47..57 "Sammy Sosa"
              NEWLINE@57..58 "\n"
      YAML_BLOCK_MAP_ENTRY@58..115
        YAML_BLOCK_MAP_KEY@58..62
          YAML_SCALAR@58..61
            YAML_SCALAR_TEXT@58..61 "rbi"
          YAML_COLON@61..62 ":"
        YAML_BLOCK_MAP_VALUE@62..115
          NEWLINE@62..63 "\n"
          WHITESPACE@63..65 "  "
          YAML_COMMENT@65..83 "# 1998 rbi ranking"
          NEWLINE@83..84 "\n"
          WHITESPACE@84..86 "  "
          YAML_BLOCK_SEQUENCE@86..115
            YAML_BLOCK_SEQUENCE_ITEM@86..101
              YAML_BLOCK_SEQ_ENTRY@86..87 "-"
              WHITESPACE@87..88 " "
              YAML_SCALAR@88..98
                YAML_SCALAR_TEXT@88..98 "Sammy Sosa"
              NEWLINE@98..99 "\n"
              WHITESPACE@99..101 "  "
            YAML_BLOCK_SEQUENCE_ITEM@101..115
              YAML_BLOCK_SEQ_ENTRY@101..102 "-"
              WHITESPACE@102..103 " "
              YAML_SCALAR@103..114
                YAML_SCALAR_TEXT@103..114 "Ken Griffey"
              NEWLINE@114..115 "\n"
