(command.CommandList children: [ (command.FuncDef name: _adb_command_usage body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[11]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ < '$( "$1" help 2>&1 | command grep "^ *\\(adb \\)\\? *$2 " \\\n' > <' | sed -e "s/[]|[]/\\n/g" | _parse_help - )'> ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [14 33] ) } ] ) } spids: [11] ) ] spids: [11] ) ] spids: [8] ) spids: [4 7] ) (command.AndOr ops: [Op_DAmp] children: [ (command.FuncDef name: _adb body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:cur spids:[49]) op: Equal spids: [49] ) (assign_pair lhs: (lhs_expr.LhsName name:prev spids:[51]) op: Equal spids: [51] ) (assign_pair lhs: (lhs_expr.LhsName name:words spids:[53]) op: Equal spids: [53] ) (assign_pair lhs: (lhs_expr.LhsName name:cword spids:[55]) op: Equal spids: [55] ) ] spids: [47] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(_init_completion)}) (command.ControlFlow token:<ControlFlow_Return return>) ] ) (command.Case to_match: {($ VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [{(-s)} {(-p)} {(--algo)} {(--key)} {(--iv)}] action: [(command.ControlFlow token:<ControlFlow_Return return>)] spids: [73 82 88 16777215] ) (case_arm pat_list: [{(-f)}] action: [(C {(_filedir)}) (command.ControlFlow token:<ControlFlow_Return return>)] spids: [91 92 101 16777215] ) ] spids: [66 70 104] ) (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:cmd spids:[110]) op: Equal spids: [110] ) (assign_pair lhs: (lhs_expr.LhsName name:i spids:[112]) op: Equal spids: [112] ) ] spids: [108] ) (command.ForExpr init: (arith_expr.BinaryAssign op_id: Arith_Equal left: (lhs_expr.LhsName name:i spids:[119]) right: (arith_expr.ArithWord w:{(Lit_Digits 1)}) ) cond: (arith_expr.ArithBinary op_id: Arith_Less left: (arith_expr.ArithVarRef token:<Lit_ArithVarLike i>) right: (arith_expr.ArithVarRef token:<Lit_ArithVarLike cword>) ) update: (arith_expr.UnaryAssign op_id: Node_PostDPlus child: (lhs_expr.LhsName name:i spids:[131]) ) body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.LogicalAnd left: (bool_expr.BoolBinary op_id: BoolBinary_GlobNEqual left: { (DQ (word_part.BracedVarSub token: <VSub_Name words> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithVarRef token: <Lit_ArithVarLike i> ) ) spids: [146 151] ) ) } right: {(-) (Lit_Other '*')} ) right: (bool_expr.BoolBinary op_id: BoolBinary_GlobNEqual left: { (DQ (word_part.BracedVarSub token: <VSub_Name words> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithBinary op_id: Arith_Minus left: (arith_expr.ArithVarRef token: <Lit_ArithVarLike i> ) right: (arith_expr.ArithWord w: {(Lit_Digits 1)} ) ) ) spids: [162 169] ) ) } right: {(-) (Lit_Other '[') (sp) (Lit_Other ']')} ) ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:cmd spids:[185]) op: Equal rhs: { (DQ (word_part.BracedVarSub token: <VSub_Name words> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithVarRef token: <Lit_ArithVarLike i> ) ) spids: [187 192] ) ) } spids: [185] ) ] spids: [185] ) (command.ControlFlow token: <ControlFlow_Break break> ) ] spids: [16777215 182] ) ] spids: [16777215 199] ) ] spids: [138 202] ) ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.LogicalNot child: (bool_expr.WordTest w:{(DQ ($ VSub_DollarName '$cmd'))}) ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:tmp spids:[225]) op: Equal rhs: {(word_part.ArrayLiteralPart)} spids: [225] ) ] spids: [223] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.LogicalOr left: (bool_expr.LogicalNot child: (bool_expr.WordTest w: {($ VSub_DollarName '$cur')} ) ) right: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_DollarName '$cur')} right: {(-) (Lit_Other '*')} ) ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:tmp spids:[253]) op: PlusEqual rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'$( _parse_help "$1" help )'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [256 272] ) } ] ) } spids: [253] ) ] spids: [253] ) ] spids: [16777215 250] ) ] spids: [16777215 277] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.LogicalOr left: (bool_expr.LogicalNot child: (bool_expr.WordTest w: {($ VSub_DollarName '$cur')} ) ) right: (bool_expr.BoolBinary op_id: BoolBinary_GlobNEqual left: {($ VSub_DollarName '$cur')} right: {(-) (Lit_Other '*')} ) ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:tmp spids:[303]) op: PlusEqual rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (command.SimpleCommand words: [{($ VSub_Number '$1')} {(help)}] redirects: [ (redir.Redir op: <Redir_GreatAnd '2>&'> fd: 2 arg_word: {(1)} ) ] ) (C {(awk)} {(SQ <'$1 == "adb" { print $2 }'>)} ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [306 323] ) } ] ) } spids: [303] ) ] spids: [303] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:tmp spids:[328]) op: PlusEqual rhs: { (word_part.ArrayLiteralPart words: [{(devices)} {(connect)} {(disconnect)} {(sideload)}] ) } spids: [328] ) ] spids: [328] ) ] spids: [16777215 300] ) ] spids: [16777215 342] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[345]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'${tmp[@]}'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [348 364] ) } ] ) } spids: [345] ) ] spids: [345] ) (command.ControlFlow token: <ControlFlow_Return return> ) ] spids: [16777215 220] ) ] spids: [16777215 372] ) (C {(_adb_command_usage)} {(DQ ($ VSub_Number '$1'))} {($ VSub_DollarName '$cmd')}) (command.Case to_match: {($ VSub_DollarName '$cmd')} arms: [ (case_arm pat_list: [{(push)} {(restore)} {(sideload)}] action: [(C {(_filedir)})] spids: [398 403 409 16777215] ) (case_arm pat_list: [{(forward)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[416]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ < '$( "$1" help 2>&1 | sed -ne "s/^ *adb *forward *-/-/p" | \\\n' > <' _parse_help - )'> ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [419 438] ) } ] ) } spids: [416] ) ] spids: [416] ) ] spids: [412 413 443 16777215] ) (case_arm pat_list: [{(reboot)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[450]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'bootloader recovery'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [453 469] ) } ] ) } spids: [450] ) ] spids: [450] ) ] spids: [446 447 474 16777215] ) ] spids: [391 395 477] ) ] spids: [44] ) spids: [40 43] ) (C {(complete)} {(-F)} {(_adb)} {(adb)}) ] ) ] )