(command.CommandList children: [ (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {($ Id.VSub_Number 0)} right: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name BASH_SOURCE> var_name: BASH_SOURCE bracket_op: (bracket_op.ArrayIndex expr:{<Id.Lit_Digits 0>}) right: <Id.Right_DollarBrace '}'> ) } ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.ShAssignment left: <Id.Lit_VarLike 'dirname='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'dirname='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'dirname='> name:dirname) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name BASH_SOURCE> var_name: BASH_SOURCE bracket_op: (bracket_op.ArrayIndex expr:{<Id.Lit_Digits 0>}) suffix_op: (suffix_op.Unary op: <Id.VOp1_Percent '%'> arg_word: {<Id.Lit_Slash '/'> <Id.Lit_Other '*'>} ) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.AndOr children: [ (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {($ Id.VSub_DollarName dirname)} right: {($ Id.VSub_Number 0)} ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'top_dir='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'top_dir='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'top_dir='> name:top_dir) op: assign_op.Equal rhs: {(SQ <'../..'>)} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'top_dir='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'top_dir='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'top_dir='> name:top_dir) op: assign_op.Equal rhs: {(${ Id.VSub_Name dirname) <'/../..'>} ) ] redirects: [] ) ] ops: [<Id.Op_DAmp _> <Id.Op_DPipe _>] ) (command.AndOr children: [ (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Unary op_id: Id.BoolUnary_z child: {($ Id.VSub_DollarName _Dbg_libdir)} ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_libdir='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_libdir='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_Dbg_libdir='> name:_Dbg_libdir) op: assign_op.Equal rhs: {($ Id.VSub_DollarName top_dir)} ) ] redirects: [] ) ] ops: [<Id.Op_DAmp _>] ) (command.ForEach keyword: <Id.KW_For for> iter_names: [file] iterable: (for_iter.Words words:[{<help>} {<alias>}]) semi_tok: <Id.Op_Semi _> body: (command.DoGroup left: <Id.KW_Do do> children: [ (command.Sentence child: (command.Simple blame_tok: <source> more_env: [] words: [ {<source>} {($ Id.VSub_DollarName top_dir) <'/lib/'> (${ Id.VSub_Name file) <.sh>} ] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] right: <Id.KW_Done done> ) redirects: [] ) ] spids: [61 80] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-x>} {<Id.Lit_VarLike '_Dbg_pygments_styles='> (SQ )}] 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: ($ Id.Lit_ArithVarLike _Dbg_working_term_highlight) right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_pygments_styles='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_pygments_styles='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_pygments_styles='> name: _Dbg_pygments_styles ) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <Id.Left_DollarBrace '${'> more_env: [] words: [{(${ Id.VSub_Name _Dbg_libdir) <'/lib/term-highlight.py'>} {<-L>}] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) } ) ] redirects: [] ) ] spids: [173 184] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.ShFunction name_tok: <_Dbg_complete_style> name: _Dbg_complete_style body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.ShAssignment left: <Id.Lit_VarLike 'COMPREPLY='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'COMPREPLY='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'COMPREPLY='> name:COMPREPLY) op: assign_op.Equal rhs: { (ShArrayLiteral left: <Id.Op_LParen _> words: [{($ Id.VSub_DollarName _Dbg_pygments_styles)} {<off>}] right: <Id.Right_ShArrayLiteral _> ) } ) ] redirects: [] ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.Simple blame_tok: <_Dbg_help_add_sub> more_env: [] words: [ {<_Dbg_help_add_sub>} {<set>} {<style>} { (SQ <'set style [pygments-style | off]\n'> <'\n'> <'Set the pygments style use in listings.\n'> <'\n'> <'See also: set highlight, show style, show highlight.\n'> ) } {<1>} ] redirects: [] do_fork: T ) (command.ShFunction name_tok: <_Dbg_do_set_style> name: _Dbg_do_set_style body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (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.Unary op_id: Id.Arith_Bang child: ($ Id.Lit_ArithVarLike _Dbg_working_term_highlight) ) right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <_Dbg_errmsg> more_env: [] words: [{<_Dbg_errmsg>} {(DQ <'Can\'t run term-highlight. Setting forced off'>)}] redirects: [] do_fork: T ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<1>} ) ] spids: [245 258] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'style='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'style='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'style='> name:style) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Number 1> var_name: 1 suffix_op: (suffix_op.Unary op: <Id.VTest_ColonHyphen _> arg_word: {(SQ <colorful>)} ) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {(DQ (${ Id.VSub_Name style))} right: {(DQ <off>)} ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_set_style='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_set_style='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_set_style='> name: _Dbg_set_style ) op: assign_op.Equal rhs: {(SQ )} ) ] redirects: [] ) (command.Simple blame_tok: <_Dbg_filecache_reset> more_env: [] words: [{<_Dbg_filecache_reset>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_readin> more_env: [] words: [{<_Dbg_readin>} {($ Id.VSub_DollarName _Dbg_frame_last_filename)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_do_show> more_env: [] words: [{<_Dbg_do_show>} {<style>}] redirects: [] do_fork: T ) ] spids: [286 306] ) (IfArm keyword: <Id.KW_Elif elif> cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobNEqual left: { (DQ (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_pygments_styles> var_name: _Dbg_pygments_styles suffix_op: (suffix_op.Unary op: <Id.VOp1_Pound '#'> arg_word: {<Id.Lit_Other '*'> ($ Id.VSub_DollarName style)} ) right: <Id.Right_DollarBrace '}'> ) ) } right: {(DQ ($ Id.VSub_DollarName _Dbg_pygments_styles))} ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_set_style='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_set_style='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_set_style='> name: _Dbg_set_style ) op: assign_op.Equal rhs: {($ Id.VSub_DollarName style)} ) ] redirects: [] ) (command.Simple blame_tok: <_Dbg_filecache_reset> more_env: [] words: [{<_Dbg_filecache_reset>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_readin> more_env: [] words: [{<_Dbg_readin>} {($ Id.VSub_DollarName _Dbg_frame_last_filename)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_do_show> more_env: [] words: [{<_Dbg_do_show>} {<style>}] redirects: [] do_fork: T ) ] spids: [327 350] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <_Dbg_errmsg> more_env: [] words: [{<_Dbg_errmsg>} {(DQ <'Can\'t find style '> ($ Id.VSub_DollarName style))}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [ {<typeset>} {<-a>} {<Id.Lit_VarLike 'list='> (ShArrayLiteral left: <Id.Op_LParen _> words: [{($ Id.VSub_DollarName _Dbg_pygments_styles)}] right: <Id.Right_ShArrayLiteral _> ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <sort_list> more_env: [] words: [ {<sort_list>} {<0>} { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name list> var_name: list prefix_op: <Id.VSub_Pound '#'> bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) right: <Id.Right_DollarBrace '}'> ) <-1> } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<Id.Lit_VarLike 'columnized='> (SQ )}] redirects: [] do_fork: T ) (command.Sentence child: (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<width>}] 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 width) right: (arith_expr.Binary op_id: Id.Arith_Minus left: ($ Id.Lit_ArithVarLike _Dbg_set_linewidth) right: {<Id.Lit_Digits 5>} ) ) right: <Id.Op_DRightParen _> redirects: [] ) (command.Sentence child: (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-a>} {<columnized>}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) (command.Simple blame_tok: <columnize> more_env: [] words: [{<columnize>} {($ Id.VSub_DollarName width)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<i>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_msg> more_env: [] words: [{<_Dbg_msg>} {(DQ <'Valid styles are:'>)}] redirects: [] do_fork: T ) (command.ForExpr keyword: <Id.KW_For for> init: (arith_expr.BinaryAssign op_id: Id.Arith_Equal left: ($ Id.Lit_ArithVarLike i) right: {<Id.Lit_Digits 0>} ) cond: (arith_expr.Binary op_id: Id.Arith_Less left: ($ Id.Lit_ArithVarLike i) right: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name columnized> var_name: columnized prefix_op: <Id.VSub_Pound '#'> bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) right: <Id.Right_DollarBrace '}'> ) } ) update: (arith_expr.UnaryAssign op_id: Id.Node_PostDPlus child: ($ Id.Lit_ArithVarLike i) ) body: (command.DoGroup left: <Id.KW_Do do> children: [ (command.Simple blame_tok: <_Dbg_msg> more_env: [] words: [ {<_Dbg_msg>} { (DQ <' '> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name columnized> var_name: columnized bracket_op: (bracket_op.ArrayIndex expr:($ Id.Lit_ArithVarLike i)) right: <Id.Right_DollarBrace '}'> ) ) } ] redirects: [] do_fork: T ) ] right: <Id.KW_Done done> ) redirects: [] ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.ControlFlow keyword:<Id.ControlFlow_Return return> arg_word:{<0>}) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) ] )