(command.AndOr ops: [Id.Op_DAmp] children: [ (command.ShFunction name: _jarsigner 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:26) ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [{(-keystore)}] 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:42) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:44) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ (Token id:Id.Lit_Chars val:NONE span_id:51))} {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [41] ) ] ) (C {(_filedir)} {(SQ (Token id:Id.Lit_Chars val:'@(jks|ks|p12|pfx)' span_id:68))}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:72) arg_word: {(0)} ) ] spids: [37 38 77 -1] ) (case_arm pat_list: [ {(-storepass)} {(-keypass)} {(-sigfile)} {(-digestalg)} {(-sigalg)} {(-tsacert)} {(-altsigner)} {(-altsignerpath)} {(-providerName)} {(-providerClass)} {(-providerArg)} ] action: [ (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:106) arg_word: {(0)} ) ] spids: [80 103 111 -1] ) (case_arm pat_list: [{(-storetype)}] 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:119) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:121) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: 'JKS PKCS11 PKCS12' span_id: 128 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [118] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:142) arg_word: {(0)} ) ] spids: [114 115 147 -1] ) (case_arm pat_list: [{(-signedjar)}] action: [ (C {(_filedir)} {(jar)}) (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: [{(-tsa)}] action: [ (C {(_filedir)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:174) arg_word: {(0)} ) ] spids: [167 168 179 -1] ) ] ) (C {(local)} {(i)} {(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:207)) 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:213) 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.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.LogicalAnd left: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: { (DQ (braced_var_sub token: (Token id: Id.VSub_Name val: words span_id: 239 ) bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.VarRef token: (Token id: Id.Lit_ArithVarLike val: i span_id: 241 ) ) ) ) ) } right: {(Id.Lit_Other '*') (.jar)} ) right: (bool_expr.Binary op_id: Id.BoolBinary_GlobNEqual left: { (DQ (braced_var_sub token: (Token id: Id.VSub_Name val: words span_id: 257 ) bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.Binary op_id: Id.Arith_Minus left: (arith_expr.VarRef token: (Token id: Id.Lit_ArithVarLike val: i span_id: 259 ) ) right: (arith_expr.ArithWord w: {(Id.Lit_Digits 1)} ) ) ) ) ) } right: {(-signedjar)} ) ) ) terminator: (Token id:Id.Op_Semi val:';' span_id:272) ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:jar) op: assign_op.Equal rhs: {(true)} spids: [277] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Break val:break span_id:281) ) ] spids: [233 274] ) ] ) ] ) ) (command.If arms: [ (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:297) ) ] 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:317) ) ] 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:327) words: [ { (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 329 ) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: '-keystore -storepass -storetype\n' span_id: 336 ) (Token id: Id.Lit_Chars val: ' -keypass -sigfile -signedjar -digestalg -sigalg -verify\n' span_id: 337 ) (Token id: Id.Lit_Chars val: ' -verbose -certs -tsa -tsacert -altsigner -altsignerpath\n' span_id: 338 ) (Token id: Id.Lit_Chars val: ' -protected -providerName -providerClass -providerArg' span_id: 339 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [326] ) ] ) ] spids: [302 319] ) ] ) (C {(_filedir)} {(jar)}) ] spids: [291 299] ) ] ) ] ) ) (C {(complete)} {(-F)} {(_jarsigner)} {(jarsigner)}) ] )