(CommandList
  children: [
    (AndOr
      children: [
        (FuncDef
          name: _svnlook
          body: 
            (BraceGroup
              children: [
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:cur) op:Equal spids:[20])
                    (assign_pair lhs:(LhsName name:prev) op:Equal spids:[22])
                    (assign_pair lhs:(LhsName name:words) op:Equal spids:[24])
                    (assign_pair lhs:(LhsName name:cword) op:Equal spids:[26])
                  ]
                  spids: [18]
                )
                (AndOr
                  children: [(C {(_init_completion)}) (ControlFlow token:<ControlFlow_Return return>)]
                  op_id: Op_DPipe
                )
                (Assignment
                  keyword: Assign_Local
                  pairs: [(assign_pair lhs:(LhsName name:commands) op:Equal spids:[39])]
                  spids: [37]
                )
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:commands)
                      op: Equal
                      rhs: 
                        {
                          (SQ <'author cat changed date diff dirs-changed help ? h history info\n'> 
                            <
'              lock log propget pget pg proplist plist pl tree uuid youngest'
                            >
                          )
                        }
                      spids: [42]
                    )
                  ]
                  spids: [42]
                )
                (If
                  arms: [
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_eq
                                  left: {($ VSub_Name '$cword')}
                                  right: {(1)}
                                )
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [
                        (If
                          arms: [
                            (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 <--version>)} {(--)} 
                                                          {(DQ ($ VSub_Name '$cur'))}
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [89 105]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [86]
                                    )
                                  ]
                                  spids: [86]
                                )
                              ]
                              spids: [16777215 83]
                            )
                          ]
                          else_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)} 
                                                      {(DQ ($ VSub_Name '$commands'))} {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [116 132]
                                            )
                                          }
                                        ]
                                      )
                                    }
                                  spids: [113]
                                )
                              ]
                              spids: [113]
                            )
                          ]
                          spids: [110 137]
                        )
                      ]
                      spids: [16777215 64]
                    )
                  ]
                  else_action: [
                    (Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:command)
                          op: Equal
                          rhs: 
                            {
                              (BracedVarSub
                                token: <VSub_Name words>
                                bracket_op: (ArrayIndex expr:(ArithWord w:{(Lit_Digits 1)}))
                                spids: [146 151]
                              )
                            }
                          spids: [145]
                        )
                      ]
                      spids: [143]
                    )
                    (If
                      arms: [
                        (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_Local
                              pairs: [(assign_pair lhs:(LhsName name:options) op:Equal spids:[180])]
                              spids: [178]
                            )
                            (Case
                              to_match: {($ VSub_Name '$command')}
                              arms: [
                                (case_arm
                                  pat_list: [{(author)} {(cat)} {(date)} {(dirs-changed)} {(info)} {(log)}]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:options)
                                          op: Equal
                                          rhs: {(SQ <'--revision --transaction'>)}
                                          spids: [204]
                                        )
                                      ]
                                      spids: [204]
                                    )
                                  ]
                                  spids: [190 201 210 16777215]
                                )
                                (case_arm
                                  pat_list: [{(changed)}]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:options)
                                          op: Equal
                                          rhs: {(SQ <'--revision --transaction --copy-info'>)}
                                          spids: [217]
                                        )
                                      ]
                                      spids: [217]
                                    )
                                  ]
                                  spids: [213 214 223 16777215]
                                )
                                (case_arm
                                  pat_list: [{(diff)}]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:options)
                                          op: Equal
                                          rhs: 
                                            {
                                              (SQ <'--revision --transaction --no-diff-deleted\n'> 
                                                <
'                             --no-diff-added --diff-copy-from'
                                                >
                                              )
                                            }
                                          spids: [230]
                                        )
                                      ]
                                      spids: [230]
                                    )
                                  ]
                                  spids: [226 227 237 16777215]
                                )
                                (case_arm
                                  pat_list: [{(history)}]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:options)
                                          op: Equal
                                          rhs: {(SQ <'--revision --show-ids'>)}
                                          spids: [244]
                                        )
                                      ]
                                      spids: [244]
                                    )
                                  ]
                                  spids: [240 241 250 16777215]
                                )
                                (case_arm
                                  pat_list: [{(propget)} {(proplist)}]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:options)
                                          op: Equal
                                          rhs: {(SQ <'--revision --transaction --revprop'>)}
                                          spids: [259]
                                        )
                                      ]
                                      spids: [259]
                                    )
                                  ]
                                  spids: [253 256 265 16777215]
                                )
                                (case_arm
                                  pat_list: [{(tree)}]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:options)
                                          op: Equal
                                          rhs: 
                                            {
                                              (SQ 
                                                <
'--revision --transaction --show-ids --full-paths'
                                                >
                                              )
                                            }
                                          spids: [272]
                                        )
                                      ]
                                      spids: [272]
                                    )
                                  ]
                                  spids: [268 269 278 16777215]
                                )
                              ]
                              spids: [183 187 281]
                            )
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:options)
                                  op: PlusEqual
                                  rhs: {(DQ (' --help'))}
                                  spids: [285]
                                )
                              ]
                              spids: [285]
                            )
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:COMPREPLY)
                                  op: Equal
                                  rhs: 
                                    {
                                      (ArrayLiteralPart
                                        words: [
                                          {
                                            (CommandSubPart
                                              command_list: 
                                                (CommandList
                                                  children: [
                                                    (C {(compgen)} {(-W)} {(DQ ($ VSub_Name '$options'))} 
                                                      {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [294 310]
                                            )
                                          }
                                        ]
                                      )
                                    }
                                  spids: [291]
                                )
                              ]
                              spids: [291]
                            )
                          ]
                          spids: [16777215 171]
                        )
                      ]
                      else_action: [
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobDEqual
                                          left: {(DQ ($ VSub_Name '$command'))}
                                          right: {(ExtGlobPart op:<ExtGlob_At '@('> spids:[328 334])}
                                        )
                                    )
                                  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)} 
                                                          {(DQ ($ VSub_Name '$commands'))} {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [345 361]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [342]
                                    )
                                  ]
                                  spids: [342]
                                )
                              ]
                              spids: [16777215 339]
                            )
                          ]
                          else_action: [(C {(_filedir)})]
                          spids: [366 372]
                        )
                      ]
                      spids: [315 375]
                    )
                  ]
                  spids: [140 378]
                )
                (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
              ]
              spids: [15]
            )
          spids: [11 14]
        )
        (C {(complete)} {(-F)} {(_svnlook)} {(-o)} {(default)} {(svnlook)})
      ]
      op_id: Op_DAmp
    )
  ]
)