(command.CommandList
  children: [
    (command.Simple
      blame_tok: <_Dbg_help_add_sub>
      more_env: []
      words: [
        {<_Dbg_help_add_sub>}
        {<set>}
        {<editing>}
        {
          (SQ <'**set editing** [**on**|**off**|**emacs**|**vi**]\n'> <'\n'> 
            <'Readline editing of command lines\n'> <'\n'> <'See also:\n'> <'---------\n'> <'\n'> <'**show editing**\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <Id.Lit_ArrayLhsOpen '_Dbg_next_complete['>
      more_env: []
      words: [
        {<Id.Lit_ArrayLhsOpen '_Dbg_next_complete['> <set>}
        {<editing> <Id.Lit_ArrayLhsClose ']='> (SQ <_Dbg_complete_edit>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.ShFunction
      name_tok: <_Dbg_complete_edit>
      name: _Dbg_complete_edit
      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: [{<on>} {<off>} {<vi>} {<emacs>}]
                        right: <Id.Right_ShArrayLiteral _>
                      )
                    }
                )
              ]
              redirects: []
            )
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.ShFunction
      name_tok: <_Dbg_do_set_editing>
      name: _Dbg_do_set_editing
      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 <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: <e>
                  pattern: (pat.Words words:[{<e>} {<em>} {<ema>} {<emac>} {<emacs>}])
                  middle: <Id.Right_CasePat _>
                  action: [
                    (command.ShAssignment
                      left: <Id.Lit_VarLike '_Dbg_edit='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike '_Dbg_edit='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_Dbg_edit='> name:_Dbg_edit)
                          op: assign_op.Equal
                          rhs: {(SQ <-e>)}
                        )
                      ]
                      redirects: []
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike '_Dbg_edit_style='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike '_Dbg_edit_style='>
                          lhs: 
                            (sh_lhs_expr.Name
                              left: <Id.Lit_VarLike '_Dbg_edit_style='>
                              name: _Dbg_edit_style
                            )
                          op: assign_op.Equal
                          rhs: {(SQ <emacs>)}
                        )
                      ]
                      redirects: []
                    )
                  ]
                  right: <Id.Op_DSemi _>
                )
                (CaseArm
                  left: <on>
                  pattern: (pat.Words words:[{<on>} {<1>}])
                  middle: <Id.Right_CasePat _>
                  action: [
                    (command.ShAssignment
                      left: <Id.Lit_VarLike '_Dbg_edit='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike '_Dbg_edit='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_Dbg_edit='> name:_Dbg_edit)
                          op: assign_op.Equal
                          rhs: {(SQ <-e>)}
                        )
                      ]
                      redirects: []
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike '_Dbg_edit_style='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike '_Dbg_edit_style='>
                          lhs: 
                            (sh_lhs_expr.Name
                              left: <Id.Lit_VarLike '_Dbg_edit_style='>
                              name: _Dbg_edit_style
                            )
                          op: assign_op.Equal
                          rhs: {(SQ <emacs>)}
                        )
                      ]
                      redirects: []
                    )
                  ]
                  right: <Id.Op_DSemi _>
                )
                (CaseArm
                  left: <off>
                  pattern: (pat.Words words:[{<off>} {<0>}])
                  middle: <Id.Right_CasePat _>
                  action: [
                    (command.ShAssignment
                      left: <Id.Lit_VarLike '_Dbg_edit='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike '_Dbg_edit='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_Dbg_edit='> name:_Dbg_edit)
                          op: assign_op.Equal
                          rhs: {(SQ )}
                        )
                      ]
                      redirects: []
                    )
                    (command.ControlFlow
                      keyword: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  right: <Id.Op_DSemi _>
                )
                (CaseArm
                  left: <v>
                  pattern: (pat.Words words:[{<v>} {<vi>}])
                  middle: <Id.Right_CasePat _>
                  action: [
                    (command.ShAssignment
                      left: <Id.Lit_VarLike '_Dbg_edit='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike '_Dbg_edit='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_Dbg_edit='> name:_Dbg_edit)
                          op: assign_op.Equal
                          rhs: {(SQ <-e>)}
                        )
                      ]
                      redirects: []
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike '_Dbg_edit_style='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike '_Dbg_edit_style='>
                          lhs: 
                            (sh_lhs_expr.Name
                              left: <Id.Lit_VarLike '_Dbg_edit_style='>
                              name: _Dbg_edit_style
                            )
                          op: assign_op.Equal
                          rhs: {(SQ <vi>)}
                        )
                      ]
                      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>} {(SQ <'"on", "off", "vi", or "emacs" expected.'>)}]
                      redirects: []
                      do_fork: T
                    )
                    (command.ControlFlow
                      keyword: <Id.ControlFlow_Return return>
                      arg_word: {<1>}
                    )
                  ]
                )
              ]
              arms_end: <Id.KW_Esac esac>
              redirects: []
            )
            (command.Simple
              blame_tok: <set>
              more_env: []
              words: [{<set>} {<-o>} {($ Id.VSub_DollarName _Dbg_edit_style)}]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <_Dbg_do_show_editing>
              more_env: []
              words: [{<_Dbg_do_show_editing>}]
              redirects: []
              do_fork: T
            )
            (command.ControlFlow keyword:<Id.ControlFlow_Return return> arg_word:{<0>})
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
  ]
)