Class: Parser::LexerStrings Private

Inherits:
Object show all
Defined in:
sorbet/rbi/parser@3.3.8.0.rbi

Overview

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

line 3 "lib/parser/lexer-strings.rl"

source://parser//lib/parser/lexer-strings.rb#6

Constant Summary collapse

ESCAPES =

This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.

%

source://parser//lib/parser/lexer-strings.rb#3287

T.let(T.unsafe(nil), Hash)
ESCAPE_WHITESPACE =

This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.

source://parser//lib/parser/lexer-strings.rb#5423

T.let(T.unsafe(nil), Hash)
LEX_STATES =

This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.

source://parser//lib/parser/lexer-strings.rb#3332

T.let(T.unsafe(nil), Hash)
REGEXP_META_CHARACTERS =

This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.

source://parser//lib/parser/lexer-strings.rb#3293

T.let(T.unsafe(nil), Regexp)

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lexer, version) ⇒ LexerStrings

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

source://parser//lib/parser/lexer-strings.rb#3300



2681
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2681

def initialize(lexer, version); end

Class Method Details

.lex_en_characterObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of attribute lex_en_character.

source://parser//lib/parser/lexer-strings.rb#3275



2853
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2853

def lex_en_character; end

.lex_en_character=(_arg0) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Sets the attribute lex_en_character

source://parser//lib/parser/lexer-strings.rb#3275

Parameters:

  • value

    the value to set the attribute lex_en_character to.



2860
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2860

def lex_en_character=(_arg0); end

.lex_en_interp_backslash_delimitedObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of attribute lex_en_interp_backslash_delimited.

source://parser//lib/parser/lexer-strings.rb#3255



2865
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2865

def lex_en_interp_backslash_delimited; end

.lex_en_interp_backslash_delimited=(_arg0) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Sets the attribute lex_en_interp_backslash_delimited

source://parser//lib/parser/lexer-strings.rb#3255

Parameters:

  • value

    the value to set the attribute lex_en_interp_backslash_delimited to.



2872
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2872

def lex_en_interp_backslash_delimited=(_arg0); end

.lex_en_interp_backslash_delimited_wordsObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of attribute lex_en_interp_backslash_delimited_words.

source://parser//lib/parser/lexer-strings.rb#3263



2877
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2877

def lex_en_interp_backslash_delimited_words; end

.lex_en_interp_backslash_delimited_words=(_arg0) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Sets the attribute lex_en_interp_backslash_delimited_words

source://parser//lib/parser/lexer-strings.rb#3263

Parameters:

  • value

    the value to set the attribute lex_en_interp_backslash_delimited_words to.



2884
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2884

def lex_en_interp_backslash_delimited_words=(_arg0); end

.lex_en_interp_stringObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of attribute lex_en_interp_string.

source://parser//lib/parser/lexer-strings.rb#3243



2889
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2889

def lex_en_interp_string; end

.lex_en_interp_string=(_arg0) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Sets the attribute lex_en_interp_string

source://parser//lib/parser/lexer-strings.rb#3243

Parameters:

  • value

    the value to set the attribute lex_en_interp_string to.



2896
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2896

def lex_en_interp_string=(_arg0); end

.lex_en_interp_wordsObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of attribute lex_en_interp_words.

source://parser//lib/parser/lexer-strings.rb#3239



2901
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2901

def lex_en_interp_words; end

.lex_en_interp_words=(_arg0) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Sets the attribute lex_en_interp_words

source://parser//lib/parser/lexer-strings.rb#3239

Parameters:

  • value

    the value to set the attribute lex_en_interp_words to.



2908
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2908

def lex_en_interp_words=(_arg0); end

.lex_en_plain_backslash_delimitedObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of attribute lex_en_plain_backslash_delimited.

source://parser//lib/parser/lexer-strings.rb#3259



2913
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2913

def lex_en_plain_backslash_delimited; end

.lex_en_plain_backslash_delimited=(_arg0) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Sets the attribute lex_en_plain_backslash_delimited

source://parser//lib/parser/lexer-strings.rb#3259

Parameters:

  • value

    the value to set the attribute lex_en_plain_backslash_delimited to.



2920
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2920

def lex_en_plain_backslash_delimited=(_arg0); end

.lex_en_plain_backslash_delimited_wordsObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of attribute lex_en_plain_backslash_delimited_words.

source://parser//lib/parser/lexer-strings.rb#3267



2925
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2925

def lex_en_plain_backslash_delimited_words; end

.lex_en_plain_backslash_delimited_words=(_arg0) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Sets the attribute lex_en_plain_backslash_delimited_words

source://parser//lib/parser/lexer-strings.rb#3267

Parameters:

  • value

    the value to set the attribute lex_en_plain_backslash_delimited_words to.



2932
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2932

def lex_en_plain_backslash_delimited_words=(_arg0); end

.lex_en_plain_stringObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of attribute lex_en_plain_string.

source://parser//lib/parser/lexer-strings.rb#3251



2937
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2937

def lex_en_plain_string; end

.lex_en_plain_string=(_arg0) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Sets the attribute lex_en_plain_string

source://parser//lib/parser/lexer-strings.rb#3251

Parameters:

  • value

    the value to set the attribute lex_en_plain_string to.



2944
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2944

def lex_en_plain_string=(_arg0); end

.lex_en_plain_wordsObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of attribute lex_en_plain_words.

source://parser//lib/parser/lexer-strings.rb#3247



2949
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2949

def lex_en_plain_words; end

.lex_en_plain_words=(_arg0) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Sets the attribute lex_en_plain_words

source://parser//lib/parser/lexer-strings.rb#3247

Parameters:

  • value

    the value to set the attribute lex_en_plain_words to.



2956
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2956

def lex_en_plain_words=(_arg0); end

.lex_en_regexp_modifiersObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of attribute lex_en_regexp_modifiers.

source://parser//lib/parser/lexer-strings.rb#3271



2961
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2961

def lex_en_regexp_modifiers; end

.lex_en_regexp_modifiers=(_arg0) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Sets the attribute lex_en_regexp_modifiers

source://parser//lib/parser/lexer-strings.rb#3271

Parameters:

  • value

    the value to set the attribute lex_en_regexp_modifiers to.



2968
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2968

def lex_en_regexp_modifiers=(_arg0); end

.lex_en_unknownObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of attribute lex_en_unknown.

source://parser//lib/parser/lexer-strings.rb#3279



2973
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2973

def lex_en_unknown; end

.lex_en_unknown=(_arg0) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Sets the attribute lex_en_unknown

source://parser//lib/parser/lexer-strings.rb#3279

Parameters:

  • value

    the value to set the attribute lex_en_unknown to.



2980
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2980

def lex_en_unknown=(_arg0); end

.lex_errorObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of attribute lex_error.

source://parser//lib/parser/lexer-strings.rb#3234



2985
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2985

def lex_error; end

.lex_error=(_arg0) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Sets the attribute lex_error

source://parser//lib/parser/lexer-strings.rb#3234

Parameters:

  • value

    the value to set the attribute lex_error to.



2992
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2992

def lex_error=(_arg0); end

.lex_startObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of attribute lex_start.

source://parser//lib/parser/lexer-strings.rb#3230



2997
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2997

def lex_start; end

.lex_start=(_arg0) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Sets the attribute lex_start

source://parser//lib/parser/lexer-strings.rb#3230

Parameters:

  • value

    the value to set the attribute lex_start to.



3004
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 3004

def lex_start=(_arg0); end

Instance Method Details

#advance(p) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

source://parser//lib/parser/lexer-strings.rb#3339



2684
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2684

def advance(p); end

#close_interp_on_current_literal(p) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

source://parser//lib/parser/lexer-strings.rb#5069



2687
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2687

def close_interp_on_current_literal(p); end

#continue_lexing(current_literal) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

source://parser//lib/parser/lexer-strings.rb#5043



2690
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2690

def continue_lexing(current_literal); end

#dedent_levelObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

source://parser//lib/parser/lexer-strings.rb#5092



2693
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2693

def dedent_level; end

#herebody_sObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of attribute herebody_s.

source://parser//lib/parser/lexer-strings.rb#3295



2698
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2698

def herebody_s; end

#herebody_s=(_arg0) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Sets the attribute herebody_s

source://parser//lib/parser/lexer-strings.rb#3295

Parameters:

  • value

    the value to set the attribute herebody_s to.



2705
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2705

def herebody_s=(_arg0); end

#literalObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

source://parser//lib/parser/lexer-strings.rb#5047



2708
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2708

def literal; end

#next_state_for_literal(literal) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

source://parser//lib/parser/lexer-strings.rb#5015



2711
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2711

def next_state_for_literal(literal); end

#on_newline(p) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

This hook is triggered by "main" lexer on every newline character

source://parser//lib/parser/lexer-strings.rb#5100



2716
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2716

def on_newline(p); end

#pop_literalObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

source://parser//lib/parser/lexer-strings.rb#5051



2719
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2719

def pop_literal; end

#push_literal(*args) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

=== LITERAL STACK ===

source://parser//lib/parser/lexer-strings.rb#5009



2724
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2724

def push_literal(*args); end

#read_character_constant(p) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

source://parser//lib/parser/lexer-strings.rb#4999



2727
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2727

def read_character_constant(p); end

#resetObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

source://parser//lib/parser/lexer-strings.rb#3314



2730
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2730

def reset; end

#source_bufferObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Set by "main" lexer

source://parser//lib/parser/lexer-strings.rb#3298



2735
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2735

def source_buffer; end

#source_buffer=(_arg0) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Set by "main" lexer

source://parser//lib/parser/lexer-strings.rb#3298



2740
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2740

def source_buffer=(_arg0); end

#source_ptsObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Set by "main" lexer

source://parser//lib/parser/lexer-strings.rb#3298



2745
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2745

def source_pts; end

#source_pts=(_arg0) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Set by "main" lexer

source://parser//lib/parser/lexer-strings.rb#3298



2750
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 2750

def source_pts=(_arg0); end