(command.AndOr ops: [Op_DAmp] children: [ (command.FuncDef name: _reptyr body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:cur spids:[20]) op: Equal spids: [20] ) (assign_pair lhs: (lhs_expr.LhsName name:prev spids:[22]) op: Equal spids: [22] ) (assign_pair lhs: (lhs_expr.LhsName name:words spids:[24]) op: Equal spids: [24] ) (assign_pair lhs: (lhs_expr.LhsName name:cword spids:[26]) op: Equal spids: [26] ) ] spids: [18] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(_init_completion)}) (command.ControlFlow token:<ControlFlow_Return return>) ] ) (command.Case to_match: {($ VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [{(-l)}] action: [(command.ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})] spids: [44 45 53 16777215] ) ] spids: [37 41 56] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {($ 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:[77]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'$( _parse_help "$1" )'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [80 96] ) } ] ) } spids: [77] ) ] spids: [77] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [16777215 74] ) ] spids: [16777215 106] ) (command.AndOr ops: [Op_DAmp] children: [ (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobNEqual left: {($ VSub_DollarName '$prev')} right: { (word_part.ExtGlobPart op: <ExtGlob_Plus '+('> arms: [{('[0-9]')}] spids: [116 118] ) } ) ) (C {(_pids)}) ] ) ] spids: [15] ) spids: [11 14] ) (C {(complete)} {(-F)} {(_reptyr)} {(reptyr)}) ] )