(command.CommandList
  children: [
    (C {<set>} {<-ex>})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'HERE='> name:HERE)
          op: assign_op.Equal
          rhs: 
            {
              (command_sub
                left_token: <Id.Left_DollarParen '$('>
                child: 
                  (command.AndOr
                    ops: [Id.Op_DAmp]
                    children: [
                      (C {<cd>} 
                        {
                          (command_sub
                            left_token: <Id.Left_Backtick '`'>
                            child: 
                              (C {<dirname>} 
                                {
                                  (DQ 
                                    (braced_var_sub
                                      left: <Id.Left_DollarBrace '${'>
                                      token: <Id.VSub_Name BASH_SOURCE>
                                      var_name: BASH_SOURCE
                                      bracket_op: (bracket_op.ArrayIndex expr:{<Id.Lit_Digits 0>})
                                      suffix_op: 
                                        (suffix_op.Unary
                                          op: <Id.VTest_ColonHyphen _>
                                          arg_word: {($ Id.VSub_Number 0)}
                                        )
                                      right: <Id.Right_DollarBrace '}'>
                                    )
                                  )
                                }
                              )
                            right: <Id.Backtick_Right '`'>
                          )
                        }
                      )
                      (C {<pwd>})
                    ]
                  )
                right: <Id.Eof_RParen _>
              )
            }
          spids: [60]
        )
      ]
      redirects: []
    )
    (C {<source>} {($ Id.VSub_DollarName HERE) <'/../set_env_common.sh'>})
    (C {<source>} {($ Id.VSub_DollarName HERE) <'/../setup_toolchain.sh'>})
    (C {<source>} {($ Id.VSub_DollarName HERE) <'/../functions.sh'>})
    (C {<git>} {<clone>} {<https> <Id.Lit_Colon ':'> <'//github.com/apache/arrow.git'>} 
      {($ Id.VSub_DollarName ARROW_CHECKOUT)}
    )
    (C {<use_clang>})
    (C {<bootstrap_python_env>} {<3.6>})
    (C {<build_arrow>})
    (C {<build_parquet>})
    (C {<build_pyarrow>})
    (C {($ Id.VSub_DollarName ARROW_CPP_BUILD_DIR) <'/debug/io-hdfs-test'>})
    (C {<python>} {<-m>} {<pytest>} {<-vv>} {<-r>} {<sxX>} {<-s>} {($ Id.VSub_DollarName PYARROW_PATH)} 
      {<--parquet>} {<--hdfs>}
    )
  ]
)