Class: Parser::LexerStrings Private

Inherits:
Object show all
Defined in:
sorbet/rbi/parser@3.3.7.4.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



2675
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2675

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



2847
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2847

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.



2854
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2854

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



2859
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2859

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.



2866
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2866

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



2871
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2871

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.



2878
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2878

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



2883
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2883

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.



2890
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2890

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



2895
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2895

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.



2902
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2902

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



2907
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2907

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.



2914
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2914

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



2919
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2919

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.



2926
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2926

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



2931
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2931

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.



2938
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2938

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



2943
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2943

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.



2950
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2950

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



2955
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2955

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.



2962
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2962

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



2967
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2967

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.



2974
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2974

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



2979
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2979

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.



2986
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2986

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



2991
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2991

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.



2998
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2998

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



2678
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2678

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



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

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



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

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



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

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



2692
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2692

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.



2699
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2699

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



2702
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2702

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



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

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



2710
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2710

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



2713
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2713

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



2718
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2718

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



2721
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2721

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



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

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



2729
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2729

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



2734
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2734

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



2739
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2739

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



2744
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 2744

def source_pts=(_arg0); end