---
source: crates/panache-parser/tests/yaml.rs
expression: snapshot
---
case_id: KSS4
input: "--- \"quoted\nstring\"\n--- &node foo\n"
diagnostics:

cst:
YAML_STREAM@0..34
  YAML_DOCUMENT@0..20
    YAML_DOCUMENT_START@0..3 "---"
    WHITESPACE@3..4 " "
    YAML_SCALAR@4..19
      YAML_SCALAR_TEXT@4..11 "\"quoted"
      NEWLINE@11..12 "\n"
      YAML_SCALAR_TEXT@12..19 "string\""
    NEWLINE@19..20 "\n"
  YAML_DOCUMENT@20..34
    YAML_DOCUMENT_START@20..23 "---"
    WHITESPACE@23..24 " "
    YAML_ANCHOR@24..29 "&node"
    WHITESPACE@29..30 " "
    YAML_SCALAR@30..33
      YAML_SCALAR_TEXT@30..33 "foo"
    NEWLINE@33..34 "\n"
