PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Prism
/
Translation
/
Parser
/
Lexer
U:RDoc::NormalClass[iI" Lexer:ETI"&Prism::Translation::Parser::Lexer;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"bAccepts a list of prism tokens and converts them into the expected format for the parser gem.;T: @fileI"*lib/prism/translation/parser/lexer.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[[ I" lexed;TI"R;T:publicFI"*lib/prism/translation/parser/lexer.rb;T[ I"offset_cache;T@;F@[ I"source_buffer;T@;F@[U:RDoc::Constant[i I"TYPES_ALWAYS_SKIP;TI"9Prism::Translation::Parser::Lexer::TYPES_ALWAYS_SKIP;T:private0o;;[o; ;[I"$These tokens are always skipped;T; @;0@@cRDoc::NormalClass0U; [i I" TYPES;TI"-Prism::Translation::Parser::Lexer::TYPES;T;0o;;[o; ;[I"<The direct translating of types between the two lexers.;T; @;0@@@%0U; [i I"LAMBDA_TOKEN_TYPES;TI":Prism::Translation::Parser::Lexer::LAMBDA_TOKEN_TYPES;T;0o;;[o; ;[I"vIt is used to determine whether <code>do</code> is of the token type <code>kDO</code> or <code>kDO_LAMBDA</code>.;To; ;[I"�NOTE: In edge cases like <code>-> (foo = -> (bar) {}) do end</code>, please note that <code>kDO</code> is still returned instead of <code>kDO_LAMBDA</code>, which is expected: https://github.com/ruby/prism/pull/3046;T; @;0@@@%0U; [i I""LPAREN_CONVERSION_TOKEN_TYPES;TI"EPrism::Translation::Parser::Lexer::LPAREN_CONVERSION_TOKEN_TYPES;T;0o;;[o; ;[I"�The <code>PARENTHESIS_LEFT</code> token in Prism is classified as either <code>tLPAREN</code> or <code>tLPAREN2</code> in the Parser gem. The following token types are listed as those classified as <code>tLPAREN</code>.;T; @;0@@@%0U; [i I"COMMENT_CONTINUATION_TYPES;TI"BPrism::Translation::Parser::Lexer::COMMENT_CONTINUATION_TYPES;T;0o;;[o; ;[I"�Types of tokens that are allowed to continue a method call with comments in-between. For these, the parser gem doesn't emit a newline token after the last comment.;T; @;0@@@%0U; [i I"HeredocData;TI"3Prism::Translation::Parser::Lexer::HeredocData;T;0o;;[o; ;[I"YHeredocs are complex and require us to keep track of a bit of info to refer to later;T; @;0@@@%0U; [i I"ESCAPES;TI"/Prism::Translation::Parser::Lexer::ESCAPES;T;0o;;[o; ;[I"\Escape sequences that have special and should appear unescaped in the resulting string.;T; @;0@@@%0U; [i I"DELIMITER_SYMETRY;TI"9Prism::Translation::Parser::Lexer::DELIMITER_SYMETRY;T;0o;;[o; ;[I"fWhen one of these delimiters is encountered, then the other one is allowed to be escaped as well.;T; @;0@@@%0U; [i I"REGEXP_META_CHARACTERS;TI">Prism::Translation::Parser::Lexer::REGEXP_META_CHARACTERS;T;0o;;[o; ;[I"Whttps://github.com/whitequark/parser/blob/v3.3.6.0/lib/parser/lexer-strings.rl#L14;T; @;0@@@%0[ [[I" class;T[[;[[I"new;T@[:protected[ [;[ [I" instance;T[[;[[I" to_a;T@[;[ [;[[I"!calculate_heredoc_whitespace;T@[I"escape_build;T@[I"escape_read;T@[I"interpolation?;T@[I"parse_complex;T@[I"parse_float;T@[I"parse_integer;T@[I"parse_rational;T@[I"percent_array?;T@[I"%percent_array_leading_whitespace;T@[I"percent_array_unescape;T@[I" range;T@[I"regexp?;T@[I"simplify_string?;T@[I"trim_heredoc_whitespace;T@[I"unescape_string;T@[ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@I"Prism::Translation::Parser;T@%
[-] parse_rational-i.ri
[edit]
[-] lexed-i.ri
[edit]
[-] calculate_heredoc_whitespace-i.ri
[edit]
[-] to_a-i.ri
[edit]
[-] new-c.ri
[edit]
[-] escape_build-i.ri
[edit]
[-] parse_integer-i.ri
[edit]
[-] parse_complex-i.ri
[edit]
[-] interpolation%3f-i.ri
[edit]
[-] regexp%3f-i.ri
[edit]
[-] percent_array_leading_whitespace-i.ri
[edit]
[-] cdesc-Lexer.ri
[edit]
[-] range-i.ri
[edit]
[-] offset_cache-i.ri
[edit]
[-] trim_heredoc_whitespace-i.ri
[edit]
[-] percent_array_unescape-i.ri
[edit]
[-] parse_float-i.ri
[edit]
[-] source_buffer-i.ri
[edit]
[-] unescape_string-i.ri
[edit]
[+]
..
[-] escape_read-i.ri
[edit]
[-] percent_array%3f-i.ri
[edit]
[-] simplify_string%3f-i.ri
[edit]