(command.AndOr ops: [Op_DAmp] children: [ (command.FuncDef name: _lsof 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: [ {(-) (SQ <'?'>)} {(-h)} {(Lit_Other '+') (c)} {(-c)} {(-d)} {(-F)} {(-i)} {(Lit_Other '+') (r)} {(-r)} {(-s)} {(-S)} {(-T)} ] action: [(command.ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})] spids: [37 65 73 16777215] ) (case_arm pat_list: [{(-A)} {(-k)} {(-m)} {(Lit_Other '+') (m)} {(-o)}] action: [ (C {(_filedir)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [76 86 97 16777215] ) (case_arm pat_list: [{(Lit_Other '+') (d)} {(Lit_Other '+') (D)}] action: [ (C {(_filedir)} {(-d)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [100 105 118 16777215] ) (case_arm pat_list: [{(-D)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[125]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'? b i r u'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [128 144] ) } ] ) } spids: [125] ) ] spids: [125] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [121 122 154 16777215] ) (case_arm pat_list: [{(-f)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[161]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'c f g G n'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [164 180] ) } ] ) } spids: [161] ) ] spids: [161] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [157 158 190 16777215] ) (case_arm pat_list: [{(-g)}] action: [ (C {(_pgids)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [193 194 209 16777215] ) (case_arm pat_list: [{(-p)}] action: [ (C {(_pids)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [212 213 228 16777215] ) (case_arm pat_list: [{(-u)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[239]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-u)} {(--)} {(DQ ($ VSub_DollarName '$cur'))}) ] ) left_token: <Left_CommandSub '$('> spids: [242 254] ) } ] ) } spids: [239] ) ] spids: [239] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [231 232 264 16777215] ) ] spids: [30 34 267] ) (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 '[') (-) (Lit_Other '+') (Lit_Other ']') (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[293]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ < '-h -a -A -b -c +c -C +d -d +D -D +f -f -F -g\n' > <' -i -k -l +L -L +m -m +M -M -n -N -o -O -p -P +r -r -R -s -S -T -t\n'> <' -u -U -v -V +w -w -x -X -z -Z'> ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [296 314] ) } ] ) } spids: [293] ) ] spids: [293] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [16777215 290] ) ] spids: [16777215 324] ) (C {(_filedir)}) ] spids: [8] ) spids: [4 7] ) (C {(complete)} {(-F)} {(_lsof)} {(lsof)}) ] )