(CommandList
  children: [
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (DBracket
                  expr: 
                    (BoolBinary
                      op_id: BoolBinary_GlobDEqual
                      left: {($ VSub_Number "$0")}
                      right: 
                        {
                          (BracedVarSub
                            token: <VSub_Name BASH_SOURCE>
                            bracket_op: (ArrayIndex expr:(ArithWord w:{(Lit_Digits 0)}))
                            spids: [69 74]
                          )
                        }
                    )
                )
              terminator: <Op_Semi ";">
            )
          ]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:dirname)
                  op: Equal
                  rhs: 
                    {
                      (BracedVarSub
                        token: <VSub_Name BASH_SOURCE>
                        bracket_op: (ArrayIndex expr:(ArithWord w:{(Lit_Digits 0)}))
                        suffix_op: (StringUnary op_id:VOp1_Percent arg_word:{(Lit_Slash /) ("*")})
                        spids: [84 92]
                      )
                    }
                  spids: [83]
                )
              ]
              spids: [83]
            )
            (AndOr
              children: [
                (DBracket
                  expr: 
                    (BoolBinary
                      op_id: BoolBinary_GlobDEqual
                      left: {($ VSub_Name "$dirname")}
                      right: {($ VSub_Number "$0")}
                    )
                )
                (AndOr
                  children: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:top_dir)
                          op: Equal
                          rhs: {(SQ <../..>)}
                          spids: [107]
                        )
                      ]
                      spids: [107]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:top_dir)
                          op: Equal
                          rhs: {(${ VSub_Name dirname) (/../..)}
                          spids: [114]
                        )
                      ]
                      spids: [114]
                    )
                  ]
                  op_id: Op_DPipe
                )
              ]
              op_id: Op_DAmp
            )
            (AndOr
              children: [
                (DBracket
                  expr: (BoolUnary op_id:BoolUnary_z child:{($ VSub_Name "$_Dbg_libdir")})
                )
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:_Dbg_libdir)
                      op: Equal
                      rhs: {($ VSub_Name "$top_dir")}
                      spids: [131]
                    )
                  ]
                  spids: [131]
                )
              ]
              op_id: Op_DAmp
            )
            (ForEach
              iter_name: file
              iter_words: [{(help)} {(alias)}]
              do_arg_iter: False
              body: 
                (DoGroup
                  children: [
                    (Sentence
                      child: 
                        (C {(source)} {($ VSub_Name "$top_dir") (/lib/) (${ VSub_Name file) (.sh)})
                      terminator: <Op_Semi ";">
                    )
                  ]
                  spids: [147 159]
                )
              spids: [140 145]
            )
          ]
          spids: [-1 80]
        )
      ]
      spids: [-1 161]
    )
    (C {(_Dbg_help_add_sub)} {(set)} {(highlight)} 
      {
        (SQ <"**set** **highlight** [**dark**|**light**|**off**|**reset**]\n"> <"\n"> 
          <"Set using terminal highlight.\n"> <"\n"> <"Use **reset** to set highlighting on and force a redo of syntax\n"> 
          <"highlighting of already cached files. This may be needed if the\n"> <"debugger was started without syntax highlighting initially.\n"> <"\n"> 
          <"**dark** sets sets for highlighting for a terminal with a dark background and\n"> <"**light** set for highlighting for a terminal with a light background.\n"> <"\n"> <"See also:\n"> 
          <"---------\n"> <"\n"> <"**show highlight**.\n">
        )
      }
    )
    (C {(_Dbg_next_complete) (Lit_Other "[") (set)} 
      {(highlight) (Lit_Other "]") (Lit_Other "=") (SQ <_Dbg_complete_highlight>)}
    )
    (FuncDef
      name: _Dbg_complete_highlight
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:COMPREPLY)
                  op: Equal
                  rhs: {(ArrayLiteralPart words:[{(dark)}{(light)}{(off)}{(reset)}])}
                  spids: [209]
                )
              ]
              spids: [209]
            )
          ]
          spids: [206]
        )
      spids: [202 205]
    )
    (FuncDef
      name: _Dbg_do_set_highlight
      body: 
        (BraceGroup
          children: [
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DParen
                          child: 
                            (ArithUnary
                              op_id: Arith_Bang
                              child: (ArithVarRef name:_Dbg_working_term_highlight)
                            )
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C {(_Dbg_errmsg)} {(DQ ("Can't run term-highlight. Setting forced off"))})
                    (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
                  ]
                  spids: [-1 243]
                )
              ]
              spids: [-1 258]
            )
            (C {(typeset)} 
              {(Lit_VarLike "onoff=") 
                (BracedVarSub
                  token: <VSub_Number 1>
                  suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(SQ <light>)})
                  spids: [264 270]
                )
              }
            )
            (Case
              to_match: {($ VSub_Name "$onoff")}
              arms: [
                (case_arm
                  pat_list: [{(on)} {(light)}]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:_Dbg_set_highlight)
                          op: Equal
                          rhs: {(SQ <light>)}
                          spids: [289]
                        )
                      ]
                      spids: [289]
                    )
                    (C {(_Dbg_filecache_reset)})
                    (C {(_Dbg_readin)} {($ VSub_Name "$_Dbg_frame_last_filename")})
                  ]
                  spids: [280 286 303 -1]
                )
                (case_arm
                  pat_list: [{(dark)}]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:_Dbg_set_highlight)
                          op: Equal
                          rhs: {(SQ <dark>)}
                          spids: [311]
                        )
                      ]
                      spids: [311]
                    )
                    (C {(_Dbg_filecache_reset)})
                    (C {(_Dbg_readin)} {($ VSub_Name "$_Dbg_frame_last_filename")})
                  ]
                  spids: [306 308 325 -1]
                )
                (case_arm
                  pat_list: [{(off)} {(0)}]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:_Dbg_set_highlight)
                          op: Equal
                          rhs: {(SQ )}
                          spids: [337]
                        )
                      ]
                      spids: [337]
                    )
                    (C {(_Dbg_filecache_reset)})
                    (C {(_Dbg_readin)} {($ VSub_Name "$_Dbg_frame_last_filename")})
                  ]
                  spids: [328 334 350 -1]
                )
                (case_arm
                  pat_list: [{(reset)}]
                  action: [
                    (AndOr
                      children: [
                        (DBracket
                          expr: 
                            (BoolUnary
                              op_id: BoolUnary_z
                              child: {($ VSub_Name "$_Dbg_set_highlight")}
                            )
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:_Dbg_set_highlight)
                              op: Equal
                              rhs: {(SQ <light>)}
                              spids: [368]
                            )
                          ]
                          spids: [368]
                        )
                      ]
                      op_id: Op_DAmp
                    )
                    (C {(_Dbg_filecache_reset)})
                    (C {(_Dbg_readin)} {($ VSub_Name "$_Dbg_frame_last_filename")})
                  ]
                  spids: [353 355 382 -1]
                )
                (case_arm
                  pat_list: [{(Lit_Other "*")}]
                  action: [
                    (C {(_Dbg_errmsg)} {(SQ <"\"dark\", \"light\", \"off\", or \"reset\" expected.">)})
                    (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
                  ]
                  spids: [385 387 -1 402]
                )
              ]
              spids: [273 277 402]
            )
            (C {(_Dbg_do_show)} {(highlight)})
            (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
          ]
          spids: [227]
        )
      spids: [223 226]
    )
  ]
)