(command.AndOr ops: [Id.Op_DAmp] children: [ (command.ShFunction name: _pack200 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: [ {(-S)} {(--segment-limit)} {(-P)} {(--pass-file)} {(-C)} {(--class-attribute)} {(-F)} {(--field-attribute)} {(-M)} {(--method-attribute)} {(-D)} {(--code-attribute)} {(SQ (Token id:Id.Lit_Chars val:'-?' span_id:70))} {(-h)} {(--help)} {(-V)} {(--version)} {(-J)} ] action: [ (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:85) arg_word: {(0)} ) ] spids: [41 82 90 -1] ) (case_arm pat_list: [{(-E)} {(--effort)}] 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:100) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:102) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ (Token id:Id.Lit_Chars val:'{0..9}' span_id:109))} {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [99] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:123) arg_word: {(0)} ) ] spids: [93 96 128 -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:138) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:140) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: 'true false keep' span_id: 147 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [137] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:161) arg_word: {(0)} ) ] spids: [131 134 166 -1] ) (case_arm pat_list: [{(-m)} {(--modification-time)}] 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:176) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:178) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: 'latest keep' span_id: 185 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [175] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:199) arg_word: {(0)} ) ] spids: [169 172 204 -1] ) (case_arm pat_list: [{(-U)} {(--unknown-attribute)}] 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:214) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:216) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: 'error strip pass' span_id: 223 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [213] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:237) arg_word: {(0)} ) ] spids: [207 210 242 -1] ) (case_arm pat_list: [{(-f)} {(--config-file)}] action: [ (C {(_filedir)} {(properties)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:256) arg_word: {(0)} ) ] spids: [245 248 261 -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:271) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:273) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ (Token id:Id.Lit_Chars val:- span_id:280))} {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [270] ) ] ) (C {(_filedir)} {(log)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:299) arg_word: {(0)} ) ] spids: [264 267 304 -1] ) (case_arm pat_list: [{(-r)} {(--repack)}] action: [ (C {(_filedir)} {(jar)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:318) arg_word: {(0)} ) ] spids: [307 310 323 -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:334) ) ] ) (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:362)) 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:368) 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:391) bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.VarRef token: (Token id:Id.Lit_ArithVarLike val:i span_id:393) ) ) ) } 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: [407] ) ] ) ] spids: [400 405 410 -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: [417] ) ] ) ] spids: [413 415 420 -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:436) ) ] 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:456) ) ] 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:462) words: [ { (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 464 ) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: '--no-gzip --gzip --strip-debug\n' span_id: 471 ) (Token id: Id.Lit_Chars val: ' --no-keep-file-order --segment-limit= --effort= --deflate-hint=\n' span_id: 472 ) (Token id: Id.Lit_Chars val: ' --modification-time= --pass-file= --unknown-attribute=\n' span_id: 473 ) (Token id: Id.Lit_Chars val: ' --class-attribute= --field-attribute= --method-attribute=\n' span_id: 474 ) (Token id: Id.Lit_Chars val: ' --code-attribute= --config-file= --verbose --quiet --log-file=\n' span_id: 475 ) (Token id:Id.Lit_Chars val:' --help --version -J --repack' span_id:476) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [461] ) ] ) (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: [441 458] ) ] else_action: [ (C {(_filedir)} {(SQ (Token id:Id.Lit_Chars val:'pack?(.gz)' span_id:516))}) ] ) ] spids: [430 438] ) (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:529) ) ] action: [(C {(_filedir)} {(jar)})] spids: [523 531] ) ] ) ] ) ) (C {(complete)} {(-F)} {(_pack200)} {(pack200)}) ] )