(command.CommandList children: [ (command.Simple blame_tok: <_Dbg_help_add> more_env: [] words: [ {<_Dbg_help_add>} {<frame>} { (SQ <'**frame** [*frame-number*].\n'> <'\n'> <'Change the current frame to frame *frame-numbrer* if specified, or the\n'> <'most-recent frame, 0, if no frame number specified.\n'> <'\n'> <'A negative number indicates the position from the other or\n'> <'least-recently-entered end. So **frame -1** moves to the oldest frame.\n'> <'\n'> <'See also:\n'> <'---------\n'> <'\n'> <'**up**, **down**'> ) } {<1>} {<_Dbg_complete_frame>} ] redirects: [] do_fork: T ) (command.ShFunction name_tok: <_Dbg_complete_frame> name: _Dbg_complete_frame body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Sentence child: (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<start>}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.BinaryAssign op_id: Id.Arith_Equal left: ($ Id.Lit_ArithVarLike start) right: (arith_expr.Binary op_id: Id.Arith_Plus left: (arith_expr.Unary op_id: Id.Node_UnaryMinus child: ($ Id.Lit_ArithVarLike _Dbg_stack_size) ) right: {<Id.Lit_Digits 1>} ) ) right: <Id.Op_DRightParen _> redirects: [] ) (command.Sentence child: (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<end>}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.BinaryAssign op_id: Id.Arith_Equal left: ($ Id.Lit_ArithVarLike end) right: (arith_expr.Binary op_id: Id.Arith_Minus left: ($ Id.Lit_ArithVarLike _Dbg_stack_size) right: {<Id.Lit_Digits 1>} ) ) right: <Id.Op_DRightParen _> redirects: [] ) (command.Simple blame_tok: <_Dbg_complete_num_range> more_env: [] words: [ {<_Dbg_complete_num_range>} {($ Id.VSub_DollarName start)} {($ Id.VSub_DollarName end)} ] redirects: [] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_Dbg_do_frame> name: _Dbg_do_frame body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.AndOr children: [ (command.Simple blame_tok: <_Dbg_not_running> more_env: [] words: [{<_Dbg_not_running>}] redirects: [] do_fork: T ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<3>} ) ] ops: [<Id.Op_DAmp _>] ) (command.Simple blame_tok: <typeset> more_env: [] words: [ {<typeset>} {<Id.Lit_VarLike 'count='> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Number 1> var_name: 1 suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{<1>}) right: <Id.Right_DollarBrace '}'> ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_is_signed_int> more_env: [] words: [{<_Dbg_is_signed_int>} {($ Id.VSub_DollarName count)}] redirects: [] do_fork: T ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_DEqual left: {<Id.Lit_Digits 0>} right: {($ Id.VSub_QMark '?')} ) right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <_Dbg_frame_adjust> more_env: [] words: [{<_Dbg_frame_adjust>} {($ Id.VSub_DollarName count)} {<0>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike 'rc='> ($ Id.VSub_QMark '?')}] redirects: [] do_fork: T ) ] spids: [175 190] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <_Dbg_errmsg> more_env: [] words: [ {<_Dbg_errmsg>} {(DQ <'Expecting an integer; got '> ($ Id.VSub_DollarName count))} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike 'rc='> <2>}] redirects: [] do_fork: T ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.AndOr children: [ (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_DEqual left: {<Id.Lit_Digits 0>} right: ($ Id.Lit_ArithVarLike rc) ) right: <Id.Op_DRightParen _> redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_last_cmd='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_last_cmd='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_last_cmd='> name: _Dbg_last_cmd ) op: assign_op.Equal rhs: {(SQ <frame>)} ) ] redirects: [] ) ] ops: [<Id.Op_DAmp _>] ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {($ Id.VSub_DollarName rc)} ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) ] )