(command.AndOr ops: [Id.Op_DAmp] children: [ (command.ShFunction name: _svnadmin 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:33) ) ] ) (C {(local)} {(commands)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:commands) op: assign_op.Equal rhs: { (SQ (Token id: Id.Lit_Chars val: 'create deltify dump help ? hotcopy list-dblogs list-unused-dblogs\n' span_id: 44 ) (Token id: Id.Lit_Chars val: ' load lslocks lstxns recover rmlocks rmtxns setlog verify' span_id: 45 ) ) } spids: [42] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_eq left: {($ Id.VSub_DollarName '$cword')} right: {(1)} ) ) terminator: (Token id:Id.Op_Semi val:';' span_id:62) ) ] action: [ (command.If arms: [ (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:81) ) ] 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:87) words: [ { (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 89 ) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: --version span_id: 96 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [86] ) ] ) ] spids: [67 83] ) ] else_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:114) words: [ { (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 116 ) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(DQ ($ Id.VSub_DollarName '$commands'))} {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [113] ) ] ) ] ) ] spids: [50 64] ) ] else_action: [ (command.Case to_match: {($ Id.VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [{(--config-dir)}] action: [ (C {(_filedir)} {(-d)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:159) arg_word: {(0)} ) ] spids: [150 151 164 -1] ) (case_arm pat_list: [{(--fs-type)}] 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:172) words: [ { (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 174 ) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: 'fsfs bdb' span_id: 181 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [171] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:195) arg_word: {(0)} ) ] spids: [167 168 200 -1] ) ] ) (C {(local)} {(Id.Lit_VarLike 'command=') (braced_var_sub token: (Token id:Id.VSub_Name val:words span_id:211) bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithWord w:{(Id.Lit_Digits 1)}) ) ) } ) (command.If arms: [ (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:233) ) ] action: [ (C {(local)} {(options)}) (command.Case to_match: {($ Id.VSub_DollarName '$command')} arms: [ (case_arm pat_list: [{(create)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.Equal rhs: { (SQ (Token id: Id.Lit_Chars val: '--bdb-txn-nosync --bdb-log-keep --config-dir\n' span_id: 260 ) (Token id:Id.Lit_Chars val:' --fs-type' span_id:261) ) } spids: [258] ) ] ) ] spids: [254 255 265 -1] ) (case_arm pat_list: [{(deltify)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.Equal rhs: { (SQ (Token id: Id.Lit_Chars val: '--revision --quiet' span_id: 274 ) ) } spids: [272] ) ] ) ] spids: [268 269 278 -1] ) (case_arm pat_list: [{(dump)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.Equal rhs: { (SQ (Token id: Id.Lit_Chars val: '--revision --incremental --quiet --deltas' span_id: 287 ) ) } spids: [285] ) ] ) ] spids: [281 282 291 -1] ) (case_arm pat_list: [{(hotcopy)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.Equal rhs: {(SQ (Token id:Id.Lit_Chars val:--clean-logs span_id:300))} spids: [298] ) ] ) ] spids: [294 295 304 -1] ) (case_arm pat_list: [{(load)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.Equal rhs: { (SQ (Token id: Id.Lit_Chars val: '--ignore-uuid --force-uuid --parent-dir --quiet\n' span_id: 313 ) (Token id: Id.Lit_Chars val: ' --use-pre-commit-hook --use-post-commit-hook' span_id: 314 ) ) } spids: [311] ) ] ) ] spids: [307 308 318 -1] ) (case_arm pat_list: [{(rmtxns)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.Equal rhs: {(SQ (Token id:Id.Lit_Chars val:--quiet span_id:327))} spids: [325] ) ] ) ] spids: [321 322 331 -1] ) (case_arm pat_list: [{(setlog)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.Equal rhs: { (SQ (Token id: Id.Lit_Chars val: '--revision --bypass-hooks' span_id: 340 ) ) } spids: [338] ) ] ) ] spids: [334 335 344 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.PlusEqual rhs: {(DQ (' --help'))} spids: [351] ) ] ) (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:358) words: [ { (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 360 ) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(DQ ($ Id.VSub_DollarName '$options'))} {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [357] ) ] ) ] spids: [219 235] ) ] else_action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {(DQ ($ Id.VSub_DollarName '$command'))} right: { (word_part.ExtGlob op: (Token id:Id.ExtGlob_At val:'@(' span_id:394) arms: [{(help)} {('[h') (Id.Lit_Other '?') (']')}] ) } ) ) terminator: (Token id:Id.Op_Semi val:';' span_id:403) ) ] 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:409) words: [ { (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 411 ) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(DQ ($ Id.VSub_DollarName '$commands'))} {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [408] ) ] ) ] spids: [384 405] ) ] else_action: [(C {(_filedir)})] ) ] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:448) arg_word: {(0)} ) ] ) ) (C {(complete)} {(-F)} {(_svnadmin)} {(-o)} {(default)} {(svnadmin)}) ] )