# File lib/rcodetools/completion.rb, line 357 357: def completion_code(code, lineno, column=nil) 358: elisp = "(progn\n" 359: table = "(setq rct-method-completion-table '(" 360: help_alist = "(setq alist '(" 361: 362: begin 363: klass, cands = candidates_with_class(code, lineno, column) 364: cands.sort.each do |minfo| 365: meth, description = split_method_info(minfo) 366: table << format('("%s\t[%s]") ', meth, description) 367: help_alist << format('("%s" . "%s")', meth, description) 368: end 369: table << "))\n" 370: help_alist << "))\n" 371: rescue Exception => err 372: return error_code(err) 373: end 374: elisp << table << help_alist 375: elisp << %[(setq pattern "#{prefix}")\n] 376: elisp << %[(setq klass "#{klass}")\n] 377: elisp << ")" # /progn 378: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.