---
source: crates/panache-parser/tests/yaml.rs
expression: snapshot
---
case_id: 735Y
input: "-\n  \"flow in block\"\n- >\n Block scalar\n- !!map # Block collection\n  foo : bar\n"
diagnostics:

cst:
YAML_STREAM@0..77
  YAML_DOCUMENT@0..77
    YAML_BLOCK_SEQUENCE@0..77
      YAML_BLOCK_SEQUENCE_ITEM@0..20
        YAML_BLOCK_SEQ_ENTRY@0..1 "-"
        NEWLINE@1..2 "\n"
        WHITESPACE@2..4 "  "
        YAML_SCALAR@4..19
          YAML_SCALAR_TEXT@4..19 "\"flow in block\""
        NEWLINE@19..20 "\n"
      YAML_BLOCK_SEQUENCE_ITEM@20..38
        YAML_BLOCK_SEQ_ENTRY@20..21 "-"
        WHITESPACE@21..22 " "
        YAML_SCALAR@22..38
          YAML_SCALAR_TEXT@22..23 ">"
          NEWLINE@23..24 "\n"
          YAML_SCALAR_TEXT@24..37 " Block scalar"
          NEWLINE@37..38 "\n"
      YAML_BLOCK_SEQUENCE_ITEM@38..77
        YAML_BLOCK_SEQ_ENTRY@38..39 "-"
        WHITESPACE@39..40 " "
        YAML_TAG@40..45 "!!map"
        WHITESPACE@45..46 " "
        YAML_COMMENT@46..64 "# Block collection"
        NEWLINE@64..65 "\n"
        WHITESPACE@65..67 "  "
        YAML_BLOCK_MAP@67..77
          YAML_BLOCK_MAP_ENTRY@67..77
            YAML_BLOCK_MAP_KEY@67..72
              YAML_SCALAR@67..71
                YAML_SCALAR_TEXT@67..71 "foo "
              YAML_COLON@71..72 ":"
            YAML_BLOCK_MAP_VALUE@72..77
              WHITESPACE@72..73 " "
              YAML_SCALAR@73..76
                YAML_SCALAR_TEXT@73..76 "bar"
              NEWLINE@76..77 "\n"
