(command.CommandList
  children: [
    (command.AndOr
      ops: [Op_DAmp]
      children: [
        (C {(Lit_Other '[')} 
          {
            (word_part.BracedVarSub
              token: <VSub_Name TEST_SH>
              suffix_op: (suffix_op.StringUnary op_id:VTest_Plus arg_word:{(true)})
              spids: [9 13]
            )
          } {(Lit_Other ']')}
        )
        (command.ControlFlow token:<ControlFlow_Return return>)
      ]
    )
    (command.Assignment
      keyword: Assign_Declare
      flags: [-g]
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:TEST_SH spids:[25])
          op: Equal
          rhs: {(true)}
          spids: [25]
        )
      ]
      spids: [21]
    )
    (C {(.)} 
      {
        (word_part.BracedVarSub
          token: <VSub_Name BASH_SOURCE>
          suffix_op: (suffix_op.StringUnary op_id:VOp1_Percent arg_word:{(Lit_Slash /) ('*')})
          spids: [31 36]
        ) (/common.sh)
      }
    )
    (C {(.)} 
      {
        (word_part.BracedVarSub
          token: <VSub_Name BASH_SOURCE>
          suffix_op: (suffix_op.StringUnary op_id:VOp1_Percent arg_word:{(Lit_Slash /) ('*')})
          spids: [41 46]
        ) (/variables.sh)
      }
    )
    (C {(.)} 
      {
        (word_part.BracedVarSub
          token: <VSub_Name BASH_SOURCE>
          suffix_op: (suffix_op.StringUnary op_id:VOp1_Percent arg_word:{(Lit_Slash /) ('*')})
          spids: [51 56]
        ) (/variables.linkedlist.sh)
      }
    )
    (C {(.)} 
      {
        (word_part.BracedVarSub
          token: <VSub_Name BASH_SOURCE>
          suffix_op: (suffix_op.StringUnary op_id:VOp1_Percent arg_word:{(Lit_Slash /) ('*')})
          spids: [61 66]
        ) (/evaluator.sh)
      }
    )
    (command.FuncDef
      name: createTestEnv
      body: 
        (command.BraceGroup
          children: [
            (C {(environment) (Lit_Other ':') (Lit_Other ':') (new)})
            (C {(evaluator) (Lit_Other ':') (Lit_Other ':') (setup_builtins)} 
              {(DQ (${ VSub_Name RESULT))}
            )
          ]
          spids: [89]
        )
      spids: [83 88]
    )
    (command.FuncDef
      name: setInEnv
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Declare
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:env spids:[123])
                  op: Equal
                  rhs: {(DQ (${ VSub_Number 1))}
                  spids: [123]
                )
              ]
              spids: [121]
            )
            (command.Assignment
              keyword: Assign_Declare
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:name spids:[133])
                  op: Equal
                  rhs: {(DQ (${ VSub_Number 2))}
                  spids: [133]
                )
              ]
              spids: [131]
            )
            (command.Assignment
              keyword: Assign_Declare
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:type spids:[143])
                  op: Equal
                  rhs: {(DQ (${ VSub_Number 3))}
                  spids: [143]
                )
              ]
              spids: [141]
            )
            (command.Assignment
              keyword: Assign_Declare
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:value spids:[153])
                  op: Equal
                  rhs: {(DQ (${ VSub_Number 4))}
                  spids: [153]
                )
              ]
              spids: [151]
            )
            (command.Sentence
              child: 
                (C {(variable) (Lit_Other ':') (Lit_Other ':') (new)} {(Identifier)} 
                  {(DQ (${ VSub_Name name))}
                )
              terminator: <Op_Semi ';'>
            )
            (command.Assignment
              keyword: Assign_Declare
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:nameToken spids:[178])
                  op: Equal
                  rhs: {(DQ (${ VSub_Name RESULT))}
                  spids: [178]
                )
              ]
              spids: [176]
            )
            (command.Sentence
              child: 
                (C {(variable) (Lit_Other ':') (Lit_Other ':') (new)} {(DQ (${ VSub_Name type))} 
                  {(DQ (${ VSub_Name value))}
                )
              terminator: <Op_Semi ';'>
            )
            (command.Assignment
              keyword: Assign_Declare
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:valueToken spids:[207])
                  op: Equal
                  rhs: {(DQ (${ VSub_Name RESULT))}
                  spids: [207]
                )
              ]
              spids: [205]
            )
            (C {(environment) (Lit_Other ':') (Lit_Other ':') (setVariable)} {(DQ (${ VSub_Name env))} 
              {(DQ (${ VSub_Name nameToken))} {(DQ (${ VSub_Name valueToken))}
            )
            (C {(variable) (Lit_Other ':') (Lit_Other ':') (new)} {(Identifier)} 
              {(DQ (${ VSub_Name name))}
            )
          ]
          spids: [118]
        )
      spids: [112 117]
    )
    (command.FuncDef
      name: appendToList
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Declare
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:listToken spids:[267])
                  op: Equal
                  rhs: {(DQ (${ VSub_Number 1))}
                  spids: [267]
                )
              ]
              spids: [265]
            )
            (command.Assignment
              keyword: Assign_Declare
              flags: [-a]
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:items spids:[279])
                  op: Equal
                  rhs: 
                    {
                      (word_part.ArrayLiteralPart
                        words: [
                          {
                            (DQ 
                              (word_part.BracedVarSub
                                token: <VSub_At '@'>
                                suffix_op: 
                                  (suffix_op.Slice
                                    begin: (arith_expr.ArithWord w:{(Lit_Digits 2)})
                                  )
                                spids: [282 286]
                              )
                            )
                          }
                        ]
                      )
                    }
                  spids: [279]
                )
              ]
              spids: [275]
            )
            (command.Assignment
              keyword: Assign_Declare
              flags: [-i]
              pairs: [(assign_pair lhs:(lhs_expr.LhsName name:size spids:[295]) op:Equal spids:[295])]
              spids: [291]
            )
            (command.Assignment
              keyword: Assign_Declare
              flags: [-i]
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:max_index spids:[302])
                  op: Equal
                  spids: [302]
                )
              ]
              spids: [298]
            )
            (command.Assignment
              keyword: Assign_Declare
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:currentType spids:[307])
                  op: Equal
                  spids: [307]
                )
              ]
              spids: [305]
            )
            (command.Assignment
              keyword: Assign_Declare
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:currentValue spids:[312])
                  op: Equal
                  spids: [312]
                )
              ]
              spids: [310]
            )
            (command.DParen
              child: 
                (arith_expr.ArithBinary
                  op_id: Arith_Comma
                  left: 
                    (arith_expr.BinaryAssign
                      op_id: Arith_Equal
                      left: (lhs_expr.LhsName name:size spids:[319])
                      right: 
                        (arith_expr.ArithWord
                          w: 
                            {
                              (word_part.BracedVarSub
                                token: <VSub_Name items>
                                prefix_op: VSub_Pound
                                bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                                spids: [321 327]
                              )
                            }
                        )
                    )
                  right: 
                    (arith_expr.BinaryAssign
                      op_id: Arith_Equal
                      left: (lhs_expr.LhsName name:max_index spids:[330])
                      right: 
                        (arith_expr.ArithBinary
                          op_id: Arith_Minus
                          left: (arith_expr.ArithVarRef token:<Lit_ArithVarLike size>)
                          right: (arith_expr.ArithWord w:{(Lit_Digits 1)})
                        )
                    )
                )
              spids: [317 337]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (command.DParen
                          child: 
                            (arith_expr.ArithBinary
                              op_id: Arith_NEqual
                              left: 
                                (arith_expr.ArithBinary
                                  op_id: Arith_Percent
                                  left: (arith_expr.ArithVarRef token:<Lit_ArithVarLike size>)
                                  right: (arith_expr.ArithWord w:{(Lit_Digits 2)})
                                )
                              right: (arith_expr.ArithWord w:{(Lit_Digits 0)})
                            )
                          spids: [342 353]
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (C {(stderr)} {(DQ ('appendToList: number of items to add to list not even'))})
                    (command.ControlFlow
                      token: <ControlFlow_Exit exit>
                      arg_word: {(1)}
                    )
                  ]
                  spids: [16777215 356]
                )
              ]
              spids: [16777215 371]
            )
            (command.ForExpr
              init: 
                (arith_expr.BinaryAssign
                  op_id: Arith_Equal
                  left: (lhs_expr.LhsName name:i spids:[377])
                  right: (arith_expr.ArithWord w:{(Lit_Digits 0)})
                )
              cond: 
                (arith_expr.ArithBinary
                  op_id: Arith_LessEqual
                  left: (arith_expr.ArithVarRef token:<Lit_ArithVarLike i>)
                  right: (arith_expr.ArithVarRef token:<Lit_ArithVarLike max_index>)
                )
              update: 
                (arith_expr.BinaryAssign
                  op_id: Arith_Equal
                  left: (lhs_expr.LhsName name:i spids:[387])
                  right: 
                    (arith_expr.ArithBinary
                      op_id: Arith_Plus
                      left: (arith_expr.ArithVarRef token:<Lit_ArithVarLike i>)
                      right: (arith_expr.ArithWord w:{(Lit_Digits 2)})
                    )
                )
              body: 
                (command.DoGroup
                  children: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:currentType spids:[399])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.BracedVarSub
                                  token: <VSub_Name items>
                                  bracket_op: 
                                    (bracket_op.ArrayIndex
                                      expr: (arith_expr.ArithWord w:{(${ VSub_Name i)})
                                    )
                                  spids: [401 408]
                                )
                              )
                            }
                          spids: [399]
                        )
                      ]
                      spids: [399]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:currentValue spids:[412])
                          op: Equal
                          rhs: 
                            {
                              (DQ 
                                (word_part.BracedVarSub
                                  token: <VSub_Name items>
                                  bracket_op: 
                                    (bracket_op.ArrayIndex
                                      expr: 
                                        (arith_expr.ArithBinary
                                          op_id: Arith_Plus
                                          left: (arith_expr.ArithVarRef token:<Lit_ArithVarLike i>)
                                          right: (arith_expr.ArithWord w:{(Lit_Digits 1)})
                                        )
                                    )
                                  spids: [414 425]
                                )
                              )
                            }
                          spids: [412]
                        )
                      ]
                      spids: [412]
                    )
                    (C {(variable) (Lit_Other ':') (Lit_Other ':') (new)} 
                      {(DQ (${ VSub_Name currentType))} {(DQ (${ VSub_Name currentValue))}
                    )
                    (C 
                      {(variable) (Lit_Other ':') (Lit_Other ':') (LinkedList) (Lit_Other ':') 
                        (Lit_Other ':') (append)
                      } {(DQ (${ VSub_Name listToken))} {(DQ (${ VSub_Name RESULT))}
                    )
                  ]
                  spids: [396 468]
                )
            )
          ]
          spids: [262]
        )
      spids: [256 261]
    )
  ]
)