(CommandList children: [ (AndOr children: [ (FuncDef name: _gpg2 body: (BraceGroup children: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs:(LhsName name:cur) op:Equal spids:[13]) (assign_pair lhs:(LhsName name:prev) op:Equal spids:[15]) (assign_pair lhs:(LhsName name:words) op:Equal spids:[17]) (assign_pair lhs:(LhsName name:cword) op:Equal spids:[19]) ] spids: [11] ) (AndOr children: [(C {(_init_completion)}) (ControlFlow token:<ControlFlow_Return return>)] op_id: Op_DPipe ) (Case to_match: {($ VSub_Name "$prev")} arms: [ (case_arm pat_list: [{(--homedir)}] action: [ (C {(_filedir)} {(-d)}) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [37 38 51 -1] ) (case_arm pat_list: [{(-s)} {(--sign)} {(--clearsign)} {(--options)} {(--decrypt)}] action: [ (C {(_filedir)}) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [54 63 74 -1] ) (case_arm pat_list: [ {(--export)} {(--sign-key)} {(--lsign-key)} {(--nrsign-key)} {(--nrlsign-key)} {(--edit-key)} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (CommandSubPart command_list: (CommandList children: [ (C {(compgen)} {(-W)} { (DQ (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [ {($ VSub_Number "$1")} {(--list-keys)} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [111] ) ] ) (C {(sed)} {(-ne)} { (SQ < "s@^pub.*/\\([^ ]*\\).*$@\\1@p" > ) } {(-ne)} {(SQ <"s@^.*\\(<\\([^>]*\\)>\\).*$@\\2@p">)} ) ] negated: False ) ] ) left_token: <Left_CommandSub "$("> spids: [105 134] ) ) } {(--)} {(DQ ($ VSub_Name "$cur"))} ) ] ) left_token: <Left_CommandSub "$("> spids: [98 143] ) } ] ) } spids: [95] ) ] spids: [95] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [77 88 153 -1] ) (case_arm pat_list: [{(-r)} {(--recipient)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (CommandSubPart command_list: (CommandList children: [ (C {(compgen)} {(-W)} { (DQ (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [ {($ VSub_Number "$1")} {(--list-keys)} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [178] ) ] ) (C {(sed)} {(-ne)} { (SQ < "s@^.*<\\([^>]*\\)>.*$@\\1@p" > ) } ) ] negated: False ) ] ) left_token: <Left_CommandSub "$("> spids: [172 192] ) ) } {(--)} {(DQ ($ VSub_Name "$cur"))} ) ] ) left_token: <Left_CommandSub "$("> spids: [165 201] ) } ] ) } spids: [162] ) ] spids: [162] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolUnary op_id: BoolUnary_e child: {(Lit_Tilde "~") (/.gnupg/gpg.conf)} ) ) terminator: <Op_Semi ";"> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: PlusEqual rhs: { (ArrayLiteralPart words: [ { (CommandSubPart command_list: (CommandList children: [ (C {(compgen)} {(-W)} { (DQ (CommandSubPart command_list: (CommandList children: [ (C {(sed)} {(-ne)} { (SQ < "s@^[ \\t]*group[ \\t][ \\t]*\\([^=]*\\).*$@\\1@p" > ) } {(TildeSubPart prefix:"") (/.gnupg/gpg.conf)} ) ] ) left_token: <Left_CommandSub "$("> spids: [231 247] ) ) } {(--)} {(DQ ($ VSub_Name "$cur"))} ) ] ) left_token: <Left_CommandSub "$("> spids: [224 256] ) } ] ) } spids: [221] ) ] spids: [221] ) ] spids: [-1 218] ) ] spids: [-1 261] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [156 159 269 -1] ) ] spids: [30 34 272] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_Name "$cur"))} right: {(-) (Lit_Other "*")} ) ) terminator: <Op_Semi ";"> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (CommandSubPart command_list: (CommandList children: [ (C {(compgen)} {(-W)} {(SQ <"$($1 --dump-options)">)} {(--)} {(DQ ($ VSub_Name "$cur"))} ) ] ) left_token: <Left_CommandSub "$("> spids: [298 314] ) } ] ) } spids: [295] ) ] spids: [295] ) ] spids: [-1 292] ) ] spids: [-1 319] ) ] spids: [8] ) spids: [4 7] ) (C {(complete)} {(-F)} {(_gpg2)} {(-o)} {(default)} {(gpg2)}) ] op_id: Op_DAmp ) ] )