---
source: crates/panache-parser/tests/yaml.rs
expression: snapshot
---
case_id: 8UDB
input: "[\n\"double\n quoted\", 'single\n           quoted',\nplain\n text, [ nested ],\nsingle: pair,\n]\n"
diagnostics:

cst:
YAML_STREAM@0..89
  YAML_DOCUMENT@0..89
    YAML_FLOW_SEQUENCE@0..88
      YAML_FLOW_INDICATOR@0..1 "["
      NEWLINE@1..2 "\n"
      YAML_FLOW_SEQUENCE_ITEM@2..18
        YAML_SCALAR@2..18
          YAML_SCALAR_TEXT@2..9 "\"double"
          NEWLINE@9..10 "\n"
          YAML_SCALAR_TEXT@10..18 " quoted\""
      YAML_FLOW_INDICATOR@18..19 ","
      WHITESPACE@19..20 " "
      YAML_FLOW_SEQUENCE_ITEM@20..46
        YAML_SCALAR@20..46
          YAML_SCALAR_TEXT@20..27 "'single"
          NEWLINE@27..28 "\n"
          YAML_SCALAR_TEXT@28..46 "           quoted'"
      YAML_FLOW_INDICATOR@46..47 ","
      NEWLINE@47..48 "\n"
      YAML_FLOW_SEQUENCE_ITEM@48..59
        YAML_SCALAR@48..59
          YAML_SCALAR_TEXT@48..53 "plain"
          NEWLINE@53..54 "\n"
          YAML_SCALAR_TEXT@54..59 " text"
      YAML_FLOW_INDICATOR@59..60 ","
      WHITESPACE@60..61 " "
      YAML_FLOW_SEQUENCE_ITEM@61..71
        YAML_FLOW_SEQUENCE@61..71
          YAML_FLOW_INDICATOR@61..62 "["
          WHITESPACE@62..63 " "
          YAML_FLOW_SEQUENCE_ITEM@63..70
            YAML_SCALAR@63..70
              YAML_SCALAR_TEXT@63..70 "nested "
          YAML_FLOW_INDICATOR@70..71 "]"
      YAML_FLOW_INDICATOR@71..72 ","
      NEWLINE@72..73 "\n"
      YAML_FLOW_SEQUENCE_ITEM@73..85
        YAML_SCALAR@73..79
          YAML_SCALAR_TEXT@73..79 "single"
        YAML_COLON@79..80 ":"
        WHITESPACE@80..81 " "
        YAML_SCALAR@81..85
          YAML_SCALAR_TEXT@81..85 "pair"
      YAML_FLOW_INDICATOR@85..86 ","
      NEWLINE@86..87 "\n"
      YAML_FLOW_INDICATOR@87..88 "]"
    NEWLINE@88..89 "\n"
