| Server IP : 162.214.74.102 / Your IP : 216.73.217.21 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Ripper/ |
Upload File : |
U:RDoc::AnyMethod[iI"lex:EFI"Ripper::lex;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"BTokenizes the Ruby program and returns an array of an array, ;TI"Jwhich is formatted like <code>[[lineno, column], type, token]</code>.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"require 'ripper'
;TI"require 'pp'
;TI"
;TI"'pp Ripper.lex("def m(a) nil end")
;TI"* #=> [[[1, 0], :on_kw, "def"],
;TI"* [[1, 3], :on_sp, " " ],
;TI"* [[1, 4], :on_ident, "m" ],
;TI"* [[1, 5], :on_lparen, "(" ],
;TI"* [[1, 6], :on_ident, "a" ],
;TI"* [[1, 7], :on_rparen, ")" ],
;TI"* [[1, 8], :on_sp, " " ],
;TI"* [[1, 9], :on_kw, "nil"],
;TI"* [[1, 12], :on_sp, " " ],
;TI") [[1, 13], :on_kw, "end"]];T:@format0:
@fileI"#ext/ripper/lib/ripper/lexer.rb;T:0@omit_headings_from_table_of_contents_below000[ I"&(src, filename = '-', lineno = 1);T@ FI"Ripper;TcRDoc::NormalClass00