(CommandList
  children: [
    (C {(set)} {(-e)})
    (C {(cd)} 
      {
        (CommandSubPart
          command_list: 
            (CommandList
              children: [
                (C {(dirname)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name BASH_SOURCE>
                        bracket_op: (ArrayIndex expr:(ArithWord w:{(Lit_Digits 0)}))
                        spids: [18 23]
                      )
                    )
                  }
                )
              ]
            )
          left_token: <Left_CommandSub "$(">
          spids: [13 26]
        ) (/..)
      }
    )
    (Subshell
      child: 
        (CommandList
          children: [
            (Sentence
              child: 
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:files)
                      op: Equal
                      rhs: 
                        {
                          (CommandSubPart
                            command_list: 
                              (CommandList
                                children: [
                                  (Pipeline
                                    children: [
                                      (C {(git)} {(ls-files)} {(SQ <"bin/*.dart">)} {(SQ <"lib/*.dart">)} 
                                        {(test/) (Lit_Other "*") (.dart)} {(test/checker/) (Lit_Other "*") (.dart)} {(tool/) (Lit_Other "*") (.dart)}
                                      )
                                      (C {(grep)} {(-v)} {(lib/src/js_ast/)})
                                    ]
                                    negated: False
                                  )
                                ]
                              )
                            left_token: <Left_Backtick "`">
                            spids: [50 84]
                          )
                        }
                      spids: [49]
                    )
                  ]
                  spids: [49]
                )
              terminator: <Op_Semi ";">
            )
            (AndOr
              children: [
                (Pipeline
                  children: [
                    (C {(git)} {(status)} {(-s)} {($ VSub_Name "$files")})
                    (C {(grep)} {(-q)} {(.)})
                  ]
                  negated: False
                )
                (AndOr
                  children: [
                    (C {(echo)} {(DQ ("Did not run the formatter, please commit edited files first."))})
                    (Subshell
                      child: 
                        (CommandList
                          children: [
                            (Sentence
                              child: (C {(echo)} {(DQ ("Running dart formatter"))})
                              terminator: <Op_Semi ";">
                            )
                            (C {(dart)} {(../../third_party/pkg_tested/dart_style/bin/format.dart)} 
                              {(-w)} {($ VSub_Name "$files")}
                            )
                          ]
                        )
                      spids: [117 135]
                    )
                  ]
                  op_id: Op_DPipe
                )
              ]
              op_id: Op_DAmp
            )
          ]
        )
      spids: [48 136]
    )
  ]
)