---
source: crates/panache-parser/tests/yaml.rs
assertion_line: 312
expression: snapshot
---
case_id: L383
input: "--- foo  # comment\n--- foo  # comment\n"
diagnostics:

cst:
YAML_STREAM@0..38
  YAML_DOCUMENT@0..19
    YAML_DOCUMENT_START@0..3 "---"
    WHITESPACE@3..4 " "
    YAML_SCALAR@4..7
      YAML_SCALAR_TEXT@4..7 "foo"
    WHITESPACE@7..9 "  "
    YAML_COMMENT@9..18 "# comment"
    NEWLINE@18..19 "\n"
  YAML_DOCUMENT@19..38
    YAML_DOCUMENT_START@19..22 "---"
    WHITESPACE@22..23 " "
    YAML_SCALAR@23..26
      YAML_SCALAR_TEXT@23..26 "foo"
    WHITESPACE@26..28 "  "
    YAML_COMMENT@28..37 "# comment"
    NEWLINE@37..38 "\n"
