(command.AndOr ops: [Op_DAmp] children: [ (command.FuncDef name: _appdata_validate body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:cur spids:[13]) op: Equal spids: [13] ) (assign_pair lhs: (lhs_expr.LhsName name:prev spids:[15]) op: Equal spids: [15] ) (assign_pair lhs: (lhs_expr.LhsName name:words spids:[17]) op: Equal spids: [17] ) (assign_pair lhs: (lhs_expr.LhsName name:cword spids:[19]) op: Equal spids: [19] ) (assign_pair lhs: (lhs_expr.LhsName name:split spids:[21]) op: Equal spids: [21] ) ] spids: [11] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(_init_completion)} {(-s)}) (command.ControlFlow token:<ControlFlow_Return return>) ] ) (command.Case to_match: {($ VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [{(-h)} {(--help)} {(--version)}] action: [(command.ControlFlow token:<ControlFlow_Return return>)] spids: [42 47 53 16777215] ) (case_arm pat_list: [{(--output-format)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[60]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {($ VSub_Number '$1')} {(--help)}) (C {(sed)} {(-ne)} { (SQ < 's/--output-format.*\\[\\(.*\\)\\]/\\1/' > ) } {(-e)} {(SQ <'s/|/ /gp'>)} ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [70 93] ) ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [63 104] ) } ] ) } spids: [60] ) ] spids: [60] ) (command.ControlFlow token:<ControlFlow_Return return>) ] spids: [56 57 112 16777215] ) ] spids: [35 39 115] ) (command.AndOr ops: [Op_DAmp] children: [ (C {($ VSub_DollarName '$split')}) (command.ControlFlow token:<ControlFlow_Return return> arg_word:{(0)}) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_DollarName '$cur')} right: {(-) (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[146]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'$( _parse_help "$1" )'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [149 165] ) } ] ) } spids: [146] ) ] spids: [146] ) (command.AndOr ops: [Op_DAmp] children: [ (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_DollarName '$COMPREPLY')} right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')} ) ) (C {(compopt)} {(-o)} {(nospace)}) ] ) (command.ControlFlow token:<ControlFlow_Return return>) ] spids: [16777215 143] ) ] spids: [16777215 193] ) (C {(_filedir)} {(appdata.xml)}) ] spids: [8] ) spids: [4 7] ) (C {(complete)} {(-F)} {(_appdata_validate)} {(appdata-validate)}) ] )