D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
SyntaxSuggest
/
LexAll
/
Filename :
cdesc-LexAll.ri
back
Copy
U:RDoc::NormalClass[iI"LexAll:ETI"SyntaxSuggest::LexAll;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"CRipper.lex is not guaranteed to lex the entire source document;To:RDoc::Markup::BlankLine o; ;[I"GThis class guarantees the whole document is lex-ed by iteratively ;TI".lexing the document where ripper stopped.;T@o; ;[I"PPrism likely doesn't have the same problem. Once ripper support is removed ;TI"Nwe can likely reduce the complexity here if not remove the whole concept.;T@o; ;[I"Example usage:;T@o:RDoc::Markup::Verbatim;[ I"&lex = LexAll.new(source: source) ;TI"lex.each do |value| ;TI" puts value.line ;TI"end;T:@format0: @fileI""lib/syntax_suggest/lex_all.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [[I"Enumerable;To;;[ ; @#;0I""lib/syntax_suggest/lex_all.rb;T[[I" class;T[[:public[[I"lex;T@+[I"new;T@+[:protected[ [:private[ [I" instance;T[[;[ [I"[];T@+[I" each;T@+[I" last;T@+[I" to_a;T@+[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@#I"SyntaxSuggest;TcRDoc::NormalModule