(command.CommandList
  children: [
    (command.Simple
      blame_tok: <_Dbg_help_add_sub>
      more_env: []
      words: [
        {<_Dbg_help_add_sub>}
        {<set>}
        {<linetrace>}
        {(SQ <'set linetrace [on|off]\n'> <'\n'> <'Set shell-like \\"set -x\\" line tracing'>)}
        {<1>}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <typeset>
      more_env: []
      words: [{<typeset>} {<-i>} {<Id.Lit_VarLike '_Dbg_linetrace_expand='> <0>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <typeset>
      more_env: []
      words: [{<typeset>} {<-i>} {<Id.Lit_VarLike '_Dbg_linetrace_delay='> <0>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <_Dbg_help_add_sub>
      more_env: []
      words: [
        {<_Dbg_help_add_sub>}
        {<set>}
        {<linetrace>}
        {
          (SQ <'**set linetrace** [**on**|**off**]\n'> <'\n'> <'Set xtrace-style line tracing\n'> <'\n'> 
            <'See also:\n'> <'---------\n'> <'\n'> <'**show linetrace**\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.ShFunction
      name_tok: <_Dbg_do_set_linetrace>
      name: _Dbg_do_set_linetrace
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.Simple
              blame_tok: <typeset>
              more_env: []
              words: [
                {<typeset>}
                {<Id.Lit_VarLike 'onoff='> 
                  (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 <off>)})
                    right: <Id.Right_DollarBrace '}'>
                  )
                }
              ]
              redirects: []
              do_fork: T
            )
            (command.Case
              case_kw: <Id.KW_Case case>
              to_match: (case_arg.Word w:{($ Id.VSub_DollarName onoff)})
              arms_start: <Id.KW_In in>
              arms: [
                (CaseArm
                  left: <on>
                  pattern: (pat.Words words:[{<on>} {<1>}])
                  middle: <Id.Right_CasePat _>
                  action: [
                    (command.Simple
                      blame_tok: <_Dbg_write_journal_eval>
                      more_env: []
                      words: [{<_Dbg_write_journal_eval>} {(DQ <'_Dbg_set_linetrace=1'>)}]
                      redirects: []
                      do_fork: T
                    )
                  ]
                  right: <Id.Op_DSemi _>
                )
                (CaseArm
                  left: <off>
                  pattern: (pat.Words words:[{<off>} {<0>}])
                  middle: <Id.Right_CasePat _>
                  action: [
                    (command.Simple
                      blame_tok: <_Dbg_write_journal_eval>
                      more_env: []
                      words: [{<_Dbg_write_journal_eval>} {(DQ <'_Dbg_set_linetrace=0'>)}]
                      redirects: []
                      do_fork: T
                    )
                  ]
                  right: <Id.Op_DSemi _>
                )
                (CaseArm
                  left: <d>
                  pattern: (pat.Words words:[{<d>} {<de>} {<del>} {<dela>} {<delay>}])
                  middle: <Id.Right_CasePat _>
                  action: [
                    (command.Simple
                      blame_tok: <eval>
                      more_env: []
                      words: [{<eval>} {(DQ ($ Id.VSub_DollarName _seteglob))}]
                      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.DBracket
                                      left: <Id.KW_DLeftBracket '[['>
                                      expr: 
                                        (bool_expr.Binary
                                          op_id: Id.BoolBinary_GlobNEqual
                                          left: {($ Id.VSub_Number 2)}
                                          right: {($ Id.VSub_DollarName int_pat)}
                                        )
                                      right: <Id.Lit_DRightBracket ']]'>
                                      redirects: []
                                    )
                                  terminator: <Id.Op_Semi _>
                                )
                              ]
                            )
                          then_kw: <Id.KW_Then then>
                          action: [
                            (command.Simple
                              blame_tok: <_Dbg_msg>
                              more_env: []
                              words: [{<_Dbg_msg>} {(DQ <'Bad int parameter: '> ($ Id.VSub_Number 2))}]
                              redirects: []
                              do_fork: T
                            )
                            (command.Simple
                              blame_tok: <eval>
                              more_env: []
                              words: [{<eval>} {(DQ ($ Id.VSub_DollarName _resteglob))}]
                              redirects: []
                              do_fork: T
                            )
                            (command.ControlFlow
                              keyword: <Id.ControlFlow_Return return>
                              arg_word: {<1>}
                            )
                          ]
                          spids: [206 220]
                        )
                      ]
                      else_action: []
                      fi_kw: <Id.KW_Fi fi>
                      redirects: []
                    )
                    (command.Simple
                      blame_tok: <eval>
                      more_env: []
                      words: [{<eval>} {(DQ ($ Id.VSub_DollarName _resteglob))}]
                      redirects: []
                      do_fork: T
                    )
                    (command.Simple
                      blame_tok: <_Dbg_write_journal_eval>
                      more_env: []
                      words: [
                        {<_Dbg_write_journal_eval>}
                        {(DQ <'_Dbg_linetrace_delay='> ($ Id.VSub_Number 2))}
                      ]
                      redirects: []
                      do_fork: T
                    )
                  ]
                  right: <Id.Op_DSemi _>
                )
                (CaseArm
                  left: <e>
                  pattern: (pat.Words words:[{<e>} {<ex>} {<exp>} {<expa>} {<expan>} {<expand>}])
                  middle: <Id.Right_CasePat _>
                  action: [
                    (command.Simple
                      blame_tok: <typeset>
                      more_env: []
                      words: [
                        {<typeset>}
                        {<Id.Lit_VarLike 'onoff='> 
                          (BracedVarSub
                            left: <Id.Left_DollarBrace '${'>
                            token: <Id.VSub_Number 2>
                            var_name: 2
                            suffix_op: 
                              (suffix_op.Unary
                                op: <Id.VTest_ColonHyphen _>
                                arg_word: {(SQ <on>)}
                              )
                            right: <Id.Right_DollarBrace '}'>
                          )
                        }
                      ]
                      redirects: []
                      do_fork: T
                    )
                    (command.Case
                      case_kw: <Id.KW_Case case>
                      to_match: (case_arg.Word w:{($ Id.VSub_DollarName onoff)})
                      arms_start: <Id.KW_In in>
                      arms: [
                        (CaseArm
                          left: <on>
                          pattern: (pat.Words words:[{<on>} {<1>}])
                          middle: <Id.Right_CasePat _>
                          action: [
                            (command.Simple
                              blame_tok: <_Dbg_write_journal_eval>
                              more_env: []
                              words: [{<_Dbg_write_journal_eval>} {(DQ <'_Dbg_linetrace_expand=1'>)}]
                              redirects: []
                              do_fork: T
                            )
                          ]
                          right: <Id.Op_DSemi _>
                        )
                        (CaseArm
                          left: <off>
                          pattern: (pat.Words words:[{<off>} {<0>}])
                          middle: <Id.Right_CasePat _>
                          action: [
                            (command.Simple
                              blame_tok: <_Dbg_write_journal_eval>
                              more_env: []
                              words: [{<_Dbg_write_journal_eval>} {(DQ <'_Dbg_linetrace_expand=0'>)}]
                              redirects: []
                              do_fork: T
                            )
                          ]
                          right: <Id.Op_DSemi _>
                        )
                        (CaseArm
                          left: <Id.Lit_Star '*'>
                          pattern: (pat.Words words:[{<Id.Lit_Star '*'>}])
                          middle: <Id.Right_CasePat _>
                          action: [
                            (command.Simple
                              blame_tok: <_Dbg_errmsg>
                              more_env: []
                              words: [
                                {<_Dbg_errmsg>}
                                {
                                  (DQ 
                                    (word_part.EscapedLiteral
                                      token: <Id.Lit_EscapedChar '\\"'>
                                      ch: '"'
                                    ) <expand> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"') <', '> 
                                    (word_part.EscapedLiteral
                                      token: <Id.Lit_EscapedChar '\\"'>
                                      ch: '"'
                                    ) <on> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"') <' or '> 
                                    (word_part.EscapedLiteral
                                      token: <Id.Lit_EscapedChar '\\"'>
                                      ch: '"'
                                    ) <off> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"') <' expected.'>
                                  )
                                }
                              ]
                              redirects: []
                              do_fork: T
                            )
                          ]
                          right: <Id.Op_DSemi _>
                        )
                      ]
                      arms_end: <Id.KW_Esac esac>
                      redirects: []
                    )
                  ]
                  right: <Id.Op_DSemi _>
                )
                (CaseArm
                  left: <Id.Lit_Star '*'>
                  pattern: (pat.Words words:[{<Id.Lit_Star '*'>}])
                  middle: <Id.Right_CasePat _>
                  action: [
                    (command.Simple
                      blame_tok: <_Dbg_errmsg>
                      more_env: []
                      words: [
                        {<_Dbg_errmsg>}
                        {
                          (DQ (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"') 
                            <expand> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"') <', '> 
                            (word_part.EscapedLiteral
                              token: <Id.Lit_EscapedChar '\\"'>
                              ch: '"'
                            ) <on> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"') <' or '> 
                            (word_part.EscapedLiteral
                              token: <Id.Lit_EscapedChar '\\"'>
                              ch: '"'
                            ) <off> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"') <' expected.'>
                          )
                        }
                      ]
                      redirects: []
                      do_fork: T
                    )
                    (command.ControlFlow
                      keyword: <Id.ControlFlow_Return return>
                      arg_word: {<1>}
                    )
                  ]
                )
              ]
              arms_end: <Id.KW_Esac esac>
              redirects: []
            )
            (command.ControlFlow keyword:<Id.ControlFlow_Return return> arg_word:{<0>})
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
  ]
)