(CommandList children: [ (AndOr ops: [Op_DAmp] children: [ (FuncDef name: _slapt_get 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 ops: [Op_DPipe] children: [(C {(_init_completion)}) (ControlFlow token:<ControlFlow_Return return>)] ) (Case to_match: {(DQ ($ VSub_Name '$prev'))} arms: [ (case_arm pat_list: [{(--config)} {(-c)}] action: [(C {(_filedir)}) (ControlFlow token:<ControlFlow_Return return>)] spids: [39 42 51 16777215] ) (case_arm pat_list: [{(--retry)} {(--search)}] action: [(ControlFlow token:<ControlFlow_Return return>)] spids: [54 57 67 16777215] ) ] spids: [30 36 70] ) (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 <'$( _parse_help "$1" --help )'>)} {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [96 112] ) } ] ) } spids: [93] ) ] spids: [93] ) (AndOr ops: [Op_DAmp] children: [ (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Name '$COMPREPLY')} right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')} ) ) (C {(compopt)} {(-o)} {(nospace)}) ] ) (AndOr ops: [Op_DAmp] children: [ (DBracket expr: (WordTest w:{($ VSub_Name '$COMPREPLY')}) ) (ControlFlow token: <ControlFlow_Return return> ) ] ) ] spids: [16777215 90] ) ] spids: [16777215 148] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs:(LhsName name:i) op:Equal spids:[154]) (assign_pair lhs:(LhsName name:t) op:Equal spids:[156]) ] spids: [152] ) (ForExpr init: (BinaryAssign op_id: Arith_Equal left: (LhsName name:i) right: (ArithBinary op_id: Arith_Minus left: (ArithWord w: { (BracedVarSub token: <VSub_Name words> prefix_op: VSub_Pound bracket_op: (WholeArray op_id:Lit_At) spids: [169 175] ) } ) right: (ArithWord w:{(Lit_Digits 1)}) ) ) cond: (ArithBinary op_id: Arith_Great left: (ArithVarRef name:i) right: (ArithWord w:{(Lit_Digits 0)}) ) update: (UnaryAssign op_id:Node_PostDMinus child:(LhsName name:i)) body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: { (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr:(ArithVarRef name:i)) spids: [199 204] ) } right: {(--show)} ) ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t) op: Equal rhs: {(DQ (all))} spids: [216] ) ] spids: [216] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [16777215 213] ) (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: { (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr:(ArithVarRef name:i)) spids: [229 234] ) } right: {(-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[239 243])} ) ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t) op: Equal rhs: {(DQ (avl))} spids: [251] ) ] spids: [251] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [225 248] ) (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: { (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr:(ArithVarRef name:i)) spids: [264 269] ) } right: {(--install-set)} ) ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t) op: Equal rhs: {(DQ (set))} spids: [281] ) ] spids: [281] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [260 278] ) (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: { (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr:(ArithVarRef name:i)) spids: [294 299] ) } right: {(--) (ExtGlobPart op:<ExtGlob_At '@('> spids:[304 308])} ) ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:t) op: Equal rhs: {(DQ (ins))} spids: [316] ) ] spids: [316] ) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [290 313] ) ] spids: [16777215 325] ) ] spids: [192 328] ) ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:config) op: Equal rhs: {(DQ (/etc/slapt-get/slapt-getrc))} spids: [334] ) ] spids: [332] ) (ForExpr init: (BinaryAssign op_id: Arith_Equal left: (LhsName name:i) right: (ArithBinary op_id: Arith_Minus left: (ArithWord w: { (BracedVarSub token: <VSub_Name words> prefix_op: VSub_Pound bracket_op: (WholeArray op_id:Lit_At) spids: [353 359] ) } ) right: (ArithWord w:{(Lit_Digits 1)}) ) ) cond: (ArithBinary op_id: Arith_Great left: (ArithVarRef name:i) right: (ArithWord w:{(Lit_Digits 0)}) ) update: (UnaryAssign op_id:Node_PostDMinus child:(LhsName name:i)) body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: { (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr:(ArithVarRef name:i)) spids: [383 388] ) } right: {(-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[393 397])} ) ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:config) op: Equal rhs: { (DQ (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr: (ArithBinary op_id: Arith_Plus left: (ArithVarRef name:i) right: (ArithWord w:{(Lit_Digits 1)}) ) ) spids: [407 414] ) ) } spids: [405] ) ] spids: [405] ) (C {(__expand_tilde_by_ref)} {(config)}) (ControlFlow token: <ControlFlow_Break break> ) ] spids: [16777215 402] ) ] spids: [16777215 426] ) ] spids: [376 429] ) ) (AndOr ops: [Op_DPipe] children: [ (DBracket expr: (BoolUnary op_id:BoolUnary_r child:{(DQ ($ VSub_Name '$config'))}) ) (ControlFlow token:<ControlFlow_Return return>) ] ) (Case to_match: {($ VSub_Name '$t')} arms: [ (case_arm pat_list: [{(all)}] action: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:name) op: Equal rhs: { (BracedVarSub token: <VSub_Name cur> suffix_op: (StringUnary op_id:VOp1_DPercent arg_word:{('-*')}) spids: [473 477] ) } spids: [472] ) ] spids: [470] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [ {(DQ ($ VSub_Number '$1'))} {(-c)} {(DQ ($ VSub_Name '$config'))} {(--search)} {(DQ ('^') ($ VSub_Name '$name'))} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [505] ) ] more_env: [ (env_pair name: LC_ALL val: {(C)} spids: [485] ) ] ) (SimpleCommand words: [ {(sed)} {(-ne)} { (DQ ('/^') ($ VSub_Name '$cur') ('/{s/ .*') (Lit_Other '$') ('//;p}') ) } ] more_env: [ (env_pair name: LC_ALL val: {(C)} spids: [513] ) ] ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [483 528] ) } ] ) } spids: [480] ) ] spids: [480] ) (ControlFlow token:<ControlFlow_Return return>) ] spids: [455 456 536 16777215] ) (case_arm pat_list: [{(avl)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [ {(DQ ($ VSub_Number '$1'))} {(-c)} {(DQ ($ VSub_Name '$config'))} {(--available)} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [566] ) ] more_env: [ (env_pair name: LC_ALL val: {(C)} spids: [551] ) ] ) (SimpleCommand words: [ {(sed)} {(-ne)} { (DQ ('/^') ($ VSub_Name '$cur') ('/{s/ .*') (Lit_Other '$') ('//;p}') ) } ] more_env: [ (env_pair name: LC_ALL val: {(C)} spids: [574] ) ] ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [549 589] ) } ] ) } spids: [546] ) ] spids: [546] ) (ControlFlow token:<ControlFlow_Return return>) ] spids: [539 540 597 16777215] ) (case_arm pat_list: [{(ins)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (CommandSubPart command_list: (CommandList children: [ (Sentence child: (C {(cd)} {(/var/log/packages)}) terminator: <Op_Semi ';'> ) (C {(compgen)} {(-f)} {(--)} {(DQ ($ VSub_Name '$cur'))}) ] ) left_token: <Left_CommandSub '$('> spids: [610 627] ) } ] ) } spids: [607] ) ] spids: [607] ) (ControlFlow token:<ControlFlow_Return return>) ] spids: [600 601 635 16777215] ) (case_arm pat_list: [{(set)}] 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 <'a ap d e f k kde kdei l n t tcl x\n'> <' xap xfce y'> ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [648 665] ) } ] ) } spids: [645] ) ] spids: [645] ) (ControlFlow token:<ControlFlow_Return return>) ] spids: [638 639 673 16777215] ) ] spids: [448 452 676] ) ] spids: [8] ) spids: [4 7] ) (C {(complete)} {(-F)} {(_slapt_get)} {(slapt-get)}) ] ) ] )