(command.AndOr ops: [Op_DAmp] children: [ (command.FuncDef name: _xsltproc 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] ) ] spids: [11] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(_init_completion)}) (command.ControlFlow token:<ControlFlow_Return return>) ] ) (command.Case to_match: {($ VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [{(--output)} {(-o)}] action: [ (C {(_filedir)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [37 40 51 16777215] ) (case_arm pat_list: [{(--maxdepth)}] action: [(command.ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})] spids: [58 59 67 16777215] ) (case_arm pat_list: [{(--encoding)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[78]) 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 {(iconv)} {(-l)}) (C {(sed)} {(-e)} {(SQ <'/^UTF[1378]/d'>)} {(-e)} {(SQ <'/^ISO[0-9_]/d'>)} {(-e)} {(SQ <'/^8859/d'>)} {(-e)} {(SQ <'s/\\/.*//'>)} ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [88 123] ) ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [81 132] ) } ] ) } spids: [78] ) ] spids: [78] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [70 71 142 16777215] ) (case_arm pat_list: [{(--param)} {(--stringparam)}] action: [(command.ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})] spids: [145 148 156 16777215] ) (case_arm pat_list: [{(--path)}] action: [ (C {(_filedir)} {(-d)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [163 164 177 16777215] ) (case_arm pat_list: [{(--writesubtree)}] action: [ (C {(_filedir)} {(-d)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [180 181 194 16777215] ) ] spids: [30 34 197] ) (command.AndOr ops: [Op_DAmp] children: [ (command.DBracket expr: (bool_expr.LogicalAnd left: (bool_expr.BoolBinary op_id: BoolBinary_gt left: {($ VSub_DollarName '$cword')} right: {(2)} ) right: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(_get_cword)} {(SQ )} {(2)})] ) left_token: <Left_Backtick '`'> spids: [211 218] ) } right: {(--) (word_part.ExtGlobPart op: <ExtGlob_QMark '?('> arms: [{(string)}] spids: [223 225] ) (param) } ) ) ) (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: {(DQ ($ 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:[259]) 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: [262 278] ) } ] ) } spids: [259] ) ] spids: [259] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[283]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (DQ (word_part.BracedVarSub token: <VSub_Name COMPREPLY> bracket_op: (bracket_op.WholeArray op_id:Lit_At) suffix_op: (suffix_op.StringUnary op_id: VOp1_Percent arg_word: {(':')} ) spids: [287 294] ) ) } ] ) } spids: [283] ) ] spids: [283] ) ] spids: [16777215 256] ) ] else_action: [(C {(_filedir)} {(SQ <'@(xsl|xslt|xml|dbk|docbook)'>)})] spids: [300 314] ) ] spids: [8] ) spids: [4 7] ) (C {(complete)} {(-F)} {(_xsltproc)} {(xsltproc)}) ] )