---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: Y2GN
input: "---\nkey: &an:chor value\n"
diagnostics:

cst:
YAML_STREAM@0..24
  YAML_DOCUMENT@0..24
    YAML_DOCUMENT_START@0..3 "---"
    NEWLINE@3..4 "\n"
    YAML_BLOCK_MAP@4..24
      YAML_BLOCK_MAP_ENTRY@4..24
        YAML_BLOCK_MAP_KEY@4..8
          YAML_SCALAR@4..7
            YAML_SCALAR_TEXT@4..7 "key"
          YAML_COLON@7..8 ":"
        YAML_BLOCK_MAP_VALUE@8..24
          WHITESPACE@8..9 " "
          YAML_ANCHOR@9..17 "&an:chor"
          WHITESPACE@17..18 " "
          YAML_SCALAR@18..23
            YAML_SCALAR_TEXT@18..23 "value"
          NEWLINE@23..24 "\n"
