---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: 6JWB
input: "foo: !!seq\n  - !!str a\n  - !!map\n    key: !!str value\n"
diagnostics:

cst:
YAML_STREAM@0..54
  YAML_DOCUMENT@0..54
    YAML_BLOCK_MAP@0..54
      YAML_BLOCK_MAP_ENTRY@0..54
        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..54
          WHITESPACE@4..5 " "
          YAML_TAG@5..10 "!!seq"
          NEWLINE@10..11 "\n"
          WHITESPACE@11..13 "  "
          YAML_BLOCK_SEQUENCE@13..54
            YAML_BLOCK_SEQUENCE_ITEM@13..25
              YAML_BLOCK_SEQ_ENTRY@13..14 "-"
              WHITESPACE@14..15 " "
              YAML_TAG@15..20 "!!str"
              WHITESPACE@20..21 " "
              YAML_SCALAR@21..22
                YAML_SCALAR_TEXT@21..22 "a"
              NEWLINE@22..23 "\n"
              WHITESPACE@23..25 "  "
            YAML_BLOCK_SEQUENCE_ITEM@25..54
              YAML_BLOCK_SEQ_ENTRY@25..26 "-"
              WHITESPACE@26..27 " "
              YAML_TAG@27..32 "!!map"
              NEWLINE@32..33 "\n"
              WHITESPACE@33..37 "    "
              YAML_BLOCK_MAP@37..54
                YAML_BLOCK_MAP_ENTRY@37..54
                  YAML_BLOCK_MAP_KEY@37..41
                    YAML_SCALAR@37..40
                      YAML_SCALAR_TEXT@37..40 "key"
                    YAML_COLON@40..41 ":"
                  YAML_BLOCK_MAP_VALUE@41..54
                    WHITESPACE@41..42 " "
                    YAML_TAG@42..47 "!!str"
                    WHITESPACE@47..48 " "
                    YAML_SCALAR@48..53
                      YAML_SCALAR_TEXT@48..53 "value"
                    NEWLINE@53..54 "\n"
