(command.AndOr ops: [Id.Op_DAmp] children: [ (command.ShFunction name: _brctl 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) ) ] ) (C {(local)} {(Id.Lit_VarLike 'command=') (braced_var_sub token: (Token id:Id.VSub_Name val:words span_id:34) bracket_op: (bracket_op.ArrayIndex expr:(arith_expr.ArithWord w:{(Id.Lit_Digits 1)})) ) } ) (command.Case to_match: {($ Id.VSub_DollarName '$cword')} arms: [ (case_arm pat_list: [{(1)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: (Token id:Id.Op_LParen val:'(' span_id:54) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:56) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (DQ ('addbr delbr addif delif setageing\n') ( ' setbridgeprio setfd sethello setmaxage setpathcost setportprio\n' ) (' show showmacs showstp stp') ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [53] ) ] ) ] spids: [49 50 79 -1] ) (case_arm pat_list: [{(2)}] action: [ (command.Case to_match: {($ Id.VSub_DollarName '$command')} arms: [ (case_arm pat_list:[{(show)}] spids:[93 94 97 -1]) (case_arm pat_list: [{(Id.Lit_Star '*')}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: (Token id:Id.Op_LParen val:'(' span_id:105) words: [ { (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 107 ) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (DQ (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 114 ) command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {($ Id.VSub_Number '$1')} {(show)} ) (C {(awk)} { (SQ (Token id: Id.Lit_Chars val: 'NR>1 {print $1}' span_id: 126 ) ) } ) ] negated: F ) ] ) ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [104] ) ] ) ] spids: [100 101 -1 143] ) ] ) ] spids: [82 83 146 -1] ) (case_arm pat_list: [{(3)}] action: [ (command.Case to_match: {($ Id.VSub_DollarName '$command')} arms: [ (case_arm pat_list: [{(addif)} {(delif)}] action: [(C {(_configured_interfaces)})] spids: [160 163 169 -1] ) (case_arm pat_list: [{(stp)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.Equal rhs: { (sh_array_literal left: (Token id:Id.Op_LParen val:'(' span_id:177) words: [ { (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 179 ) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: 'on off' span_id: 186 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [176] ) ] ) ] spids: [172 173 200 -1] ) ] ) ] spids: [149 150 206 -1] ) ] ) ] ) ) (C {(complete)} {(-F)} {(_brctl)} {(-o)} {(default)} {(brctl)}) ] )