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