(command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_DollarName '$OSTYPE')} right: {(Lit_Other '*') (linux) (Lit_Other '*')} ) ) (command.ControlFlow token:<ControlFlow_Return return> arg_word:{(1)}) ] ) (command.AndOr ops: [Op_DAmp] children: [ (command.FuncDef name: _watch body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:cur spids:[32]) op: Equal spids: [32] ) (assign_pair lhs: (lhs_expr.LhsName name:prev spids:[34]) op: Equal spids: [34] ) (assign_pair lhs: (lhs_expr.LhsName name:words spids:[36]) op: Equal spids: [36] ) (assign_pair lhs: (lhs_expr.LhsName name:cword spids:[38]) op: Equal spids: [38] ) (assign_pair lhs: (lhs_expr.LhsName name:split spids:[40]) op: Equal spids: [40] ) ] spids: [30] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(_init_completion)} {(-s)}) (command.ControlFlow token:<ControlFlow_Return return>) ] ) (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:offset spids:[55]) op: Equal rhs: {(0)} spids: [55] ) (assign_pair lhs: (lhs_expr.LhsName name:i spids:[58]) op: Equal spids: [58] ) ] spids: [53] ) (command.ForExpr init: (arith_expr.BinaryAssign op_id: Arith_Equal left: (lhs_expr.LhsName name:i spids:[65]) right: (arith_expr.ArithWord w:{(Lit_Digits 1)}) ) cond: (arith_expr.ArithBinary op_id: Arith_LessEqual 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:[77]) ) body: (command.DoGroup children: [ (command.Case to_match: { (word_part.BracedVarSub token: <VSub_Name words> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithVarRef token:<Lit_ArithVarLike i>) ) spids: [89 94] ) } arms: [ (case_arm pat_list: [{(-h)} {(--help)} {(--version)}] action: [(command.ControlFlow token:<ControlFlow_Return return>)] spids: [99 104 110 16777215] ) (case_arm pat_list: [{(-n)} {(--interval)}] action: [ (command.DParen child: (arith_expr.UnaryAssign op_id: Node_PostDPlus child: (lhs_expr.LhsName name:i spids:[121]) ) spids: [119 125] ) (command.ControlFlow token: <ControlFlow_Continue continue> ) ] spids: [113 116 131 16777215] ) (case_arm pat_list: [{(-) (Lit_Other '*')}] action: [(command.ControlFlow token:<ControlFlow_Continue continue>)] spids: [134 136 142 16777215] ) ] spids: [87 96 145] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:offset spids:[148]) op: Equal rhs: {($ VSub_DollarName '$i')} spids: [148] ) ] spids: [148] ) (command.ControlFlow token:<ControlFlow_Break break>) ] spids: [84 155] ) ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_gt left: {($ VSub_DollarName '$offset')} right: {(0)} ) ) terminator: <Op_Semi ';'> ) ] action: [ (C {(_command_offset)} {($ VSub_DollarName '$offset')}) (command.ControlFlow token: <ControlFlow_Return return> ) ] spids: [16777215 172] ) ] spids: [16777215 183] ) (command.Case to_match: {($ VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [{(-d)} {(--differences)}] action: [ (command.AndOr ops: [Op_DAmp] children: [ (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobNEqual left: {($ VSub_DollarName '$cur')} right: {(-) (Lit_Other '*')} ) ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[215]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <cumulative>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [218 234] ) } ] ) } spids: [215] ) ] spids: [215] ) ] ) (command.ControlFlow token: <ControlFlow_Return return> ) ] spids: [194 197 242 16777215] ) (case_arm pat_list: [{(-n)} {(--interval)}] action: [(command.ControlFlow token:<ControlFlow_Return return>)] spids: [245 248 254 16777215] ) ] spids: [187 191 257] ) (command.AndOr ops: [Op_DAmp] children: [ (C {($ VSub_DollarName '$split')}) (command.ControlFlow token:<ControlFlow_Return return>) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (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:COMPREPLY spids:[286]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'$( _parse_help "$1" )'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [289 305] ) } ] ) } spids: [286] ) ] spids: [286] ) (command.AndOr ops: [Op_DAmp] children: [ (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_DollarName '$COMPREPLY')} right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')} ) ) (C {(compopt)} {(-o)} {(nospace)}) ] ) (command.ControlFlow token: <ControlFlow_Return return> ) ] spids: [16777215 283] ) ] spids: [16777215 333] ) ] spids: [27] ) spids: [23 26] ) (C {(complete)} {(-F)} {(_watch)} {(watch)}) ] ) ] )