---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: SKE5
input: "---\nseq:\n &anchor\n- a\n- b\n"
diagnostics:

cst:
YAML_STREAM@0..26
  YAML_DOCUMENT@0..26
    YAML_DOCUMENT_START@0..3 "---"
    NEWLINE@3..4 "\n"
    YAML_BLOCK_MAP@4..26
      YAML_BLOCK_MAP_ENTRY@4..26
        YAML_BLOCK_MAP_KEY@4..8
          YAML_SCALAR@4..7
            YAML_SCALAR_TEXT@4..7 "seq"
          YAML_COLON@7..8 ":"
        YAML_BLOCK_MAP_VALUE@8..26
          NEWLINE@8..9 "\n"
          WHITESPACE@9..10 " "
          YAML_ANCHOR@10..17 "&anchor"
          NEWLINE@17..18 "\n"
          YAML_BLOCK_SEQUENCE@18..26
            YAML_BLOCK_SEQUENCE_ITEM@18..22
              YAML_BLOCK_SEQ_ENTRY@18..19 "-"
              WHITESPACE@19..20 " "
              YAML_SCALAR@20..21
                YAML_SCALAR_TEXT@20..21 "a"
              NEWLINE@21..22 "\n"
            YAML_BLOCK_SEQUENCE_ITEM@22..26
              YAML_BLOCK_SEQ_ENTRY@22..23 "-"
              WHITESPACE@23..24 " "
              YAML_SCALAR@24..25
                YAML_SCALAR_TEXT@24..25 "b"
              NEWLINE@25..26 "\n"
