(command.AndOr ops: [Id.Op_DAmp] children: [ (command.ShFunction name: _lzma 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:29) ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {(DQ ($ Id.VSub_DollarName '$cur'))} right: {(-) (Id.Lit_Other '*')} ) ) terminator: (Token id:Id.Op_Semi val:';' span_id:47) ) ] 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:53) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:55) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: '-1 -2 -3 -4 -5 -6 -7 -8 -9\n' span_id: 62 ) (Token id: Id.Lit_Chars val: ' --help --decompress --compress --keep --force --suffix --test\n' span_id: 63 ) (Token id: Id.Lit_Chars val: ' --stdout --quiet --verbose --license --list --version --small\n' span_id: 64 ) (Token id:Id.Lit_Chars val:' --fast --best --text' span_id:65) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [52] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:79) arg_word: {(0)} ) ] spids: [33 49] ) ] ) (C {(local)} {(Id.Lit_VarLike 'IFS=') (single_quoted left: (Token id:Id.Left_SingleQuoteC val:"$'" span_id:91) tokens: [(Token id:Id.Char_OneChar val:'\\n' span_id:92)] ) } {(Id.Lit_VarLike 'xspec=') (DQ ('*.@(lzma|tlz)'))} ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {(DQ ($ Id.VSub_DollarName '$prev'))} right: {(--) (Id.Lit_Other '*')} ) ) terminator: (Token id:Id.Op_Semi val:';' span_id:116) ) ] action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {(DQ ($ Id.VSub_DollarName '$prev'))} right: {(--) (word_part.ExtGlob op: (Token id:Id.ExtGlob_At val:'@(' span_id:130) arms: [{(decompress)} {(list)} {(test)}] ) } ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:xspec) op: assign_op.Equal rhs: {(DQ ('!')) ($ Id.VSub_DollarName '$xspec')} spids: [142] ) ] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {(DQ ($ Id.VSub_DollarName '$prev'))} right: {(--compress)} ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:xspec) op: assign_op.Equal rhs: (word.Empty) spids: [163] ) ] ) ] ) ] spids: [102 118] ) (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {(DQ ($ Id.VSub_DollarName '$prev'))} right: {(-) (Id.Lit_Other '*')} ) ) terminator: (Token id:Id.Op_Semi val:';' span_id:180) ) ] action: [ (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {(DQ ($ Id.VSub_DollarName '$prev'))} right: {(-) (Id.Lit_Other '*') (Id.Lit_Other '[') (dt) (Id.Lit_Other ']') (Id.Lit_Other '*') } ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:xspec) op: assign_op.Equal rhs: {(DQ ('!')) ($ Id.VSub_DollarName '$xspec')} spids: [204] ) ] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {(DQ ($ Id.VSub_DollarName '$prev'))} right: {(-) (Id.Lit_Other '*') (z) (Id.Lit_Other '*')} ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:xspec) op: assign_op.Equal rhs: (word.Empty) spids: [228] ) ] ) ] ) ] spids: [166 182] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {(_expand)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:239) arg_word: {(0)} ) ] ) (C {(compopt)} {(-o)} {(filenames)}) (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:253) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:255) command_list: (command.CommandList children: [ (C {(compgen)} {(-f)} {(-X)} {(DQ ($ Id.VSub_DollarName '$xspec'))} {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:277) command_list: (command.CommandList children: [ (C {(compgen)} {(-d)} {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))}) ] ) ) } ] ) } spids: [252] ) ] ) ] ) ) (C {(complete)} {(-F)} {(_lzma)} {(lzma)}) ] )