(command.AndOr ops: [Id.Op_DAmp] children: [ (command.ShFunction name: _curl 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:26) ) ] ) (command.Case to_match: {($ Id.VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [ {(--ciphers)} {(--connect-timeout)} {(-C)} {(--continue-at)} {(-F)} {(--form)} {(--form-string)} {(--ftp-account)} {(--ftp-alternative-to-user)} {(-P)} {(--ftp-port)} {(-H)} {(--header)} {(-h)} {(--help)} {(--hostpubmd5)} {(--keepalive-time)} {(--krb)} {(--limit-rate)} {(--local-port)} {(--mail-from)} {(--mail-rcpt)} {(--max-filesize)} {(--max-redirs)} {(-m)} {(--max-time)} {(--pass)} {(--proto)} {(--proto-redir)} {(--proxy-user)} {(--proxy1.0)} {(-Q)} {(--quote)} {(-r)} {(--range)} {(-X)} {(--request)} {(--retry)} {(--retry-delay)} {(--retry-max-time)} {(--socks5-gssapi-service)} {(-t)} {(--telnet-option)} {(--tftp-blksize)} {(-z)} {(--time-cond)} {(--url)} {(-u)} {(--user)} {(-A)} {(--user-agent)} {(-V)} {(--version)} {(-w)} {(--write-out)} {(--resolve)} {(--tlsuser)} {(--tlspassword)} ] action: [ (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:171) ) ] spids: [37 168 174 -1] ) (case_arm pat_list: [ {(-K)} {(--config)} {(-b)} {(--cookie)} {(-c)} {(--cookie-jar)} {(-D)} {(--dump-header)} {(--egd-file)} {(--key)} {(--libcurl)} {(-o)} {(--output)} {(--random-file)} {(-T)} {(--upload-file)} {(--trace)} {(--trace-ascii)} {(--netrc-file)} ] action: [ (C {(_filedir)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:224) ) ] spids: [177 218 227 -1] ) (case_arm pat_list: [{(--cacert)} {(-E)} {(--cert)}] action: [ (C {(_filedir)} {(SQ (Token id:Id.Lit_Chars val:'@(c?(e)rt|cer|pem|der)' span_id:241))} ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:245) ) ] spids: [230 235 248 -1] ) (case_arm pat_list: [{(--capath)}] action: [ (C {(_filedir)} {(-d)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:260) ) ] spids: [251 252 263 -1] ) (case_arm pat_list: [{(--cert-type)} {(--key-type)}] 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:273) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:275) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: 'DER PEM ENG' span_id: 282 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [272] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:296) ) ] spids: [266 269 299 -1] ) (case_arm pat_list: [{(--crlfile)}] action: [ (C {(_filedir)} {(crl)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:311) ) ] spids: [302 303 314 -1] ) (case_arm pat_list: [{(-d)} {(--data)} {(--data-ascii)} {(--data-binary)} {(--data-urlencode)}] action: [ (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: { (word_part.EscapedLiteral token: (Token id: Id.Lit_EscapedChar val: '\\@' span_id: 337 ) ) (Id.Lit_Other '*') } ) ) terminator: (Token id:Id.Op_Semi val:';' span_id:341) ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:cur) op: assign_op.Equal rhs: { (braced_var_sub token: (Token id:Id.VSub_Name val:cur span_id:348) suffix_op: (suffix_op.Slice begin: (arith_expr.ArithWord w:{(Id.Lit_Digits 1)}) ) ) } spids: [346] ) ] ) (C {(_filedir)}) (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:358) words: [ { (DQ (braced_var_sub token: (Token id: Id.VSub_Name val: COMPREPLY span_id: 362 ) bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) suffix_op: (suffix_op.PatSub pat: {} replace: {('@')} replace_mode: Id.Lit_Pound ) ) ) } ] ) } spids: [357] ) ] ) ] spids: [329 343] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:379) ) ] spids: [317 326 382 -1] ) (case_arm pat_list: [{(--delegation)}] 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:390) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:392) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: 'none policy always' span_id: 399 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [389] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:413) ) ] spids: [385 386 416 -1] ) (case_arm pat_list: [{(--engine)}] 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:424) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:426) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ (Token id:Id.Lit_Chars val:list span_id:433))} {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [423] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:447) ) ] spids: [419 420 450 -1] ) (case_arm pat_list: [{(--ftp-method)}] 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:458) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:460) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: 'multicwd nocwd singlecwd' span_id: 467 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [457] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:481) ) ] spids: [453 454 484 -1] ) (case_arm pat_list: [{(--ftp-ssl-ccc-mode)}] 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:492) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:494) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: 'active passive' span_id: 501 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [491] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:515) ) ] spids: [487 488 518 -1] ) (case_arm pat_list: [{(--interface)}] action: [ (C {(_available_interfaces)} {(-a)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:530) ) ] spids: [521 522 533 -1] ) (case_arm pat_list: [ {(-x)} {(--proxy)} {(--socks4)} {(--socks4a)} {(--socks5)} {(--socks5-hostname)} ] action: [ (C {(_known_hosts_real)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:553) ) ] spids: [536 547 556 -1] ) (case_arm pat_list: [{(--pubkey)}] action: [ (C {(_filedir)} {(pub)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:568) ) ] spids: [559 560 571 -1] ) (case_arm pat_list: [{(--stderr)}] 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:579) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:581) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ (Token id:Id.Lit_Chars val:- span_id:588))} {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [578] ) ] ) (C {(_filedir)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:605) ) ] spids: [574 575 608 -1] ) (case_arm pat_list: [{(--tlsauthtype)}] 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:616) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:618) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ (Token id:Id.Lit_Chars val:SRP span_id:625))} {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [615] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:639) ) ] spids: [611 612 642 -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:661) ) ] 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:667) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:669) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: '$( _parse_help "$1" )' span_id: 676 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [666] ) ] ) ] spids: [649 663] ) ] ) ] ) ) (C {(complete)} {(-F)} {(_curl)} {(curl)}) ] )