(command.CommandList children: [ (command.ShFunction name: _rpcdebug_flags body: (command.BraceGroup children: [ (C {(local)} {(i)} {(module)}) (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:29)) right: (arith_expr.ArithWord w: { (braced_var_sub token: (Token id:Id.VSub_Name val:words span_id:35) prefix_op: (Id.VSub_Pound) bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) ) } ) ) 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.Binary op_id: Id.BoolBinary_GlobDEqual left: { (braced_var_sub token: (Token id:Id.VSub_Name val:words span_id:57) bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.VarRef token: (Token id: Id.Lit_ArithVarLike val: i span_id: 59 ) ) ) ) } right: {(-m)} ) ) terminator: (Token id:Id.Op_Semi val:';' span_id:68) ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:module) op: assign_op.Equal rhs: { (braced_var_sub token: (Token id:Id.VSub_Name val:words span_id:75) bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.Binary op_id: Id.Arith_Plus left: (arith_expr.VarRef token: (Token id: Id.Lit_ArithVarLike val: i span_id: 77 ) ) right: (arith_expr.ArithWord w:{(Id.Lit_Digits 1)}) ) ) ) } spids: [73] ) ] ) ] spids: [52 70] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Unary op_id: Id.BoolUnary_n child: {($ Id.VSub_DollarName '$module')} ) ) terminator: (Token id:Id.Op_Semi val:';' span_id:100) ) ] 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:106) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:108) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (DQ (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 115 ) command_list: (command.CommandList children: [ (command.Pipeline children: [ (command.Simple words: [{(rpcdebug)} {(-vh)}] redirects: [ (redir.Redir op: (Token id: Id.Redir_GreatAnd val: '2>&' span_id: 121 ) fd: 2 arg_word: {(1)} ) ] ) (C {(sed)} {(-ne)} { (SQ (Token id: Id.Lit_Chars val: 's/^' span_id: 133 ) ) ($ Id.VSub_DollarName '$module') (SQ (Token id:Id.Lit_Chars val:'[[:space:]]\\{1,\\}//p' span_id:137)) } ) ] negated: F ) ] ) ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [105] ) ] ) ] spids: [91 102] ) ] ) ] ) ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.ShFunction name: _rpcdebug 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:181) ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [{(-s)}] action: [ (C {(_rpcdebug_flags)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:199) arg_word: {(0)} ) ] spids: [192 193 204 -1] ) (case_arm pat_list: [{(-c)}] action: [ (C {(_rpcdebug_flags)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:214) arg_word: {(0)} ) ] spids: [207 208 219 -1] ) (case_arm pat_list: [{(-m)}] 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:227) words: [ { (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 229 ) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: 'rpc nfs nfsd nlm' span_id: 236 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [226] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:250) arg_word: {(0)} ) ] spids: [222 223 255 -1] ) ] ) (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:276) ) ] 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:282) words: [ { (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 284 ) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: '$( _parse_usage "$1" -h ) -s -c' span_id: 291 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [281] ) ] ) ] spids: [262 278] ) ] ) ] ) ) (C {(complete)} {(-F)} {(_rpcdebug)} {(rpcdebug)}) ] ) ] )