(command.CommandList
  children: [
    (command.AndOr
      ops: [Op_DAmp]
      children: [
        (command.FuncDef
          name: _ant
          body: 
            (command.BraceGroup
              children: [
                (command.Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:cur spids:[13])
                      op: Equal
                      spids: [13]
                    )
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:prev spids:[15])
                      op: Equal
                      spids: [15]
                    )
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:words spids:[17])
                      op: Equal
                      spids: [17]
                    )
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:cword spids:[19])
                      op: Equal
                      spids: [19]
                    )
                  ]
                  spids: [11]
                )
                (command.AndOr
                  ops: [Op_DPipe]
                  children: [
                    (C {(_init_completion)})
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                )
                (command.Case
                  to_match: {($ VSub_DollarName '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [
                        {(-h)}
                        {(-help)}
                        {(--h)}
                        {(--help)}
                        {(-projecthelp)}
                        {(-p)}
                        {(-version)}
                        {(-diagnostics)}
                      ]
                      action: [(command.ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})]
                      spids: [37 52 60 16777215]
                    )
                    (case_arm
                      pat_list: [{(-buildfile)} {(-file)} {(-f)}]
                      action: [
                        (C {(_filedir)} {(SQ <xml>)})
                        (command.ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [63 68 83 16777215]
                    )
                    (case_arm
                      pat_list: [{(-logfile)} {(-l)}]
                      action: [
                        (C {(_filedir)})
                        (command.ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [86 89 100 16777215]
                    )
                    (case_arm
                      pat_list: [{(-propertyfile)}]
                      action: [
                        (C {(_filedir)} {(properties)})
                        (command.ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [103 104 117 16777215]
                    )
                    (case_arm
                      pat_list: [{(-nice)}]
                      action: [
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:COMPREPLY spids:[124])
                              op: Equal
                              rhs: 
                                {
                                  (word_part.ArrayLiteralPart
                                    words: [
                                      {
                                        (word_part.CommandSubPart
                                          command_list: 
                                            (command.CommandList
                                              children: [
                                                (C {(compgen)} {(-W)} {(SQ <'{1..10}'>)} {(--)} 
                                                  {(DQ ($ VSub_DollarName '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [127 143]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [124]
                            )
                          ]
                          spids: [124]
                        )
                        (command.ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [120 121 153 16777215]
                    )
                    (case_arm
                      pat_list: [{(-lib)}]
                      action: [
                        (C {(_filedir)} {(-d)})
                        (command.ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [156 157 170 16777215]
                    )
                    (case_arm
                      pat_list: [{(-logger)} {(-listener)} {(-inputhandler)} {(-main)} {(-find)} {(-s)}]
                      action: [(command.ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})]
                      spids: [173 184 192 16777215]
                    )
                  ]
                  spids: [30 34 195]
                )
                (command.If
                  arms: [
                    (if_arm
                      cond: [
                        (command.Sentence
                          child: 
                            (command.DBracket
                              expr: 
                                (bool_expr.BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: {($ VSub_DollarName '$cur')}
                                  right: {(-D) (Lit_Other '*')}
                                )
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [(command.ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})]
                      spids: [16777215 213]
                    )
                    (if_arm
                      cond: [
                        (command.Sentence
                          child: 
                            (command.DBracket
                              expr: 
                                (bool_expr.BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: {(DQ ($ VSub_DollarName '$cur'))}
                                  right: {(-) (Lit_Other '*')}
                                )
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:COMPREPLY spids:[240])
                              op: Equal
                              rhs: 
                                {
                                  (word_part.ArrayLiteralPart
                                    words: [
                                      {
                                        (word_part.CommandSubPart
                                          command_list: 
                                            (command.CommandList
                                              children: [
                                                (C {(compgen)} {(-W)} {(SQ <'$( _parse_help "$1" -h )'>)} 
                                                  {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [243 259]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [240]
                            )
                          ]
                          spids: [240]
                        )
                      ]
                      spids: [221 237]
                    )
                  ]
                  else_action: [
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:buildfile spids:[277])
                          op: Equal
                          rhs: {(build.xml)}
                          spids: [277]
                        )
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:i spids:[280])
                          op: Equal
                          spids: [280]
                        )
                      ]
                      spids: [275]
                    )
                    (command.ForExpr
                      init: 
                        (arith_expr.BinaryAssign
                          op_id: Arith_Equal
                          left: (lhs_expr.LhsName name:i spids:[287])
                          right: (arith_expr.ArithWord w:{(Lit_Digits 1)})
                        )
                      cond: 
                        (arith_expr.ArithBinary
                          op_id: Arith_Less
                          left: (arith_expr.ArithVarRef token:<Lit_ArithVarLike i>)
                          right: (arith_expr.ArithVarRef token:<Lit_ArithVarLike cword>)
                        )
                      update: 
                        (arith_expr.UnaryAssign
                          op_id: Node_PostDPlus
                          child: (lhs_expr.LhsName name:i spids:[299])
                        )
                      body: 
                        (command.DoGroup
                          children: [
                            (command.If
                              arms: [
                                (if_arm
                                  cond: [
                                    (command.Sentence
                                      child: 
                                        (command.DBracket
                                          expr: 
                                            (bool_expr.BoolBinary
                                              op_id: BoolBinary_GlobDEqual
                                              left: 
                                                {
                                                  (DQ 
                                                    (word_part.BracedVarSub
                                                      token: <VSub_Name words>
                                                      bracket_op: 
                                                        (bracket_op.ArrayIndex
                                                          expr: 
                                                            (arith_expr.ArithVarRef
                                                              token: <Lit_ArithVarLike i>
                                                            )
                                                        )
                                                      spids: [314 319]
                                                    )
                                                  )
                                                }
                                              right: 
                                                {(-) 
                                                  (word_part.ExtGlobPart
                                                    op: <ExtGlob_At '@('>
                                                    arms: [
                                                      {
                                                        (word_part.ExtGlobPart
                                                          op: <ExtGlob_QMark '?('>
                                                          arms: [{(build)}]
                                                          spids: [326 328]
                                                        ) (file)
                                                      }
                                                      {(f)}
                                                    ]
                                                    spids: [325 332]
                                                  )
                                                }
                                            )
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [
                                    (command.Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (lhs_expr.LhsName name:buildfile spids:[340])
                                          op: Equal
                                          rhs: 
                                            {
                                              (word_part.BracedVarSub
                                                token: <VSub_Name words>
                                                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: [341 348]
                                              )
                                            }
                                          spids: [340]
                                        )
                                      ]
                                      spids: [340]
                                    )
                                    (command.ControlFlow
                                      token: <ControlFlow_Break break>
                                    )
                                  ]
                                  spids: [16777215 337]
                                )
                              ]
                              spids: [16777215 354]
                            )
                          ]
                          spids: [306 357]
                        )
                    )
                    (command.If
                      arms: [
                        (if_arm
                          cond: [
                            (command.Sentence
                              child: 
                                (command.DBracket
                                  expr: 
                                    (bool_expr.BoolBinary
                                      op_id: BoolBinary_eq
                                      left: {($ VSub_DollarName '$i')}
                                      right: {($ VSub_DollarName '$cword')}
                                    )
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [
                            (command.ForEach
                              iter_name: i
                              iter_words: [{($ VSub_DollarName '$ANT_ARGS')}]
                              do_arg_iter: F
                              body: 
                                (command.DoGroup
                                  children: [
                                    (command.If
                                      arms: [
                                        (if_arm
                                          cond: [
                                            (command.Sentence
                                              child: 
                                                (command.DBracket
                                                  expr: 
                                                    (bool_expr.BoolBinary
                                                      op_id: BoolBinary_GlobDEqual
                                                      left: {($ VSub_DollarName '$prev')}
                                                      right: 
                                                        {(-) 
                                                          (word_part.ExtGlobPart
                                                            op: <ExtGlob_At '@('>
                                                            arms: [
                                                              {
                                                                (word_part.ExtGlobPart
                                                                  op: <ExtGlob_QMark '?('>
                                                                  arms: [{(build)}]
                                                                  spids: [398 400]
                                                                ) (file)
                                                              }
                                                              {(f)}
                                                            ]
                                                            spids: [397 404]
                                                          )
                                                        }
                                                    )
                                                )
                                              terminator: <Op_Semi ';'>
                                            )
                                          ]
                                          action: [
                                            (command.Assignment
                                              keyword: Assign_None
                                              pairs: [
                                                (assign_pair
                                                  lhs: (lhs_expr.LhsName name:buildfile spids:[412])
                                                  op: Equal
                                                  rhs: {($ VSub_DollarName '$i')}
                                                  spids: [412]
                                                )
                                              ]
                                              spids: [412]
                                            )
                                            (command.ControlFlow
                                              token: <ControlFlow_Break break>
                                            )
                                          ]
                                          spids: [16777215 409]
                                        )
                                      ]
                                      spids: [16777215 419]
                                    )
                                    (command.Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (lhs_expr.LhsName name:prev spids:[422])
                                          op: Equal
                                          rhs: {($ VSub_DollarName '$i')}
                                          spids: [422]
                                        )
                                      ]
                                      spids: [422]
                                    )
                                  ]
                                  spids: [385 426]
                                )
                              spids: [381 383]
                            )
                          ]
                          spids: [16777215 373]
                        )
                      ]
                      spids: [16777215 429]
                    )
                    (command.AndOr
                      ops: [Op_DAmp]
                      children: [
                        (command.DBracket
                          expr: 
                            (bool_expr.LogicalNot
                              child: 
                                (bool_expr.BoolUnary
                                  op_id: BoolUnary_f
                                  child: {($ VSub_DollarName '$buildfile')}
                                )
                            )
                        )
                        (command.ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                    )
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:line spids:[456])
                          op: Equal
                          spids: [456]
                        )
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:targets spids:[458])
                          op: Equal
                          spids: [458]
                        )
                      ]
                      spids: [454]
                    )
                    (command.WhileUntil
                      keyword: <KW_While while>
                      cond: [
                        (command.Sentence
                          child: (C {(read)} {(-rd)} {(SQ <'>'>)} {(line)})
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      body: 
                        (command.DoGroup
                          children: [
                            (command.AndOr
                              ops: [Op_DAmp]
                              children: [
                                (command.DBracket
                                  expr: 
                                    (bool_expr.BoolBinary
                                      op_id: BoolBinary_EqualTilde
                                      left: {($ VSub_DollarName '$line')}
                                      right: 
                                        {
                                          (word_part.EscapedLiteralPart
                                            token: <Lit_EscapedChar '\\<'>
                                          ) (Lit_Other '(') (targe) (Lit_Other '|') (extension-poin) (Lit_Other ')') (t) (Lit_Other '[') (Lit_Other '[') 
                                          (Lit_Other ':') (space) (Lit_Other ':') (Lit_Other ']') (Lit_Other ']') (Lit_Other .) (Lit_Other '*') (name) (Lit_Other '=') 
                                          (Lit_Other '[') (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) 
                                          (word_part.EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\'">
                                          ) (Lit_Other ']') (Lit_Other '(') (Lit_Other '[') (Lit_Other '^') 
                                          (word_part.EscapedLiteralPart
                                            token: <Lit_EscapedChar '\\"'>
                                          ) (word_part.EscapedLiteralPart token:<Lit_EscapedChar "\\'">) (Lit_Other ']') (Lit_Other '+') 
                                          (Lit_Other ')')
                                        }
                                    )
                                )
                                (command.Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (lhs_expr.LhsName name:targets spids:[522])
                                      op: PlusEqual
                                      rhs: 
                                        {
                                          (DQ (' ') 
                                            (word_part.BracedVarSub
                                              token: <VSub_Name BASH_REMATCH>
                                              bracket_op: 
                                                (bracket_op.ArrayIndex
                                                  expr: (arith_expr.ArithWord w:{(Lit_Digits 2)})
                                                )
                                              spids: [525 530]
                                            )
                                          )
                                        }
                                      spids: [522]
                                    )
                                  ]
                                  spids: [522]
                                )
                              ]
                            )
                          ]
                          spids: [474 534]
                        )
                      redirects: [
                        (redir.Redir
                          op: <Redir_Less '<'>
                          fd: 16777215
                          arg_word: {($ VSub_DollarName '$buildfile')}
                        )
                      ]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[541])
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} {(SQ <'$targets'>)} {(--)} 
                                              {(DQ ($ VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [544 560]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [541]
                        )
                      ]
                      spids: [541]
                    )
                  ]
                  spids: [264 565]
                )
              ]
              spids: [8]
            )
          spids: [4 7]
        )
        (C {(complete)} {(-F)} {(_ant)} {(ant)} {(phing)})
      ]
    )
    (command.AndOr
      ops: [Op_DAmp Op_DPipe]
      children: [
        (command.SimpleCommand
          words: [{(type)} {(complete-ant-cmd.pl)}]
          redirects: [(redir.Redir op:<Redir_AndGreat '&>'> fd:16777215 arg_word:{(/dev/null)})]
        )
        (C {(complete)} {(-C)} {(complete-ant-cmd.pl)} {(-F)} {(_ant)} {(ant)})
        (C {(Lit_Other ':')})
      ]
    )
  ]
)