(command.AndOr ops: [Id.Op_DAmp] children: [ (command.ShFunction name: _svnlook 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:33) ) ] ) (C {(local)} {(commands)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:commands) op: assign_op.Equal rhs: { (SQ (Token id: Id.Lit_Chars val: 'author cat changed date diff dirs-changed help ? h history info\n' span_id: 44 ) (Token id: Id.Lit_Chars val: ' lock log propget pget pg proplist plist pl tree uuid youngest' span_id: 45 ) ) } spids: [42] ) ] ) (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:62) ) ] action: [ (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:81) ) ] 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:87) words: [ { (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 89 ) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ (Token id: Id.Lit_Chars val: --version span_id: 96 ) ) } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [86] ) ] ) ] spids: [67 83] ) ] else_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:114) words: [ { (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 116 ) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(DQ ($ Id.VSub_DollarName '$commands'))} {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [113] ) ] ) ] ) ] spids: [50 64] ) ] else_action: [ (C {(local)} {(Id.Lit_VarLike 'command=') (braced_var_sub token: (Token id:Id.VSub_Name val:words span_id:147) bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithWord w:{(Id.Lit_Digits 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:169) ) ] action: [ (C {(local)} {(options)}) (command.Case to_match: {($ Id.VSub_DollarName '$command')} arms: [ (case_arm pat_list: [{(author)} {(cat)} {(date)} {(dirs-changed)} {(info)} {(log)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.Equal rhs: { (SQ (Token id: Id.Lit_Chars val: '--revision --transaction' span_id: 206 ) ) } spids: [204] ) ] ) ] spids: [190 201 210 -1] ) (case_arm pat_list: [{(changed)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.Equal rhs: { (SQ (Token id: Id.Lit_Chars val: '--revision --transaction --copy-info' span_id: 219 ) ) } spids: [217] ) ] ) ] spids: [213 214 223 -1] ) (case_arm pat_list: [{(diff)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.Equal rhs: { (SQ (Token id: Id.Lit_Chars val: '--revision --transaction --no-diff-deleted\n' span_id: 232 ) (Token id: Id.Lit_Chars val: ' --no-diff-added --diff-copy-from' span_id: 233 ) ) } spids: [230] ) ] ) ] spids: [226 227 237 -1] ) (case_arm pat_list: [{(history)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.Equal rhs: { (SQ (Token id: Id.Lit_Chars val: '--revision --show-ids' span_id: 246 ) ) } spids: [244] ) ] ) ] spids: [240 241 250 -1] ) (case_arm pat_list: [{(propget)} {(proplist)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.Equal rhs: { (SQ (Token id: Id.Lit_Chars val: '--revision --transaction --revprop' span_id: 261 ) ) } spids: [259] ) ] ) ] spids: [253 256 265 -1] ) (case_arm pat_list: [{(tree)}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.Equal rhs: { (SQ (Token id: Id.Lit_Chars val: '--revision --transaction --show-ids --full-paths' span_id: 274 ) ) } spids: [272] ) ] ) ] spids: [268 269 278 -1] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.PlusEqual rhs: {(DQ (' --help'))} spids: [285] ) ] ) (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:292) words: [ { (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 294 ) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(DQ ($ Id.VSub_DollarName '$options'))} {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [291] ) ] ) ] spids: [155 171] ) ] else_action: [ (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 '$command'))} right: { (word_part.ExtGlob op: (Token id:Id.ExtGlob_At val:'@(' span_id:328) arms: [{(help)} {('[h') (Id.Lit_Other '?') (']')}] ) } ) ) terminator: (Token id:Id.Op_Semi val:';' span_id:337) ) ] 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:343) words: [ { (command_sub left_token: (Token id: Id.Left_DollarParen val: '$(' span_id: 345 ) command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(DQ ($ Id.VSub_DollarName '$commands'))} {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))} ) ] ) ) } ] ) } spids: [342] ) ] ) ] spids: [318 339] ) ] else_action: [(C {(_filedir)})] ) ] ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Return val:return span_id:382) arg_word: {(0)} ) ] ) ) (C {(complete)} {(-F)} {(_svnlook)} {(-o)} {(default)} {(svnlook)}) ] )