(command.AndOr ops: [Id.Op_DAmp] children: [ (command.ShFunction name: _e2label 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.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_eq left: {($ Id.VSub_DollarName '$cword')} right: {(1)} ) ) terminator: (Token id:Id.Op_Semi val:';' span_id:41) ) ] 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:48) suffix_op: (suffix_op.Unary op_id: Id.VTest_ColonEquals arg_word: {(Id.Lit_Slash /) (dev) (Id.Lit_Slash /)} ) ) } spids: [46] ) ] ) (C {(_filedir)}) ] spids: [30 43] ) ] ) ] ) ) (C {(complete)} {(-F)} {(_e2label)} {(e2label)}) ] )