(command.AndOr ops: [Op_DAmp] children: [ (command.FuncDef name: _cvsps 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)} {(-n)} {(Lit_Other ':')}) (command.ControlFlow token:<ControlFlow_Return return>) ] ) (command.Case to_match: {($ VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [{(-h)} {(-z)} {(-f)} {(-d)} {(-l)} {(--diff-opts)} {(--debuglvl)}] action: [(command.ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})] spids: [41 54 62 16777215] ) (case_arm pat_list: [{(-s)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[69]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (command.SimpleCommand words: [{($ VSub_Number '$1')}] redirects: [ (redir.Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) (C {(awk)} { (SQ < '/^PatchSet:?[ \\t]/ { print $2 }' > ) } ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [79 95] ) ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [72 104] ) } ] ) } spids: [69] ) ] spids: [69] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [65 66 114 16777215] ) (case_arm pat_list: [{(-a)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[121]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (command.SimpleCommand words: [{($ VSub_Number '$1')}] redirects: [ (redir.Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) (C {(awk)} { (SQ < '/^Author:[ \\t]/ { print $2 }' > ) } ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [131 147] ) ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [124 156] ) } ] ) } spids: [121] ) ] spids: [121] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [117 118 166 16777215] ) (case_arm pat_list: [{(-b)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[173]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (command.SimpleCommand words: [{($ VSub_Number '$1')}] redirects: [ (redir.Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) (C {(awk)} { (SQ < '/^Branch:[ \\t]/ { print $2 }' > ) } ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [183 199] ) ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [176 208] ) } ] ) } spids: [173] ) ] spids: [173] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [169 170 218 16777215] ) (case_arm pat_list: [{(-r)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[225]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (command.SimpleCommand words: [{($ VSub_Number '$1')}] redirects: [ (redir.Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) (C {(awk)} { (SQ < '/^Tag:[ \\t]+[^(]/ { print $2 }' > ) } ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [235 251] ) ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [228 260] ) } ] ) } spids: [225] ) ] spids: [225] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [221 222 270 16777215] ) (case_arm pat_list: [{(-p)}] action: [ (C {(_filedir)} {(-d)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [273 274 287 16777215] ) (case_arm pat_list: [{(--test-log)}] action: [ (C {(_filedir)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [290 291 302 16777215] ) (case_arm pat_list: [{(-Z)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[309]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'{1..9}'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [312 328] ) } ] ) } spids: [309] ) ] spids: [309] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [305 306 338 16777215] ) (case_arm pat_list: [{(--root)}] action: [ (C {(_xfunc)} {(cvs)} {(_cvs_roots)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [341 342 357 16777215] ) ] spids: [34 38 360] ) (command.If arms: [ (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:[384]) 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: [387 403] ) } ] ) } spids: [384] ) ] spids: [384] ) ] spids: [16777215 381] ) ] else_action: [(C {(_xfunc)} {(cvs)} {(_cvs_roots)})] spids: [408 418] ) ] spids: [8] ) spids: [4 7] ) (C {(complete)} {(-F)} {(_cvsps)} {(cvsps)}) ] )