===
Pipeline chain #1: &&
===

echo toto && echo tata

---

(program
  (statement_list
    (pipeline
      (pipeline_chain
        (command
          command_name: (command_name)
          command_elements: (command_elements
            (command_argument_sep)
            (generic_token)
            (command_argument_sep))))
      (pipeline_chain_tail)
      (pipeline_chain
        (command
          command_name: (command_name)
          command_elements: (command_elements
            (command_argument_sep)
            (generic_token)))))))

===
Pipeline chain #2: ||
===

echo toto || echo tata

---

(program
  (statement_list
    (pipeline
      (pipeline_chain
        (command
          command_name: (command_name)
          command_elements: (command_elements
            (command_argument_sep)
            (generic_token)
            (command_argument_sep))))
      (pipeline_chain_tail)
      (pipeline_chain
        (command
          command_name: (command_name)
          command_elements: (command_elements
            (command_argument_sep)
            (generic_token)))))))

===
Pipeline chain #3: Priority over redirection and pipe
===

echo toto > tmp1 && 1+1 | write-output > tmp2

---

(program
  (statement_list
    (pipeline
      (pipeline_chain
        (command
          command_name: (command_name)
          command_elements: (command_elements
            (command_argument_sep)
            (generic_token)
            (command_argument_sep)
            (redirection
              (file_redirection_operator)
              (redirected_file_name
                (command_argument_sep)
                (generic_token)))
            (command_argument_sep))))
      (pipeline_chain_tail)
      (pipeline_chain
        (logical_expression
          (bitwise_expression
            (comparison_expression
              (additive_expression
                (additive_expression
                  (multiplicative_expression
                    (format_expression
                      (range_expression
                        (array_literal_expression
                          (unary_expression
                            (integer_literal
                              (decimal_integer_literal))))))))
                (multiplicative_expression
                  (format_expression
                    (range_expression
                      (array_literal_expression
                        (unary_expression
                          (integer_literal
                            (decimal_integer_literal)))))))))))
        (command
          command_name: (command_name)
          command_elements: (command_elements
            (command_argument_sep)
            (redirection
              (file_redirection_operator)
              (redirected_file_name
                (command_argument_sep)
                (generic_token)))))))))
