(command.AndOr ops: [Id.Op_DAmp] children: [ (command.ShFunction name: _eject body: (command.BraceGroup children: [ (C {(local)} {(cur)} {(prev)} {(words)} {(cword)}) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {(_init_completion)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:33) ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [ {(-h)} {(--help)} {(-V)} {(--version)} {(-c)} {(--changerslot)} {(-x)} {(--cdspeed)} ] action: [ (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:62) ) ] spids: [44 59 65 -1] ) (case_arm pat_list: [{(-a)} {(--auto)} {(-i)} {(--manualeject)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: (Token id:Id.Op_LParen val:'(' span_id:79) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:81) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ (Token id:Id.Lit_Chars val:'on off' span_id:88))} {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [78] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:102) ) ] spids: [68 75 105 -1] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {($ Id.VSub_DollarName '$cur')} right: {(-) (Id.Lit_Other '*')} ) ) terminator: (Token id:Id.Op_Semi val:';' span_id:124) ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: (Token id:Id.Op_LParen val:'(' span_id:130) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:132) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: '$( _parse_help "$1" )' span_id: 139 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [129] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:153) ) ] spids: [112 126] ) (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {($ Id.VSub_DollarName '$prev')} right: { (word_part.ExtGlob op: (Token id:Id.ExtGlob_At val:'@(' span_id:164) arms: [{(-d)} {(--default)}] ) } ) ) terminator: (Token id:Id.Op_Semi val:';' span_id:171) ) ] action: [ (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:176) ) ] spids: [156 173] ) ] ) (C {(_cd_devices)}) (C {(_dvd_devices)}) ] ) ) (C {(complete)} {(-F)} {(_eject)} {(eject)}) ] )