(command.CommandList
  children: [
    (command.AndOr
      ops: [Id.Op_DAmp]
      children: [
        (command.ShFunction
          name: _ant
          body: 
            (command.BraceGroup
              children: [
                (C {(local)} {(cur)} {(prev)} {(words)} {(cword)})
                (command.AndOr
                  ops: [Id.Op_DPipe]
                  children: [
                    (C {(_init_completion)})
                    (command.ControlFlow
                      token: (Token id:Id.ControlFlow_Return val:return span_id:26)
                    )
                  ]
                )
                (command.Case
                  to_match: {($ Id.VSub_DollarName '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [
                        {(-h)}
                        {(-help)}
                        {(--h)}
                        {(--help)}
                        {(-projecthelp)}
                        {(-p)}
                        {(-version)}
                        {(-diagnostics)}
                      ]
                      action: [
                        (command.ControlFlow
                          token: (Token id:Id.ControlFlow_Return val:return span_id:55)
                          arg_word: {(0)}
                        )
                      ]
                      spids: [37 52 60 -1]
                    )
                    (case_arm
                      pat_list: [{(-buildfile)} {(-file)} {(-f)}]
                      action: [
                        (C {(_filedir)} {(SQ (Token id:Id.Lit_Chars val:xml span_id:74))})
                        (command.ControlFlow
                          token: (Token id:Id.ControlFlow_Return val:return span_id:78)
                          arg_word: {(0)}
                        )
                      ]
                      spids: [63 68 83 -1]
                    )
                    (case_arm
                      pat_list: [{(-logfile)} {(-l)}]
                      action: [
                        (C {(_filedir)})
                        (command.ControlFlow
                          token: (Token id:Id.ControlFlow_Return val:return span_id:95)
                          arg_word: {(0)}
                        )
                      ]
                      spids: [86 89 100 -1]
                    )
                    (case_arm
                      pat_list: [{(-propertyfile)}]
                      action: [
                        (C {(_filedir)} {(properties)})
                        (command.ControlFlow
                          token: (Token id:Id.ControlFlow_Return val:return span_id:112)
                          arg_word: {(0)}
                        )
                      ]
                      spids: [103 104 117 -1]
                    )
                    (case_arm
                      pat_list: [{(-nice)}]
                      action: [
                        (command.ShAssignment
                          pairs: [
                            (assign_pair
                              lhs: (sh_lhs_expr.Name name:COMPREPLY)
                              op: assign_op.Equal
                              rhs: 
                                {
                                  (sh_array_literal
                                    left: (Token id:Id.Op_LParen val:'(' span_id:125)
                                    words: [
                                      {
                                        (command_sub
                                          left_token: 
                                            (Token
                                              id: Id.Left_DollarParen
                                              val: '$('
                                              span_id: 127
                                            )
                                          command_list: 
                                            (command.CommandList
                                              children: [
                                                (C {(compgen)} {(-W)} 
                                                  {
                                                    (SQ 
                                                      (Token
                                                        id: Id.Lit_Chars
                                                        val: '{1..10}'
                                                        span_id: 134
                                                      )
                                                    )
                                                  } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                                )
                                              ]
                                            )
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [124]
                            )
                          ]
                        )
                        (command.ControlFlow
                          token: (Token id:Id.ControlFlow_Return val:return span_id:148)
                          arg_word: {(0)}
                        )
                      ]
                      spids: [120 121 153 -1]
                    )
                    (case_arm
                      pat_list: [{(-lib)}]
                      action: [
                        (C {(_filedir)} {(-d)})
                        (command.ControlFlow
                          token: (Token id:Id.ControlFlow_Return val:return span_id:165)
                          arg_word: {(0)}
                        )
                      ]
                      spids: [156 157 170 -1]
                    )
                    (case_arm
                      pat_list: [{(-logger)} {(-listener)} {(-inputhandler)} {(-main)} {(-find)} {(-s)}]
                      action: [
                        (command.ControlFlow
                          token: (Token id:Id.ControlFlow_Return val:return span_id:187)
                          arg_word: {(0)}
                        )
                      ]
                      spids: [173 184 192 -1]
                    )
                  ]
                )
                (command.If
                  arms: [
                    (if_arm
                      cond: [
                        (command.Sentence
                          child: 
                            (command.DBracket
                              expr: 
                                (bool_expr.Binary
                                  op_id: Id.BoolBinary_GlobDEqual
                                  left: {($ Id.VSub_DollarName '$cur')}
                                  right: {(-D) (Id.Lit_Other '*')}
                                )
                            )
                          terminator: (Token id:Id.Op_Semi val:';' span_id:211)
                        )
                      ]
                      action: [
                        (command.ControlFlow
                          token: (Token id:Id.ControlFlow_Return val:return span_id:216)
                          arg_word: {(0)}
                        )
                      ]
                      spids: [199 213]
                    )
                    (if_arm
                      cond: [
                        (command.Sentence
                          child: 
                            (command.DBracket
                              expr: 
                                (bool_expr.Binary
                                  op_id: Id.BoolBinary_GlobDEqual
                                  left: {(DQ ($ Id.VSub_DollarName '$cur'))}
                                  right: {(-) (Id.Lit_Other '*')}
                                )
                            )
                          terminator: (Token id:Id.Op_Semi val:';' span_id:235)
                        )
                      ]
                      action: [
                        (command.ShAssignment
                          pairs: [
                            (assign_pair
                              lhs: (sh_lhs_expr.Name name:COMPREPLY)
                              op: assign_op.Equal
                              rhs: 
                                {
                                  (sh_array_literal
                                    left: (Token id:Id.Op_LParen val:'(' span_id:241)
                                    words: [
                                      {
                                        (command_sub
                                          left_token: 
                                            (Token
                                              id: Id.Left_DollarParen
                                              val: '$('
                                              span_id: 243
                                            )
                                          command_list: 
                                            (command.CommandList
                                              children: [
                                                (C {(compgen)} {(-W)} 
                                                  {
                                                    (SQ 
                                                      (Token
                                                        id: Id.Lit_Chars
                                                        val: '$( _parse_help "$1" -h )'
                                                        span_id: 250
                                                      )
                                                    )
                                                  } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                                )
                                              ]
                                            )
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [240]
                            )
                          ]
                        )
                      ]
                      spids: [221 237]
                    )
                  ]
                  else_action: [
                    (C {(local)} {(Id.Lit_VarLike 'buildfile=') (build.xml)} {(i)})
                    (command.ForExpr
                      init: 
                        (arith_expr.BinaryAssign
                          op_id: Id.Arith_Equal
                          left: (sh_lhs_expr.Name name:i)
                          right: (arith_expr.ArithWord w:{(Id.Lit_Digits 1)})
                        )
                      cond: 
                        (arith_expr.Binary
                          op_id: Id.Arith_Less
                          left: 
                            (arith_expr.VarRef
                              token: (Token id:Id.Lit_ArithVarLike val:i span_id:292)
                            )
                          right: 
                            (arith_expr.VarRef
                              token: (Token id:Id.Lit_ArithVarLike val:cword span_id:296)
                            )
                        )
                      update: 
                        (arith_expr.UnaryAssign
                          op_id: Id.Node_PostDPlus
                          child: (sh_lhs_expr.Name name:i)
                        )
                      body: 
                        (command.DoGroup
                          children: [
                            (command.If
                              arms: [
                                (if_arm
                                  cond: [
                                    (command.Sentence
                                      child: 
                                        (command.DBracket
                                          expr: 
                                            (bool_expr.Binary
                                              op_id: Id.BoolBinary_GlobDEqual
                                              left: 
                                                {
                                                  (DQ 
                                                    (braced_var_sub
                                                      token: 
                                                        (Token
                                                          id: Id.VSub_Name
                                                          val: words
                                                          span_id: 315
                                                        )
                                                      bracket_op: 
                                                        (bracket_op.ArrayIndex
                                                          expr: 
                                                            (arith_expr.VarRef
                                                              token: 
                                                                (Token
                                                                  id: Id.Lit_ArithVarLike
                                                                  val: i
                                                                  span_id: 317
                                                                )
                                                            )
                                                        )
                                                    )
                                                  )
                                                }
                                              right: 
                                                {(-) 
                                                  (word_part.ExtGlob
                                                    op: (Token id:Id.ExtGlob_At val:'@(' span_id:325)
                                                    arms: [
                                                      {
                                                        (word_part.ExtGlob
                                                          op: 
                                                            (Token
                                                              id: Id.ExtGlob_QMark
                                                              val: '?('
                                                              span_id: 326
                                                            )
                                                          arms: [{(build)}]
                                                        ) (file)
                                                      }
                                                      {(f)}
                                                    ]
                                                  )
                                                }
                                            )
                                        )
                                      terminator: (Token id:Id.Op_Semi val:';' span_id:335)
                                    )
                                  ]
                                  action: [
                                    (command.ShAssignment
                                      pairs: [
                                        (assign_pair
                                          lhs: (sh_lhs_expr.Name name:buildfile)
                                          op: assign_op.Equal
                                          rhs: 
                                            {
                                              (braced_var_sub
                                                token: (Token id:Id.VSub_Name val:words span_id:342)
                                                bracket_op: 
                                                  (bracket_op.ArrayIndex
                                                    expr: 
                                                      (arith_expr.Binary
                                                        op_id: Id.Arith_Plus
                                                        left: 
                                                          (arith_expr.VarRef
                                                            token: 
                                                              (Token
                                                                id: Id.Lit_ArithVarLike
                                                                val: i
                                                                span_id: 344
                                                              )
                                                          )
                                                        right: 
                                                          (arith_expr.ArithWord
                                                            w: {(Id.Lit_Digits 1)}
                                                          )
                                                      )
                                                  )
                                              )
                                            }
                                          spids: [340]
                                        )
                                      ]
                                    )
                                    (command.ControlFlow
                                      token: (Token id:Id.ControlFlow_Break val:break span_id:351)
                                    )
                                  ]
                                  spids: [309 337]
                                )
                              ]
                            )
                          ]
                        )
                    )
                    (command.If
                      arms: [
                        (if_arm
                          cond: [
                            (command.Sentence
                              child: 
                                (command.DBracket
                                  expr: 
                                    (bool_expr.Binary
                                      op_id: Id.BoolBinary_eq
                                      left: {($ Id.VSub_DollarName '$i')}
                                      right: {($ Id.VSub_DollarName '$cword')}
                                    )
                                )
                              terminator: (Token id:Id.Op_Semi val:';' span_id:371)
                            )
                          ]
                          action: [
                            (command.ForEach
                              iter_name: i
                              iter_words: [{($ Id.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.Binary
                                                      op_id: Id.BoolBinary_GlobDEqual
                                                      left: {($ Id.VSub_DollarName '$prev')}
                                                      right: 
                                                        {(-) 
                                                          (word_part.ExtGlob
                                                            op: 
                                                              (Token
                                                                id: Id.ExtGlob_At
                                                                val: '@('
                                                                span_id: 397
                                                              )
                                                            arms: [
                                                              {
                                                                (word_part.ExtGlob
                                                                  op: 
                                                                    (Token
                                                                      id: Id.ExtGlob_QMark
                                                                      val: '?('
                                                                      span_id: 398
                                                                    )
                                                                  arms: [{(build)}]
                                                                ) (file)
                                                              }
                                                              {(f)}
                                                            ]
                                                          )
                                                        }
                                                    )
                                                )
                                              terminator: (Token id:Id.Op_Semi val:';' span_id:407)
                                            )
                                          ]
                                          action: [
                                            (command.ShAssignment
                                              pairs: [
                                                (assign_pair
                                                  lhs: (sh_lhs_expr.Name name:buildfile)
                                                  op: assign_op.Equal
                                                  rhs: {($ Id.VSub_DollarName '$i')}
                                                  spids: [412]
                                                )
                                              ]
                                            )
                                            (command.ControlFlow
                                              token: 
                                                (Token
                                                  id: Id.ControlFlow_Break
                                                  val: break
                                                  span_id: 416
                                                )
                                            )
                                          ]
                                          spids: [388 409]
                                        )
                                      ]
                                    )
                                    (command.ShAssignment
                                      pairs: [
                                        (assign_pair
                                          lhs: (sh_lhs_expr.Name name:prev)
                                          op: assign_op.Equal
                                          rhs: {($ Id.VSub_DollarName '$i')}
                                          spids: [422]
                                        )
                                      ]
                                    )
                                  ]
                                )
                            )
                          ]
                          spids: [360 373]
                        )
                      ]
                    )
                    (command.AndOr
                      ops: [Id.Op_DAmp]
                      children: [
                        (command.DBracket
                          expr: 
                            (bool_expr.LogicalNot
                              child: 
                                (bool_expr.Unary
                                  op_id: Id.BoolUnary_f
                                  child: {($ Id.VSub_DollarName '$buildfile')}
                                )
                            )
                        )
                        (command.ControlFlow
                          token: (Token id:Id.ControlFlow_Return val:return span_id:444)
                          arg_word: {(0)}
                        )
                      ]
                    )
                    (C {(local)} {(line)} {(targets)})
                    (command.WhileUntil
                      keyword: (Token id:Id.KW_While val:while span_id:461)
                      cond: [
                        (command.Sentence
                          child: 
                            (C {(read)} {(-rd)} {(SQ (Token id:Id.Lit_Chars val:'>' span_id:468))} 
                              {(line)}
                            )
                          terminator: (Token id:Id.Op_Semi val:';' span_id:472)
                        )
                      ]
                      body: 
                        (command.DoGroup
                          children: [
                            (command.AndOr
                              ops: [Id.Op_DAmp]
                              children: [
                                (command.DBracket
                                  expr: 
                                    (bool_expr.Binary
                                      op_id: Id.BoolBinary_EqualTilde
                                      left: {($ Id.VSub_DollarName '$line')}
                                      right: 
                                        {
                                          (word_part.EscapedLiteral
                                            token: 
                                              (Token
                                                id: Id.Lit_EscapedChar
                                                val: '\\<'
                                                span_id: 485
                                              )
                                          ) (Id.Lit_Other '(') (targe) (Id.Lit_Other '|') (extension-poin) (Id.Lit_Other ')') (t) (Id.Lit_Other '[') 
                                          (Id.Lit_Other '[') (Id.Lit_Other ':') (space) (Id.Lit_Other ':') (Id.Lit_Other ']') (Id.Lit_Other ']') (Id.Lit_Other .) 
                                          (Id.Lit_Other '*') (name) (Id.Lit_Other '=') (Id.Lit_Other '[') 
                                          (word_part.EscapedLiteral
                                            token: 
                                              (Token
                                                id: Id.Lit_EscapedChar
                                                val: '\\"'
                                                span_id: 504
                                              )
                                          ) (word_part.EscapedLiteral token:(Token id:Id.Lit_EscapedChar val:"\\'" span_id:505)) 
                                          (Id.Lit_Other ']') (Id.Lit_Other '(') (Id.Lit_Other '[') (Id.Lit_Other '^') 
                                          (word_part.EscapedLiteral
                                            token: 
                                              (Token
                                                id: Id.Lit_EscapedChar
                                                val: '\\"'
                                                span_id: 510
                                              )
                                          ) (word_part.EscapedLiteral token:(Token id:Id.Lit_EscapedChar val:"\\'" span_id:511)) 
                                          (Id.Lit_Other ']') (Id.Lit_Other '+') (Id.Lit_Other ')')
                                        }
                                    )
                                )
                                (command.ShAssignment
                                  pairs: [
                                    (assign_pair
                                      lhs: (sh_lhs_expr.Name name:targets)
                                      op: assign_op.PlusEqual
                                      rhs: 
                                        {
                                          (DQ (' ') 
                                            (braced_var_sub
                                              token: 
                                                (Token
                                                  id: Id.VSub_Name
                                                  val: BASH_REMATCH
                                                  span_id: 526
                                                )
                                              bracket_op: 
                                                (bracket_op.ArrayIndex
                                                  expr: (arith_expr.ArithWord w:{(Id.Lit_Digits 2)})
                                                )
                                            )
                                          )
                                        }
                                      spids: [522]
                                    )
                                  ]
                                )
                              ]
                            )
                          ]
                        )
                      redirects: [
                        (redir.Redir
                          op: (Token id:Id.Redir_Less val:'<' span_id:536)
                          fd: -1
                          arg_word: {($ Id.VSub_DollarName '$buildfile')}
                        )
                      ]
                    )
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:COMPREPLY)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (sh_array_literal
                                left: (Token id:Id.Op_LParen val:'(' span_id:542)
                                words: [
                                  {
                                    (command_sub
                                      left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:544)
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} 
                                              {
                                                (SQ 
                                                  (Token
                                                    id: Id.Lit_Chars
                                                    val: '$targets'
                                                    span_id: 551
                                                  )
                                                )
                                              } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [541]
                        )
                      ]
                    )
                  ]
                )
              ]
            )
        )
        (C {(complete)} {(-F)} {(_ant)} {(ant)} {(phing)})
      ]
    )
    (command.AndOr
      ops: [Id.Op_DAmp Id.Op_DPipe]
      children: [
        (command.Simple
          words: [{(type)} {(complete-ant-cmd.pl)}]
          redirects: [
            (redir.Redir
              op: (Token id:Id.Redir_AndGreat val:'&>' span_id:585)
              fd: -1
              arg_word: {(/dev/null)}
            )
          ]
        )
        (C {(complete)} {(-C)} {(complete-ant-cmd.pl)} {(-F)} {(_ant)} {(ant)})
        (C {(Id.Lit_Other ':')})
      ]
    )
  ]
)