(command.AndOr ops: [Id.Op_DAmp] children: [ (command.ShFunction name: _sitecopy body: (command.BraceGroup children: [ (C {(local)} {(cur)} {(prev)} {(words)} {(cword)} {(split)}) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {(_init_completion)} {(-s)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:39) ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [{(--debug)} {(-d)}] 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:57) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:59) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (DQ ('socket files rcfile ftp http httpbody\n') ( ' rsh sftp xml xmlparse cleartext' ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [56] ) ] ) (C {(compopt)} {(-o)} {(nospace)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:88) arg_word: {(0)} ) ] spids: [50 53 93 -1] ) (case_arm pat_list: [{(--logfile)} {(-g)} {(--rcfile)} {(-r)}] action: [ (C {(_filedir)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:109) arg_word: {(0)} ) ] spids: [96 103 114 -1] ) (case_arm pat_list: [{(--storepath)} {(-p)}] action: [ (C {(_filedir)} {(-d)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:128) arg_word: {(0)} ) ] spids: [117 120 133 -1] ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$cur')} arms: [ (case_arm pat_list: [{(--) (Id.Lit_Star '*')}] 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:153) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:155) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (DQ (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 162 ) command_list: (command.CommandList children: [ (C {(_parse_help)} {($ Id.VSub_Number '$1')}) ] ) ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [152] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {($ Id.VSub_DollarName '$COMPREPLY')} right: {(Id.Lit_Other '*') (Id.BoolBinary_GlobEqual '=')} ) ) (C {(compopt)} {(-o)} {(nospace)}) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:200) arg_word: {(0)} ) ] spids: [147 149 205 -1] ) (case_arm pat_list: [{(-)}] action: [ (C {(compopt)} {(-o)} {(nospace)}) (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:225) words: [{(--)}] ) } spids: [224] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:232) arg_word: {(0)} ) ] spids: [213 214 237 -1] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Unary op_id: Id.BoolUnary_r child: {(Id.Lit_TildeLike '~') (/.sitecopyrc)} ) ) terminator: (Token id:Id.Op_Semi val:';' span_id:254) ) ] 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:260) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:262) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (DQ (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 269 ) command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {($ Id.VSub_Number '$1')} {(-v)}) (C {(command)} {(sed)} {(-n)} { (SQ (Token id: Id.Lit_Chars val: '/^Site:/s/Site: //p' span_id: 285 ) ) } ) ] negated: F ) ] ) ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [259] ) ] ) ] spids: [244 256] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:304) arg_word: {(0)} ) ] ) ) (C {(complete)} {(-F)} {(_sitecopy)} {(-o)} {(default)} {(sitecopy)}) ] )