(command.AndOr ops: [Id.Op_DAmp] children: [ (command.ShFunction name: _fbgs 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.Case to_match: {(DQ ($ Id.VSub_DollarName '$prev'))} arms: [ (case_arm pat_list: [{(-f)} {(--font)}] action: [ (C {(local)} {(Id.Lit_VarLike 'IFS=') (single_quoted left: (Token id:Id.Left_SingleQuoteC val:"$'" span_id:48) tokens: [(Token id:Id.Char_OneChar val:'\\n' span_id:49)] ) } ) (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)} { (SQ (Token id: Id.Lit_Chars val: '$( fc-list 2>/dev/null )' span_id: 63 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [53] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:77) ) ] spids: [39 42 80 -1] ) (case_arm pat_list: [{(-m)} {(--mode)}] 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:90) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:92) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: '$( sed \\\n' span_id: 99 ) (Token id: Id.Lit_Chars val: ' -n "/^mode/{s/^mode \\{1,\\}\\"\\([^\\"]\\{1,\\}\\)\\"/\\1/g;p}" \\\n' span_id: 100 ) (Token id:Id.Lit_Chars val:' /etc/fb.modes 2> /dev/null )' span_id:101) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [89] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:115) ) ] spids: [83 86 118 -1] ) (case_arm pat_list: [{(-d)} {(--device)}] 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:128) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:130) command_list: (command.CommandList children: [ (C {(compgen)} {(-f)} {(-d)} {(--)} { (DQ (braced_var_sub token: (Token id: Id.VSub_Name val: cur span_id: 142 ) suffix_op: (suffix_op.Unary op_id: Id.VTest_ColonHyphen arg_word: {(Id.Lit_Slash /) (dev) (Id.Lit_Slash /)} ) ) ) } ) ] ) ) } ] ) } spids: [127] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:155) ) ] spids: [121 124 158 -1] ) (case_arm pat_list: [ {(-fp)} {(--firstpage)} {(-lp)} {(--lastpage)} {(-r)} {(--resolution)} {(-s)} {(--scroll)} {(-t)} {(--timeout)} ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:COMPREPLY) op: assign_op.PlusEqual rhs: { (sh_array_literal left: (Token id:Id.Op_LParen val:'(' span_id:190) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:192) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ (Token id:Id.Lit_Chars val:'{0..9}' span_id:199))} ) ] ) ) } ] ) } spids: [189] ) ] ) (C {(compopt)} {(-o)} {(nospace)}) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:214) ) ] spids: [161 182 217 -1] ) (case_arm pat_list: [{(-T)} {(--vt)} {(-p)} {(--password)} {(-g)} {(--gamma)}] action: [ (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:238) ) ] spids: [220 231 241 -1] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {(DQ ($ Id.VSub_DollarName '$cur'))} right: {(-) (Id.Lit_Other '*')} ) ) terminator: (Token id:Id.Op_Semi val:';' span_id:262) ) ] 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:268) words: [ { (command_sub left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:270) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: '--bell --help --password -fp --firstpage\n' span_id: 277 ) (Token id: Id.Lit_Chars val: ' -lp --lastpage --color -l -xl -xxl --resolution --autozoom\n' span_id: 278 ) (Token id: Id.Lit_Chars val: ' --{,no}autoup --{,no}autodown --{,no}fitwidth --{,no}verbose\n' span_id: 279 ) (Token id: Id.Lit_Chars val: ' --{,no}random --vt --scroll --timeout --{,no}once --gamma --font\n' span_id: 280 ) (Token id:Id.Lit_Chars val:' --device --mode' span_id:281) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [267] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DBracket expr: (bool_expr.WordTest w:{($ Id.VSub_DollarName '$COMPREPLY')}) ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:303) ) ] ) ] spids: [248 264] ) ] ) (C {(_filedir)} {(SQ (Token id:Id.Lit_Chars val:'?(e)ps|pdf' span_id:313))}) ] ) ) (C {(complete)} {(-F)} {(_fbgs)} {(fbgs)}) ] )