(command.CommandList children: [ (command.CommandList children: [ (command.Sentence child: (C {<typeset>} {<-a>} {<_Dbg_matches>}) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:_Dbg_matches) op: assign_op.Equal rhs: {(sh_array_literal left:<Id.Op_LParen _>)} spids: [65] ) ] ) ] ) (command.ShFunction name: _Dbg_subcmd_complete body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:subcmd) op: assign_op.Equal rhs: {($ Id.VSub_Number '$1')} spids: [89] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:text) op: assign_op.Equal rhs: {($ Id.VSub_Number '$2')} spids: [93] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:_Dbg_matches) op: assign_op.Equal rhs: {(sh_array_literal left:<Id.Op_LParen _>)} spids: [97] ) ] ) (C {<typeset>} {<Id.Lit_VarLike 'list='> (SQ )}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {($ Id.VSub_DollarName '$subcmd')} right: {(SQ <set>)} ) ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:list_str) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name _Dbg_command_help_set> prefix_op: (Id.VSub_Bang) bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) ) } spids: [132] ) ] ) ] spids: [109 125] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {($ Id.VSub_DollarName '$subcmd')} right: {(SQ <show>)} ) ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:list_str) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name _Dbg_command_help_show> prefix_op: (Id.VSub_Bang) bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) ) } spids: [165] ) ] ) ] spids: [142 158] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cmd) op: assign_op.Equal rhs: { (DQ <'list='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <_Dbg_> (${ Id.VSub_Name subcmd) <_cmds> ) } spids: [182] ) ] ) (C {<eval>} {($ Id.VSub_DollarName '$cmd')}) ] ) (C {<typeset>} {<-a>} {<list>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:list) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [{($ Id.VSub_DollarName '$list_str')}] ) } spids: [210] ) ] ) (C {<sort_list>} {<0>} { (braced_var_sub token: <Id.VSub_Name list> prefix_op: (Id.VSub_Pound) bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) ) <-1> } ) (C {<typeset>} {<Id.Lit_VarLike 'sorted_list='> (braced_var_sub token: <Id.VSub_Name list> bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) ) } ) (C {<local>} {<-i>} {<Id.Lit_VarLike 'last='> <0>}) (command.ForEach iter_name: word iter_words: [{($ Id.VSub_DollarName '$sorted_list')}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobNEqual left: { (braced_var_sub token: <Id.VSub_Name word> suffix_op: (suffix_op.Unary tok: <Id.VOp1_Pound '#'> arg_word: {($ Id.VSub_DollarName '$text')} ) ) } right: {($ Id.VSub_DollarName '$word')} ) ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.IndexedName name: _Dbg_matches index: {($ Id.VSub_DollarName '$last')} ) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$subcmd') <' '> ($ Id.VSub_DollarName '$word') ) } spids: [291] ) ] ) (command.DParen child: (arith_expr.UnaryAssign op_id: Id.Node_PostDPlus child: <Id.Lit_ArithVarLike last> ) ) ] spids: [270 288] ) ] ) ] ) ) ] ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple words: [ {<enable>} {<-f>} {(${ Id.VSub_Name _Dbg_libdir) <'/builtin/readc'>} {<readc>} ] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<shopt>} {<-s>} {<progcomp>}) (C {<set>} {<-o>} {<emacs>}) (C {<bind>} {(SQ <'set show-all-if-ambiguous on'>)}) (C {<bind>} {(SQ <'TAB:menu-complete'>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:_Dbg_set_read_completion) op: assign_op.Equal rhs: {<1>} spids: [387] ) ] ) ] spids: [322 340] ) ] ) (command.ShFunction name: _Dbg_complete_brkpt_range body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: {(sh_array_literal left:<Id.Op_LParen _>)} spids: [400] ) ] ) (C {<typeset>} {<-i>} {<i>}) (C {<typeset>} {<-i>} {<Id.Lit_VarLike 'j='> <0>}) (command.ForExpr init: (arith_expr.BinaryAssign op_id: Id.Arith_Equal left: <Id.Lit_ArithVarLike i> right: {<Id.Lit_Digits 1>} ) cond: (arith_expr.Binary op_id: Id.Arith_LessEqual left: <Id.Lit_ArithVarLike i> right: <Id.Lit_ArithVarLike _Dbg_brkpt_max> ) update: (arith_expr.UnaryAssign op_id:Id.Node_PostDPlus child:<Id.Lit_ArithVarLike i>) body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Unary op_id: Id.BoolUnary_n child: { (braced_var_sub token: <Id.VSub_Name _Dbg_brkpt_line> bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName '$i')} ) ) } ) ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.DParen child: (arith_expr.BinaryAssign op_id: Id.Arith_PlusEqual left: (arith_expr.Binary op_id: Id.Arith_LBracket left: <Id.Lit_ArithVarLike COMPREPLY> right: <Id.Lit_ArithVarLike j> ) right: <Id.Lit_ArithVarLike i> ) ) (command.DParen child: (arith_expr.UnaryAssign op_id: Id.Node_PostDPlus child: <Id.Lit_ArithVarLike j> ) ) ] spids: [447 464] ) ] ) ] ) ) ] ) ) (command.ShFunction name: _Dbg_complete_num_range body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: {(sh_array_literal left:<Id.Op_LParen _>)} spids: [500] ) ] ) (C {<typeset>} {<-i>} {<i>}) (C {<typeset>} {<-i>} {<Id.Lit_VarLike 'j='> <0>}) (command.ForExpr init: (arith_expr.BinaryAssign op_id: Id.Arith_Equal left: <Id.Lit_ArithVarLike i> right: {($ Id.VSub_Number '$1')} ) cond: (arith_expr.Binary op_id: Id.Arith_LessEqual left: <Id.Lit_ArithVarLike i> right: {($ Id.VSub_Number '$2')} ) update: (arith_expr.UnaryAssign op_id:Id.Node_PostDPlus child:<Id.Lit_ArithVarLike i>) body: (command.DoGroup children: [ (command.DParen child: (arith_expr.BinaryAssign op_id: Id.Arith_PlusEqual left: (arith_expr.Binary op_id: Id.Arith_LBracket left: <Id.Lit_ArithVarLike COMPREPLY> right: <Id.Lit_ArithVarLike j> ) right: <Id.Lit_ArithVarLike i> ) ) (command.DParen child: (arith_expr.UnaryAssign op_id: Id.Node_PostDPlus child: <Id.Lit_ArithVarLike j> ) ) ] ) ) ] ) ) (command.ShFunction name: _Dbg_complete_level0 body: (BraceGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.DParen child: (arith_expr.Binary op_id: Id.Arith_Great left: <Id.Lit_ArithVarLike COMP_POINT> right: {<Id.Lit_Digits 0>} ) ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<typeset>} {<Id.Lit_VarLike 'commands='> (DQ (braced_var_sub token: <Id.VSub_Name _Dbg_command_help> prefix_op: (Id.VSub_Bang) bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) ) ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<compgen>} {<-W>} {(DQ ($ Id.VSub_DollarName '$commands'))} {(DQ ($ Id.VSub_DollarName '$COMP_LINE'))} ) ) } ] ) } spids: [608] ) ] ) ] spids: [577 591] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: <Id.Op_LParen _> words: [ { (braced_var_sub token: <Id.VSub_Name _Dbg_command_help> prefix_op: (Id.VSub_Bang) bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) ) } ] ) } spids: [631] ) ] ) ] ) ] ) ) (command.ShFunction name: _Dbg_complete_level_0_init body: (BraceGroup children:[(C {<complete>} {<-D>} {<-F>} {<_Dbg_complete_level0>})]) ) ] )