(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_Dbg_shell_temp_profile) op: Equal rhs: { (CommandSubPart command_list: (CommandList children:[(C {(_Dbg_tempname)} {(profile)})]) left_token: <Left_CommandSub "$("> spids: [59 63] ) } spids: [58] ) ] spids: [58] ) (FuncDef name: _Dbg_shell_append_typesets body: (BraceGroup children: [ (C {(typeset)} {(-a)} {(words)}) (Pipeline children: [ (C {(typeset)} {(-p)}) (While cond: [(Sentence child:(C {(read)} {(-a)} {(words)}) terminator:<Op_Semi ";">)] body: (DoGroup children: [ (AndOr children: [ (DBracket expr: (BoolBinary op_id: BoolBinary_GlobNEqual left: {(declare)} right: { (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr:(ArithWord w:{(Lit_Digits 0)})) spids: [107 112] ) } ) ) (ControlFlow token: <ControlFlow_Continue continue> ) ] op_id: Op_DAmp ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:var_name) op: Equal rhs: { (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr:(ArithWord w:{(Lit_Digits 2)})) suffix_op: (StringUnary op_id:VOp1_DPercent arg_word:{("=*")}) spids: [122 129] ) } spids: [121] ) ] spids: [121] ) (AndOr children: [ (DParen child: (ArithBinary op_id: Arith_DEqual left: (ArithWord w:{(Lit_Digits 0)}) right: (ArithVarRef name:_Dbg_set_debug) ) ) (AndOr children: [ (DBracket expr: (BoolBinary op_id: BoolBinary_EqualTilde left: {($ VSub_Name "$var_name")} right: {(Lit_Other "^") (_Dbg_)} ) ) (ControlFlow token: <ControlFlow_Continue continue> ) ] op_id: Op_DAmp ) ] op_id: Op_DAmp ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:flags) op: Equal rhs: { (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr:(ArithWord w:{(Lit_Digits 1)})) spids: [161 166] ) } spids: [160] ) ] spids: [160] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_EqualTilde left: {($ VSub_Name "$flags")} right: {(Lit_Other "^") (-.) (Lit_Other "*") (x)} ) ) terminator: <Op_Semi ";"> ) ] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [-1 185] ) (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_EqualTilde left: {($ VSub_Name "$flags")} right: {(-.) (Lit_Other "*") (r)} ) ) terminator: <Op_Semi ";"> ) ] action: [ (C {(echo)} { (DQ ("typeset -p ") (${ VSub_Name var_name) (" &>/dev/null || ") (CommandSubPart command_list: (CommandList children: [(C {(typeset)} {(-p)} {(${ VSub_Name var_name)})] ) left_token: <Left_CommandSub "$("> spids: [227 235] ) ) } ) ] spids: [196 211] ) (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: { (BracedVarSub token: <VSub_Name flags> suffix_op: (Slice begin: (ArithWord w:{(Lit_Digits 0)}) length: (ArithWord w:{(Lit_Digits 1)}) ) spids: [243 249] ) } right: {(SQ <->)} ) ) terminator: <Op_Semi ";"> ) ] action: [ (C {(echo)} { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [{(typeset)} {(-p)} {(${ VSub_Name var_name)}] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [275] ) ] ) ] ) left_token: <Left_CommandSub "$("> spids: [266 277] ) } ) ] spids: [239 261] ) ] spids: [-1 281] ) ] spids: [97 284] ) redirects: [ (Redir op_id: Redir_DGreat fd: -1 arg_word: {($ VSub_Name "$_Dbg_shell_temp_profile")} spids: [286] ) ] ) ] negated: False ) ] spids: [70] ) spids: [66 69] ) (FuncDef name: _Dbg_shell_append_fn_typesets body: (BraceGroup children: [ (C {(typeset)} {(-a)} {(words)}) (Pipeline children: [ (C {(typeset)} {(-pf)}) (While cond: [(Sentence child:(C {(read)} {(-a)} {(words)}) terminator:<Op_Semi ";">)] body: (DoGroup children: [ (AndOr children: [ (DBracket expr: (BoolBinary op_id: BoolBinary_GlobNEqual left: {(declare)} right: { (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr:(ArithWord w:{(Lit_Digits 0)})) spids: [334 339] ) } ) ) (ControlFlow token: <ControlFlow_Continue continue> ) ] op_id: Op_DAmp ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:fn_name) op: Equal rhs: { (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr:(ArithWord w:{(Lit_Digits 2)})) suffix_op: (StringUnary op_id:VOp1_DPercent arg_word:{("=*")}) spids: [349 356] ) } spids: [348] ) ] spids: [348] ) (AndOr children: [ (DParen child: (ArithBinary op_id: Arith_DEqual left: (ArithWord w:{(Lit_Digits 0)}) right: (ArithVarRef name:_Dbg_set_debug) ) ) (AndOr children: [ (DBracket expr: (BoolBinary op_id: BoolBinary_EqualTilde left: {($ VSub_Name "$fn_name")} right: {(Lit_Other "^") (_Dbg_)} ) ) (ControlFlow token: <ControlFlow_Continue continue> ) ] op_id: Op_DAmp ) ] op_id: Op_DAmp ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:flags) op: Equal rhs: { (BracedVarSub token: <VSub_Name words> bracket_op: (ArrayIndex expr:(ArithWord w:{(Lit_Digits 1)})) spids: [388 393] ) } spids: [387] ) ] spids: [387] ) (C {(echo)} { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [{(typeset)} {(-pf)} {(${ VSub_Name fn_name)}] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [407] ) ] ) ] ) left_token: <Left_CommandSub "$("> spids: [398 409] ) } ) ] spids: [324 412] ) redirects: [ (Redir op_id: Redir_DGreat fd: -1 arg_word: {($ VSub_Name "$_Dbg_shell_temp_profile")} spids: [414] ) ] ) ] negated: False ) ] spids: [297] ) spids: [293 296] ) (FuncDef name: _Dbg_shell_new_shell_profile body: (BraceGroup children: [ (Sentence child: (C {(typeset)} {(-i)} {(_Dbg_o_vars)}) terminator: <Op_Semi ";"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_Dbg_o_vars) op: Equal rhs: { (BracedVarSub token: <VSub_Number 1> suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(1)}) spids: [435 439] ) } spids: [434] ) ] spids: [434] ) (Sentence child: (C {(typeset)} {(-i)} {(_Dbg_o_fns)}) terminator: <Op_Semi ";"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_Dbg_o_fns) op: Equal rhs: { (BracedVarSub token: <VSub_Number 2> suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(1)}) spids: [450 454] ) } spids: [449] ) ] spids: [449] ) (SimpleCommand words: [{(echo)} {(SQ <"# debugger shell profile">)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$_Dbg_shell_temp_profile")} spids: [464] ) ] ) (AndOr children: [ (DParen child:(ArithVarRef name:_Dbg_o_vars)) (C {(_Dbg_shell_append_typesets)}) ] op_id: Op_DAmp ) (SimpleCommand words: [{(typeset)} {(-p)} {(_Dbg_restore_info)}] redirects: [ (Redir op_id: Redir_DGreat fd: -1 arg_word: {($ VSub_Name "$_Dbg_shell_temp_profile")} spids: [495] ) ] ) (SimpleCommand words: [{(echo)} {(DQ ("source ") (${ VSub_Name _Dbg_libdir) (/data/shell.sh))}] redirects: [ (Redir op_id: Redir_DGreat fd: -1 arg_word: {($ VSub_Name "$_Dbg_shell_temp_profile")} spids: [510] ) ] ) (AndOr children: [ (DParen child:(ArithVarRef name:_Dbg_o_fns)) (C {(_Dbg_shell_append_fn_typesets)}) ] op_id: Op_DAmp ) ] spids: [424] ) spids: [420 423] ) ] )