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

cst:
YAML_STREAM@0..27
  YAML_DOCUMENT@0..27
    YAML_BLOCK_MAP@0..27
      YAML_BLOCK_MAP_ENTRY@0..27
        YAML_BLOCK_MAP_KEY@0..4
          YAML_SCALAR@0..3
            YAML_SCALAR_TEXT@0..3 "key"
          YAML_COLON@3..4 ":"
        YAML_BLOCK_MAP_VALUE@4..27
          WHITESPACE@4..5 " "
          YAML_ANCHOR@5..12 "&anchor"
          NEWLINE@12..13 "\n"
          WHITESPACE@13..14 " "
          YAML_TAG@14..19 "!!map"
          NEWLINE@19..20 "\n"
          WHITESPACE@20..22 "  "
          YAML_BLOCK_MAP@22..27
            YAML_BLOCK_MAP_ENTRY@22..27
              YAML_BLOCK_MAP_KEY@22..24
                YAML_SCALAR@22..23
                  YAML_SCALAR_TEXT@22..23 "a"
                YAML_COLON@23..24 ":"
              YAML_BLOCK_MAP_VALUE@24..27
                WHITESPACE@24..25 " "
                YAML_SCALAR@25..26
                  YAML_SCALAR_TEXT@25..26 "b"
                NEWLINE@26..27 "\n"
