(command.AndOr ops: [Id.Op_DAmp] children: [ (command.ShFunction name: _unpack200 body: (command.BraceGroup children: [ (C {(local)} {(cur)} {(prev)} {(words)} {(cword)} {(split)}) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {(_init_completion)} {(-s)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:30) ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [ {(SQ (Token id:Id.Lit_Chars val:'-?' span_id:42))} {(-h)} {(--help)} {(-V)} {(--version)} {(-J)} ] action: [ (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:57) arg_word: {(0)} ) ] spids: [41 54 62 -1] ) (case_arm pat_list: [{(-H)} {(--deflate-hint)}] 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:72) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:74) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: 'true false keep' span_id: 81 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [71] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:95) arg_word: {(0)} ) ] spids: [65 68 100 -1] ) (case_arm pat_list: [{(-l)} {(--log-file)}] 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:110) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:112) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ (Token id:Id.Lit_Chars val:- span_id:119))} {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [109] ) ] ) (C {(_filedir)} {(log)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:138) arg_word: {(0)} ) ] spids: [103 106 143 -1] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {($ Id.VSub_DollarName '$split')}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:154) ) ] ) (C {(local)} {(i)} {(Id.Lit_VarLike 'pack=') (false)} {(Id.Lit_VarLike 'jar=') (false)}) (command.ForExpr init: (arith_expr.BinaryAssign op_id: Id.Arith_Equal left: (sh_lhs_expr.Name name:i) right: (arith_expr.ArithWord w:{(Id.Lit_Digits 0)}) ) cond: (arith_expr.Binary op_id: Id.Arith_Less left: (arith_expr.VarRef token:(Token id:Id.Lit_ArithVarLike val:i span_id:182)) right: (arith_expr.Binary op_id: Id.Arith_Minus left: (arith_expr.ArithWord w: { (braced_var_sub token: (Token id:Id.VSub_Name val:words span_id:188) prefix_op: (Id.VSub_Pound) bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) ) } ) right: (arith_expr.ArithWord w:{(Id.Lit_Digits 1)}) ) ) update: (arith_expr.UnaryAssign op_id:Id.Node_PostDPlus child:(sh_lhs_expr.Name name:i)) body: (command.DoGroup children: [ (command.Case to_match: { (braced_var_sub token: (Token id:Id.VSub_Name val:words span_id:211) bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.VarRef token: (Token id:Id.Lit_ArithVarLike val:i span_id:213) ) ) ) } arms: [ (case_arm pat_list: [{(Id.Lit_Star '*') (.pack)} {(Id.Lit_Star '*') (.pack.gz)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pack) op: assign_op.Equal rhs: {(true)} spids: [227] ) ] ) ] spids: [220 225 230 -1] ) (case_arm pat_list: [{(Id.Lit_Star '*') (.jar)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:jar) op: assign_op.Equal rhs: {(true)} spids: [237] ) ] ) ] spids: [233 235 240 -1] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [(C {($ Id.VSub_DollarName '$pack')})] negated: T ) terminator: (Token id:Id.Op_Semi val:';' span_id:256) ) ] 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:276) ) ] 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:282) words: [ { (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 284 ) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: '--deflate-hint= --remove-pack-file\n' span_id: 291 ) (Token id: Id.Lit_Chars val: ' --verbose --quiet --log-file= --help --version' span_id: 292 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [281] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {($ Id.VSub_DollarName '$COMPREPLY')} right: {(Id.Lit_Other '*') (Id.BoolBinary_GlobEqual '=')} ) ) (C {(compopt)} {(-o)} {(nospace)}) ] ) ] spids: [261 278] ) ] else_action: [ (C {(_filedir)} {(SQ (Token id:Id.Lit_Chars val:'pack?(.gz)' span_id:332))}) ] ) ] spids: [250 258] ) (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [(C {($ Id.VSub_DollarName '$jar')})] negated: T ) terminator: (Token id:Id.Op_Semi val:';' span_id:345) ) ] action: [(C {(_filedir)} {(jar)})] spids: [339 347] ) ] ) ] ) ) (C {(complete)} {(-F)} {(_unpack200)} {(unpack200)}) ] )