(command.AndOr ops: [Op_DAmp] children: [ (command.FuncDef name: _newgrp body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:cur spids:[20]) op: Equal spids: [20] ) (assign_pair lhs: (lhs_expr.LhsName name:prev spids:[22]) op: Equal spids: [22] ) (assign_pair lhs: (lhs_expr.LhsName name:words spids:[24]) op: Equal spids: [24] ) (assign_pair lhs: (lhs_expr.LhsName name:cword spids:[26]) op: Equal spids: [26] ) ] spids: [18] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(_init_completion)}) (command.ControlFlow token:<ControlFlow_Return return>) ] ) (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: {(DQ (-))} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[57]) op: Equal rhs: {(word_part.ArrayLiteralPart words:[{(-)}])} spids: [57] ) ] spids: [57] ) ] spids: [16777215 54] ) ] else_action: [(C {(_allowed_groups)} {(DQ ($ VSub_DollarName '$cur'))})] spids: [65 75] ) ] spids: [15] ) spids: [11 14] ) (C {(complete)} {(-F)} {(_newgrp)} {(newgrp)}) ] )