activerecord-ejection_seat 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/.tool-versions +1 -1
  4. data/CODE_OF_CONDUCT.md +1 -1
  5. data/Gemfile.lock +30 -30
  6. data/README.md +19 -8
  7. data/activerecord-ejection_seat.gemspec +3 -3
  8. data/lib/activerecord-ejection_seat/version.rb +1 -1
  9. data/sorbet/rbi/gems/{activemodel@7.0.4.1.rbi → activemodel@7.0.4.2.rbi} +0 -0
  10. data/sorbet/rbi/gems/{activerecord@7.0.4.1.rbi → activerecord@7.0.4.2.rbi} +128 -128
  11. data/sorbet/rbi/gems/{activesupport@7.0.4.1.rbi → activesupport@7.0.4.2.rbi} +1 -1
  12. data/sorbet/rbi/gems/{concurrent-ruby@1.1.10.rbi → concurrent-ruby@1.2.0.rbi} +1158 -1220
  13. data/sorbet/rbi/gems/irb@1.6.2.rbi +35 -50
  14. data/sorbet/rbi/gems/{language_server-protocol@3.17.0.2.rbi → language_server-protocol@3.17.0.3.rbi} +0 -0
  15. data/sorbet/rbi/gems/{parser@3.2.0.0.rbi → parser@3.2.1.0.rbi} +596 -307
  16. data/sorbet/rbi/gems/{regexp_parser@2.6.1.rbi → regexp_parser@2.7.0.rbi} +598 -144
  17. data/sorbet/rbi/gems/{rubocop-ast@1.24.1.rbi → rubocop-ast@1.26.0.rbi} +94 -94
  18. data/sorbet/rbi/gems/{rubocop-minitest@0.26.1.rbi → rubocop-minitest@0.27.0.rbi} +111 -45
  19. data/sorbet/rbi/gems/{rubocop-sorbet@0.6.11.rbi → rubocop-sorbet@0.7.0.rbi} +158 -114
  20. data/sorbet/rbi/gems/{rubocop@1.43.0.rbi → rubocop@1.45.1.rbi} +1339 -954
  21. data/sorbet/rbi/gems/{ruby-lsp@0.3.8.rbi → ruby-lsp@0.4.0.rbi} +0 -0
  22. data/sorbet/rbi/gems/{syntax_tree@5.2.0.rbi → syntax_tree@6.0.0.rbi} +0 -0
  23. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5917 -0
  24. metadata +22 -22
  25. data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +0 -8
@@ -868,7 +868,7 @@ end
868
868
 
869
869
  # @api public
870
870
  #
871
- # source://parser//lib/parser.rb#76
871
+ # source://parser//lib/parser.rb#77
872
872
  module Parser::Builders; end
873
873
 
874
874
  # source://parser//lib/parser/builders/default.rb#8
@@ -1912,723 +1912,550 @@ Parser::Diagnostic::LEVELS = T.let(T.unsafe(nil), Array)
1912
1912
  class Parser::Lexer
1913
1913
  # @return [Lexer] a new instance of Lexer
1914
1914
  #
1915
- # source://parser//lib/parser/lexer-F1.rb#11148
1915
+ # source://parser//lib/parser/lexer-F1.rb#8250
1916
1916
  def initialize(version); end
1917
1917
 
1918
1918
  # Return next token: [type, value].
1919
1919
  #
1920
- # source://parser//lib/parser/lexer-F1.rb#11323
1920
+ # source://parser//lib/parser/lexer-F1.rb#8410
1921
1921
  def advance; end
1922
1922
 
1923
1923
  # Returns the value of attribute cmdarg.
1924
1924
  #
1925
- # source://parser//lib/parser/lexer-F1.rb#11142
1925
+ # source://parser//lib/parser/lexer-F1.rb#8244
1926
1926
  def cmdarg; end
1927
1927
 
1928
1928
  # Sets the attribute cmdarg
1929
1929
  #
1930
1930
  # @param value the value to set the attribute cmdarg to.
1931
1931
  #
1932
- # source://parser//lib/parser/lexer-F1.rb#11142
1932
+ # source://parser//lib/parser/lexer-F1.rb#8244
1933
1933
  def cmdarg=(_arg0); end
1934
1934
 
1935
1935
  # Returns the value of attribute cmdarg_stack.
1936
1936
  #
1937
- # source://parser//lib/parser/lexer-F1.rb#11146
1937
+ # source://parser//lib/parser/lexer-F1.rb#8248
1938
1938
  def cmdarg_stack; end
1939
1939
 
1940
1940
  # Returns the value of attribute command_start.
1941
1941
  #
1942
- # source://parser//lib/parser/lexer-F1.rb#11142
1942
+ # source://parser//lib/parser/lexer-F1.rb#8244
1943
1943
  def command_start; end
1944
1944
 
1945
1945
  # Sets the attribute command_start
1946
1946
  #
1947
1947
  # @param value the value to set the attribute command_start to.
1948
1948
  #
1949
- # source://parser//lib/parser/lexer-F1.rb#11142
1949
+ # source://parser//lib/parser/lexer-F1.rb#8244
1950
1950
  def command_start=(_arg0); end
1951
1951
 
1952
1952
  # Returns the value of attribute comments.
1953
1953
  #
1954
- # source://parser//lib/parser/lexer-F1.rb#11144
1954
+ # source://parser//lib/parser/lexer-F1.rb#8246
1955
1955
  def comments; end
1956
1956
 
1957
1957
  # Sets the attribute comments
1958
1958
  #
1959
1959
  # @param value the value to set the attribute comments to.
1960
1960
  #
1961
- # source://parser//lib/parser/lexer-F1.rb#11144
1961
+ # source://parser//lib/parser/lexer-F1.rb#8246
1962
1962
  def comments=(_arg0); end
1963
1963
 
1964
1964
  # Returns the value of attribute cond.
1965
1965
  #
1966
- # source://parser//lib/parser/lexer-F1.rb#11142
1966
+ # source://parser//lib/parser/lexer-F1.rb#8244
1967
1967
  def cond; end
1968
1968
 
1969
1969
  # Sets the attribute cond
1970
1970
  #
1971
1971
  # @param value the value to set the attribute cond to.
1972
1972
  #
1973
- # source://parser//lib/parser/lexer-F1.rb#11142
1973
+ # source://parser//lib/parser/lexer-F1.rb#8244
1974
1974
  def cond=(_arg0); end
1975
1975
 
1976
1976
  # Returns the value of attribute cond_stack.
1977
1977
  #
1978
- # source://parser//lib/parser/lexer-F1.rb#11146
1978
+ # source://parser//lib/parser/lexer-F1.rb#8248
1979
1979
  def cond_stack; end
1980
1980
 
1981
1981
  # Returns the value of attribute context.
1982
1982
  #
1983
- # source://parser//lib/parser/lexer-F1.rb#11142
1983
+ # source://parser//lib/parser/lexer-F1.rb#8244
1984
1984
  def context; end
1985
1985
 
1986
1986
  # Sets the attribute context
1987
1987
  #
1988
1988
  # @param value the value to set the attribute context to.
1989
1989
  #
1990
- # source://parser//lib/parser/lexer-F1.rb#11142
1990
+ # source://parser//lib/parser/lexer-F1.rb#8244
1991
1991
  def context=(_arg0); end
1992
1992
 
1993
- # source://parser//lib/parser/lexer-F1.rb#11315
1993
+ # source://parser//lib/parser/lexer-F1.rb#8405
1994
1994
  def dedent_level; end
1995
1995
 
1996
1996
  # Returns the value of attribute diagnostics.
1997
1997
  #
1998
- # source://parser//lib/parser/lexer-F1.rb#11138
1998
+ # source://parser//lib/parser/lexer-F1.rb#8240
1999
1999
  def diagnostics; end
2000
2000
 
2001
2001
  # Sets the attribute diagnostics
2002
2002
  #
2003
2003
  # @param value the value to set the attribute diagnostics to.
2004
2004
  #
2005
- # source://parser//lib/parser/lexer-F1.rb#11138
2005
+ # source://parser//lib/parser/lexer-F1.rb#8240
2006
2006
  def diagnostics=(_arg0); end
2007
2007
 
2008
- # source://parser//lib/parser/lexer-F1.rb#11265
2008
+ # source://parser//lib/parser/lexer-F1.rb#8358
2009
2009
  def encoding; end
2010
2010
 
2011
2011
  # Returns the value of attribute force_utf32.
2012
2012
  #
2013
- # source://parser//lib/parser/lexer-F1.rb#11140
2013
+ # source://parser//lib/parser/lexer-F1.rb#8242
2014
2014
  def force_utf32; end
2015
2015
 
2016
2016
  # Sets the attribute force_utf32
2017
2017
  #
2018
2018
  # @param value the value to set the attribute force_utf32 to.
2019
2019
  #
2020
- # source://parser//lib/parser/lexer-F1.rb#11140
2020
+ # source://parser//lib/parser/lexer-F1.rb#8242
2021
2021
  def force_utf32=(_arg0); end
2022
2022
 
2023
2023
  # Returns the value of attribute lambda_stack.
2024
2024
  #
2025
- # source://parser//lib/parser/lexer-F1.rb#11146
2025
+ # source://parser//lib/parser/lexer-F1.rb#8248
2026
2026
  def lambda_stack; end
2027
2027
 
2028
2028
  # Returns the value of attribute paren_nest.
2029
2029
  #
2030
- # source://parser//lib/parser/lexer-F1.rb#11146
2030
+ # source://parser//lib/parser/lexer-F1.rb#8248
2031
2031
  def paren_nest; end
2032
2032
 
2033
- # source://parser//lib/parser/lexer-F1.rb#11302
2033
+ # source://parser//lib/parser/lexer-F1.rb#8392
2034
2034
  def pop_cmdarg; end
2035
2035
 
2036
- # source://parser//lib/parser/lexer-F1.rb#11311
2036
+ # source://parser//lib/parser/lexer-F1.rb#8401
2037
2037
  def pop_cond; end
2038
2038
 
2039
- # source://parser//lib/parser/lexer-F1.rb#11297
2039
+ # source://parser//lib/parser/lexer-F1.rb#8387
2040
2040
  def push_cmdarg; end
2041
2041
 
2042
- # source://parser//lib/parser/lexer-F1.rb#11306
2042
+ # source://parser//lib/parser/lexer-F1.rb#8396
2043
2043
  def push_cond; end
2044
2044
 
2045
- # source://parser//lib/parser/lexer-F1.rb#11179
2045
+ # source://parser//lib/parser/lexer-F1.rb#8281
2046
2046
  def reset(reset_state = T.unsafe(nil)); end
2047
2047
 
2048
- # Returns the value of attribute source_buffer.
2048
+ # %
2049
2049
  #
2050
- # source://parser//lib/parser/lexer-F1.rb#11136
2050
+ # source://parser//lib/parser/lexer-F1.rb#8238
2051
2051
  def source_buffer; end
2052
2052
 
2053
- # source://parser//lib/parser/lexer-F1.rb#11244
2053
+ # source://parser//lib/parser/lexer-F1.rb#8334
2054
2054
  def source_buffer=(source_buffer); end
2055
2055
 
2056
- # source://parser//lib/parser/lexer-F1.rb#11289
2056
+ # source://parser//lib/parser/lexer-F1.rb#8379
2057
2057
  def state; end
2058
2058
 
2059
- # source://parser//lib/parser/lexer-F1.rb#11293
2059
+ # source://parser//lib/parser/lexer-F1.rb#8383
2060
2060
  def state=(state); end
2061
2061
 
2062
2062
  # Returns the value of attribute static_env.
2063
2063
  #
2064
- # source://parser//lib/parser/lexer-F1.rb#11139
2064
+ # source://parser//lib/parser/lexer-F1.rb#8241
2065
2065
  def static_env; end
2066
2066
 
2067
2067
  # Sets the attribute static_env
2068
2068
  #
2069
2069
  # @param value the value to set the attribute static_env to.
2070
2070
  #
2071
- # source://parser//lib/parser/lexer-F1.rb#11139
2071
+ # source://parser//lib/parser/lexer-F1.rb#8241
2072
2072
  def static_env=(_arg0); end
2073
2073
 
2074
2074
  # Returns the value of attribute tokens.
2075
2075
  #
2076
- # source://parser//lib/parser/lexer-F1.rb#11144
2076
+ # source://parser//lib/parser/lexer-F1.rb#8246
2077
2077
  def tokens; end
2078
2078
 
2079
2079
  # Sets the attribute tokens
2080
2080
  #
2081
2081
  # @param value the value to set the attribute tokens to.
2082
2082
  #
2083
- # source://parser//lib/parser/lexer-F1.rb#11144
2083
+ # source://parser//lib/parser/lexer-F1.rb#8246
2084
2084
  def tokens=(_arg0); end
2085
2085
 
2086
2086
  # Returns the value of attribute version.
2087
2087
  #
2088
- # source://parser//lib/parser/lexer-F1.rb#11146
2088
+ # source://parser//lib/parser/lexer-F1.rb#8248
2089
2089
  def version; end
2090
2090
 
2091
2091
  protected
2092
2092
 
2093
- # source://parser//lib/parser/lexer-F1.rb#20732
2093
+ # source://parser//lib/parser/lexer-F1.rb#14631
2094
2094
  def arg_or_cmdarg(cmd_state); end
2095
2095
 
2096
- # source://parser//lib/parser/lexer-F1.rb#21096
2096
+ # source://parser//lib/parser/lexer-F1.rb#14693
2097
2097
  def check_ambiguous_slash(tm); end
2098
2098
 
2099
- # source://parser//lib/parser/lexer-F1.rb#21144
2100
- def check_invalid_escapes(p); end
2101
-
2102
- # source://parser//lib/parser/lexer-F1.rb#20756
2099
+ # source://parser//lib/parser/lexer-F1.rb#14655
2103
2100
  def diagnostic(type, reason, arguments = T.unsafe(nil), location = T.unsafe(nil), highlights = T.unsafe(nil)); end
2104
2101
 
2105
- # source://parser//lib/parser/lexer-F1.rb#21047
2106
- def e_heredoc_nl(p); end
2107
-
2108
- # source://parser//lib/parser/lexer-F1.rb#20901
2102
+ # source://parser//lib/parser/lexer-F1.rb#14661
2109
2103
  def e_lbrace; end
2110
2104
 
2111
- # source://parser//lib/parser/lexer-F1.rb#20706
2105
+ # source://parser//lib/parser/lexer-F1.rb#14605
2112
2106
  def emit(type, value = T.unsafe(nil), s = T.unsafe(nil), e = T.unsafe(nil)); end
2113
2107
 
2114
- # source://parser//lib/parser/lexer-F1.rb#21086
2115
- def emit_character_constant; end
2108
+ # source://parser//lib/parser/lexer-F1.rb#14714
2109
+ def emit_class_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end
2116
2110
 
2117
- # source://parser//lib/parser/lexer-F1.rb#21129
2111
+ # source://parser//lib/parser/lexer-F1.rb#14742
2118
2112
  def emit_colon_with_digits(p, tm, diag_msg); end
2119
2113
 
2120
- # source://parser//lib/parser/lexer-F1.rb#20740
2114
+ # source://parser//lib/parser/lexer-F1.rb#14639
2121
2115
  def emit_comment(s = T.unsafe(nil), e = T.unsafe(nil)); end
2122
2116
 
2123
- # source://parser//lib/parser/lexer-F1.rb#20752
2117
+ # source://parser//lib/parser/lexer-F1.rb#14651
2124
2118
  def emit_comment_from_range(p, pe); end
2125
2119
 
2126
- # source://parser//lib/parser/lexer-F1.rb#20722
2120
+ # source://parser//lib/parser/lexer-F1.rb#14621
2127
2121
  def emit_do(do_block = T.unsafe(nil)); end
2128
2122
 
2129
- # source://parser//lib/parser/lexer-F1.rb#21107
2130
- def emit_global_var; end
2123
+ # source://parser//lib/parser/lexer-F1.rb#14704
2124
+ def emit_global_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end
2131
2125
 
2132
- # @return [Boolean]
2133
- #
2134
- # source://parser//lib/parser/lexer-F1.rb#20816
2135
- def emit_invalid_escapes?; end
2126
+ # source://parser//lib/parser/lexer-F1.rb#14722
2127
+ def emit_instance_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end
2136
2128
 
2137
- # source://parser//lib/parser/lexer-F1.rb#21117
2129
+ # source://parser//lib/parser/lexer-F1.rb#14730
2138
2130
  def emit_rbrace_rparen_rbrack; end
2139
2131
 
2140
- # source://parser//lib/parser/lexer-F1.rb#21139
2132
+ # source://parser//lib/parser/lexer-F1.rb#14752
2141
2133
  def emit_singleton_class; end
2142
2134
 
2143
- # source://parser//lib/parser/lexer-F1.rb#20716
2135
+ # source://parser//lib/parser/lexer-F1.rb#14615
2144
2136
  def emit_table(table, s = T.unsafe(nil), e = T.unsafe(nil)); end
2145
2137
 
2146
- # source://parser//lib/parser/lexer-F1.rb#20694
2147
- def encode_escape(ord); end
2148
-
2149
- # source://parser//lib/parser/lexer-F1.rb#21074
2150
- def encode_escaped_char(p); end
2151
-
2152
- # @return [Boolean]
2153
- #
2154
- # source://parser//lib/parser/lexer-F1.rb#20681
2155
- def eof_codepoint?(point); end
2156
-
2157
- # source://parser//lib/parser/lexer-F1.rb#20886
2158
- def extend_interp_code(current_literal); end
2159
-
2160
- # source://parser//lib/parser/lexer-F1.rb#20910
2161
- def extend_interp_digit_var; end
2162
-
2163
- # source://parser//lib/parser/lexer-F1.rb#21065
2164
- def extend_interp_var(current_literal); end
2165
-
2166
- # source://parser//lib/parser/lexer-F1.rb#20919
2167
- def extend_string_eol_check_eof(current_literal, pe); end
2168
-
2169
- # source://parser//lib/parser/lexer-F1.rb#20936
2170
- def extend_string_eol_heredoc_intertwined(p); end
2171
-
2172
- # source://parser//lib/parser/lexer-F1.rb#20926
2173
- def extend_string_eol_heredoc_line; end
2174
-
2175
- # source://parser//lib/parser/lexer-F1.rb#20952
2176
- def extend_string_eol_words(current_literal, p); end
2177
-
2178
- # String escaping
2179
- #
2180
- # source://parser//lib/parser/lexer-F1.rb#20830
2181
- def extend_string_escaped; end
2182
-
2183
- # source://parser//lib/parser/lexer-F1.rb#20972
2184
- def extend_string_for_token_range(current_literal, string); end
2185
-
2186
- # source://parser//lib/parser/lexer-F1.rb#20964
2187
- def extend_string_slice_end(lookahead); end
2188
-
2189
- # source://parser//lib/parser/lexer-F1.rb#20799
2190
- def literal; end
2191
-
2192
- # source://parser//lib/parser/lexer-F1.rb#20771
2193
- def next_state_for_literal(literal); end
2194
-
2195
- # source://parser//lib/parser/lexer-F1.rb#20988
2138
+ # source://parser//lib/parser/lexer-F1.rb#14670
2196
2139
  def numeric_literal_int; end
2197
2140
 
2198
- # source://parser//lib/parser/lexer-F1.rb#20803
2199
- def pop_literal; end
2200
-
2201
- # === LITERAL STACK ===
2202
- #
2203
- # source://parser//lib/parser/lexer-F1.rb#20765
2204
- def push_literal(*args); end
2141
+ # source://parser//lib/parser/lexer-F1.rb#14689
2142
+ def on_newline(p); end
2205
2143
 
2206
- # source://parser//lib/parser/lexer-F1.rb#20702
2144
+ # source://parser//lib/parser/lexer-F1.rb#14601
2207
2145
  def range(s = T.unsafe(nil), e = T.unsafe(nil)); end
2208
2146
 
2209
- # source://parser//lib/parser/lexer-F1.rb#21057
2210
- def read_post_meta_or_ctrl_char(p); end
2211
-
2212
- # source://parser//lib/parser/lexer-F1.rb#21078
2213
- def slash_c_char; end
2214
-
2215
- # source://parser//lib/parser/lexer-F1.rb#21082
2216
- def slash_m_char; end
2217
-
2218
- # source://parser//lib/parser/lexer-F1.rb#20689
2147
+ # source://parser//lib/parser/lexer-F1.rb#14592
2219
2148
  def stack_pop; end
2220
2149
 
2221
- # source://parser//lib/parser/lexer-F1.rb#20698
2150
+ # source://parser//lib/parser/lexer-F1.rb#14597
2222
2151
  def tok(s = T.unsafe(nil), e = T.unsafe(nil)); end
2223
2152
 
2224
- # source://parser//lib/parser/lexer-F1.rb#20976
2225
- def unescape_char(p); end
2226
-
2227
- # source://parser//lib/parser/lexer-F1.rb#21007
2228
- def unicode_points(p); end
2229
-
2230
2153
  # @return [Boolean]
2231
2154
  #
2232
- # source://parser//lib/parser/lexer-F1.rb#20685
2155
+ # source://parser//lib/parser/lexer-F1.rb#14588
2233
2156
  def version?(*versions); end
2234
2157
 
2235
2158
  class << self
2236
2159
  # Returns the value of attribute lex_en_expr_arg.
2237
2160
  #
2238
- # source://parser//lib/parser/lexer-F1.rb#11080
2161
+ # source://parser//lib/parser/lexer-F1.rb#8186
2239
2162
  def lex_en_expr_arg; end
2240
2163
 
2241
2164
  # Sets the attribute lex_en_expr_arg
2242
2165
  #
2243
2166
  # @param value the value to set the attribute lex_en_expr_arg to.
2244
2167
  #
2245
- # source://parser//lib/parser/lexer-F1.rb#11080
2168
+ # source://parser//lib/parser/lexer-F1.rb#8186
2246
2169
  def lex_en_expr_arg=(_arg0); end
2247
2170
 
2248
2171
  # Returns the value of attribute lex_en_expr_beg.
2249
2172
  #
2250
- # source://parser//lib/parser/lexer-F1.rb#11096
2173
+ # source://parser//lib/parser/lexer-F1.rb#8202
2251
2174
  def lex_en_expr_beg; end
2252
2175
 
2253
2176
  # Sets the attribute lex_en_expr_beg
2254
2177
  #
2255
2178
  # @param value the value to set the attribute lex_en_expr_beg to.
2256
2179
  #
2257
- # source://parser//lib/parser/lexer-F1.rb#11096
2180
+ # source://parser//lib/parser/lexer-F1.rb#8202
2258
2181
  def lex_en_expr_beg=(_arg0); end
2259
2182
 
2260
2183
  # Returns the value of attribute lex_en_expr_cmdarg.
2261
2184
  #
2262
- # source://parser//lib/parser/lexer-F1.rb#11084
2185
+ # source://parser//lib/parser/lexer-F1.rb#8190
2263
2186
  def lex_en_expr_cmdarg; end
2264
2187
 
2265
2188
  # Sets the attribute lex_en_expr_cmdarg
2266
2189
  #
2267
2190
  # @param value the value to set the attribute lex_en_expr_cmdarg to.
2268
2191
  #
2269
- # source://parser//lib/parser/lexer-F1.rb#11084
2192
+ # source://parser//lib/parser/lexer-F1.rb#8190
2270
2193
  def lex_en_expr_cmdarg=(_arg0); end
2271
2194
 
2272
2195
  # Returns the value of attribute lex_en_expr_dot.
2273
2196
  #
2274
- # source://parser//lib/parser/lexer-F1.rb#11076
2197
+ # source://parser//lib/parser/lexer-F1.rb#8182
2275
2198
  def lex_en_expr_dot; end
2276
2199
 
2277
2200
  # Sets the attribute lex_en_expr_dot
2278
2201
  #
2279
2202
  # @param value the value to set the attribute lex_en_expr_dot to.
2280
2203
  #
2281
- # source://parser//lib/parser/lexer-F1.rb#11076
2204
+ # source://parser//lib/parser/lexer-F1.rb#8182
2282
2205
  def lex_en_expr_dot=(_arg0); end
2283
2206
 
2284
2207
  # Returns the value of attribute lex_en_expr_end.
2285
2208
  #
2286
- # source://parser//lib/parser/lexer-F1.rb#11108
2209
+ # source://parser//lib/parser/lexer-F1.rb#8214
2287
2210
  def lex_en_expr_end; end
2288
2211
 
2289
2212
  # Sets the attribute lex_en_expr_end
2290
2213
  #
2291
2214
  # @param value the value to set the attribute lex_en_expr_end to.
2292
2215
  #
2293
- # source://parser//lib/parser/lexer-F1.rb#11108
2216
+ # source://parser//lib/parser/lexer-F1.rb#8214
2294
2217
  def lex_en_expr_end=(_arg0); end
2295
2218
 
2296
2219
  # Returns the value of attribute lex_en_expr_endarg.
2297
2220
  #
2298
- # source://parser//lib/parser/lexer-F1.rb#11088
2221
+ # source://parser//lib/parser/lexer-F1.rb#8194
2299
2222
  def lex_en_expr_endarg; end
2300
2223
 
2301
2224
  # Sets the attribute lex_en_expr_endarg
2302
2225
  #
2303
2226
  # @param value the value to set the attribute lex_en_expr_endarg to.
2304
2227
  #
2305
- # source://parser//lib/parser/lexer-F1.rb#11088
2228
+ # source://parser//lib/parser/lexer-F1.rb#8194
2306
2229
  def lex_en_expr_endarg=(_arg0); end
2307
2230
 
2308
2231
  # Returns the value of attribute lex_en_expr_endfn.
2309
2232
  #
2310
- # source://parser//lib/parser/lexer-F1.rb#11072
2233
+ # source://parser//lib/parser/lexer-F1.rb#8178
2311
2234
  def lex_en_expr_endfn; end
2312
2235
 
2313
2236
  # Sets the attribute lex_en_expr_endfn
2314
2237
  #
2315
2238
  # @param value the value to set the attribute lex_en_expr_endfn to.
2316
2239
  #
2317
- # source://parser//lib/parser/lexer-F1.rb#11072
2240
+ # source://parser//lib/parser/lexer-F1.rb#8178
2318
2241
  def lex_en_expr_endfn=(_arg0); end
2319
2242
 
2320
2243
  # Returns the value of attribute lex_en_expr_fname.
2321
2244
  #
2322
- # source://parser//lib/parser/lexer-F1.rb#11068
2245
+ # source://parser//lib/parser/lexer-F1.rb#8174
2323
2246
  def lex_en_expr_fname; end
2324
2247
 
2325
2248
  # Sets the attribute lex_en_expr_fname
2326
2249
  #
2327
2250
  # @param value the value to set the attribute lex_en_expr_fname to.
2328
2251
  #
2329
- # source://parser//lib/parser/lexer-F1.rb#11068
2252
+ # source://parser//lib/parser/lexer-F1.rb#8174
2330
2253
  def lex_en_expr_fname=(_arg0); end
2331
2254
 
2332
2255
  # Returns the value of attribute lex_en_expr_labelarg.
2333
2256
  #
2334
- # source://parser//lib/parser/lexer-F1.rb#11100
2257
+ # source://parser//lib/parser/lexer-F1.rb#8206
2335
2258
  def lex_en_expr_labelarg; end
2336
2259
 
2337
2260
  # Sets the attribute lex_en_expr_labelarg
2338
2261
  #
2339
2262
  # @param value the value to set the attribute lex_en_expr_labelarg to.
2340
2263
  #
2341
- # source://parser//lib/parser/lexer-F1.rb#11100
2264
+ # source://parser//lib/parser/lexer-F1.rb#8206
2342
2265
  def lex_en_expr_labelarg=(_arg0); end
2343
2266
 
2344
2267
  # Returns the value of attribute lex_en_expr_mid.
2345
2268
  #
2346
- # source://parser//lib/parser/lexer-F1.rb#11092
2269
+ # source://parser//lib/parser/lexer-F1.rb#8198
2347
2270
  def lex_en_expr_mid; end
2348
2271
 
2349
2272
  # Sets the attribute lex_en_expr_mid
2350
2273
  #
2351
2274
  # @param value the value to set the attribute lex_en_expr_mid to.
2352
2275
  #
2353
- # source://parser//lib/parser/lexer-F1.rb#11092
2276
+ # source://parser//lib/parser/lexer-F1.rb#8198
2354
2277
  def lex_en_expr_mid=(_arg0); end
2355
2278
 
2356
2279
  # Returns the value of attribute lex_en_expr_value.
2357
2280
  #
2358
- # source://parser//lib/parser/lexer-F1.rb#11104
2281
+ # source://parser//lib/parser/lexer-F1.rb#8210
2359
2282
  def lex_en_expr_value; end
2360
2283
 
2361
2284
  # Sets the attribute lex_en_expr_value
2362
2285
  #
2363
2286
  # @param value the value to set the attribute lex_en_expr_value to.
2364
2287
  #
2365
- # source://parser//lib/parser/lexer-F1.rb#11104
2288
+ # source://parser//lib/parser/lexer-F1.rb#8210
2366
2289
  def lex_en_expr_value=(_arg0); end
2367
2290
 
2368
2291
  # Returns the value of attribute lex_en_expr_variable.
2369
2292
  #
2370
- # source://parser//lib/parser/lexer-F1.rb#11064
2293
+ # source://parser//lib/parser/lexer-F1.rb#8170
2371
2294
  def lex_en_expr_variable; end
2372
2295
 
2373
2296
  # Sets the attribute lex_en_expr_variable
2374
2297
  #
2375
2298
  # @param value the value to set the attribute lex_en_expr_variable to.
2376
2299
  #
2377
- # source://parser//lib/parser/lexer-F1.rb#11064
2300
+ # source://parser//lib/parser/lexer-F1.rb#8170
2378
2301
  def lex_en_expr_variable=(_arg0); end
2379
2302
 
2380
- # Returns the value of attribute lex_en_interp_backslash_delimited.
2303
+ # Returns the value of attribute lex_en_inside_string.
2381
2304
  #
2382
- # source://parser//lib/parser/lexer-F1.rb#11044
2383
- def lex_en_interp_backslash_delimited; end
2305
+ # source://parser//lib/parser/lexer-F1.rb#8230
2306
+ def lex_en_inside_string; end
2384
2307
 
2385
- # Sets the attribute lex_en_interp_backslash_delimited
2308
+ # Sets the attribute lex_en_inside_string
2386
2309
  #
2387
- # @param value the value to set the attribute lex_en_interp_backslash_delimited to.
2310
+ # @param value the value to set the attribute lex_en_inside_string to.
2388
2311
  #
2389
- # source://parser//lib/parser/lexer-F1.rb#11044
2390
- def lex_en_interp_backslash_delimited=(_arg0); end
2391
-
2392
- # Returns the value of attribute lex_en_interp_backslash_delimited_words.
2393
- #
2394
- # source://parser//lib/parser/lexer-F1.rb#11052
2395
- def lex_en_interp_backslash_delimited_words; end
2396
-
2397
- # Sets the attribute lex_en_interp_backslash_delimited_words
2398
- #
2399
- # @param value the value to set the attribute lex_en_interp_backslash_delimited_words to.
2400
- #
2401
- # source://parser//lib/parser/lexer-F1.rb#11052
2402
- def lex_en_interp_backslash_delimited_words=(_arg0); end
2403
-
2404
- # Returns the value of attribute lex_en_interp_string.
2405
- #
2406
- # source://parser//lib/parser/lexer-F1.rb#11032
2407
- def lex_en_interp_string; end
2408
-
2409
- # Sets the attribute lex_en_interp_string
2410
- #
2411
- # @param value the value to set the attribute lex_en_interp_string to.
2412
- #
2413
- # source://parser//lib/parser/lexer-F1.rb#11032
2414
- def lex_en_interp_string=(_arg0); end
2415
-
2416
- # Returns the value of attribute lex_en_interp_words.
2417
- #
2418
- # source://parser//lib/parser/lexer-F1.rb#11028
2419
- def lex_en_interp_words; end
2420
-
2421
- # Sets the attribute lex_en_interp_words
2422
- #
2423
- # @param value the value to set the attribute lex_en_interp_words to.
2424
- #
2425
- # source://parser//lib/parser/lexer-F1.rb#11028
2426
- def lex_en_interp_words=(_arg0); end
2312
+ # source://parser//lib/parser/lexer-F1.rb#8230
2313
+ def lex_en_inside_string=(_arg0); end
2427
2314
 
2428
2315
  # Returns the value of attribute lex_en_leading_dot.
2429
2316
  #
2430
- # source://parser//lib/parser/lexer-F1.rb#11112
2317
+ # source://parser//lib/parser/lexer-F1.rb#8218
2431
2318
  def lex_en_leading_dot; end
2432
2319
 
2433
2320
  # Sets the attribute lex_en_leading_dot
2434
2321
  #
2435
2322
  # @param value the value to set the attribute lex_en_leading_dot to.
2436
2323
  #
2437
- # source://parser//lib/parser/lexer-F1.rb#11112
2324
+ # source://parser//lib/parser/lexer-F1.rb#8218
2438
2325
  def lex_en_leading_dot=(_arg0); end
2439
2326
 
2440
2327
  # Returns the value of attribute lex_en_line_begin.
2441
2328
  #
2442
- # source://parser//lib/parser/lexer-F1.rb#11120
2329
+ # source://parser//lib/parser/lexer-F1.rb#8226
2443
2330
  def lex_en_line_begin; end
2444
2331
 
2445
2332
  # Sets the attribute lex_en_line_begin
2446
2333
  #
2447
2334
  # @param value the value to set the attribute lex_en_line_begin to.
2448
2335
  #
2449
- # source://parser//lib/parser/lexer-F1.rb#11120
2336
+ # source://parser//lib/parser/lexer-F1.rb#8226
2450
2337
  def lex_en_line_begin=(_arg0); end
2451
2338
 
2452
2339
  # Returns the value of attribute lex_en_line_comment.
2453
2340
  #
2454
- # source://parser//lib/parser/lexer-F1.rb#11116
2341
+ # source://parser//lib/parser/lexer-F1.rb#8222
2455
2342
  def lex_en_line_comment; end
2456
2343
 
2457
2344
  # Sets the attribute lex_en_line_comment
2458
2345
  #
2459
2346
  # @param value the value to set the attribute lex_en_line_comment to.
2460
2347
  #
2461
- # source://parser//lib/parser/lexer-F1.rb#11116
2348
+ # source://parser//lib/parser/lexer-F1.rb#8222
2462
2349
  def lex_en_line_comment=(_arg0); end
2463
2350
 
2464
- # Returns the value of attribute lex_en_plain_backslash_delimited.
2465
- #
2466
- # source://parser//lib/parser/lexer-F1.rb#11048
2467
- def lex_en_plain_backslash_delimited; end
2468
-
2469
- # Sets the attribute lex_en_plain_backslash_delimited
2470
- #
2471
- # @param value the value to set the attribute lex_en_plain_backslash_delimited to.
2472
- #
2473
- # source://parser//lib/parser/lexer-F1.rb#11048
2474
- def lex_en_plain_backslash_delimited=(_arg0); end
2475
-
2476
- # Returns the value of attribute lex_en_plain_backslash_delimited_words.
2477
- #
2478
- # source://parser//lib/parser/lexer-F1.rb#11056
2479
- def lex_en_plain_backslash_delimited_words; end
2480
-
2481
- # Sets the attribute lex_en_plain_backslash_delimited_words
2482
- #
2483
- # @param value the value to set the attribute lex_en_plain_backslash_delimited_words to.
2484
- #
2485
- # source://parser//lib/parser/lexer-F1.rb#11056
2486
- def lex_en_plain_backslash_delimited_words=(_arg0); end
2487
-
2488
- # Returns the value of attribute lex_en_plain_string.
2489
- #
2490
- # source://parser//lib/parser/lexer-F1.rb#11040
2491
- def lex_en_plain_string; end
2492
-
2493
- # Sets the attribute lex_en_plain_string
2494
- #
2495
- # @param value the value to set the attribute lex_en_plain_string to.
2496
- #
2497
- # source://parser//lib/parser/lexer-F1.rb#11040
2498
- def lex_en_plain_string=(_arg0); end
2499
-
2500
- # Returns the value of attribute lex_en_plain_words.
2501
- #
2502
- # source://parser//lib/parser/lexer-F1.rb#11036
2503
- def lex_en_plain_words; end
2504
-
2505
- # Sets the attribute lex_en_plain_words
2506
- #
2507
- # @param value the value to set the attribute lex_en_plain_words to.
2508
- #
2509
- # source://parser//lib/parser/lexer-F1.rb#11036
2510
- def lex_en_plain_words=(_arg0); end
2511
-
2512
- # Returns the value of attribute lex_en_regexp_modifiers.
2513
- #
2514
- # source://parser//lib/parser/lexer-F1.rb#11060
2515
- def lex_en_regexp_modifiers; end
2516
-
2517
- # Sets the attribute lex_en_regexp_modifiers
2518
- #
2519
- # @param value the value to set the attribute lex_en_regexp_modifiers to.
2520
- #
2521
- # source://parser//lib/parser/lexer-F1.rb#11060
2522
- def lex_en_regexp_modifiers=(_arg0); end
2523
-
2524
2351
  # Returns the value of attribute lex_error.
2525
2352
  #
2526
- # source://parser//lib/parser/lexer-F1.rb#11023
2353
+ # source://parser//lib/parser/lexer-F1.rb#8165
2527
2354
  def lex_error; end
2528
2355
 
2529
2356
  # Sets the attribute lex_error
2530
2357
  #
2531
2358
  # @param value the value to set the attribute lex_error to.
2532
2359
  #
2533
- # source://parser//lib/parser/lexer-F1.rb#11023
2360
+ # source://parser//lib/parser/lexer-F1.rb#8165
2534
2361
  def lex_error=(_arg0); end
2535
2362
 
2536
2363
  # Returns the value of attribute lex_start.
2537
2364
  #
2538
- # source://parser//lib/parser/lexer-F1.rb#11019
2365
+ # source://parser//lib/parser/lexer-F1.rb#8161
2539
2366
  def lex_start; end
2540
2367
 
2541
2368
  # Sets the attribute lex_start
2542
2369
  #
2543
2370
  # @param value the value to set the attribute lex_start to.
2544
2371
  #
2545
- # source://parser//lib/parser/lexer-F1.rb#11019
2372
+ # source://parser//lib/parser/lexer-F1.rb#8161
2546
2373
  def lex_start=(_arg0); end
2547
2374
 
2548
2375
  private
2549
2376
 
2550
2377
  # Returns the value of attribute _lex_eof_trans.
2551
2378
  #
2552
- # source://parser//lib/parser/lexer-F1.rb#10886
2379
+ # source://parser//lib/parser/lexer-F1.rb#8064
2553
2380
  def _lex_eof_trans; end
2554
2381
 
2555
2382
  # Sets the attribute _lex_eof_trans
2556
2383
  #
2557
2384
  # @param value the value to set the attribute _lex_eof_trans to.
2558
2385
  #
2559
- # source://parser//lib/parser/lexer-F1.rb#10886
2386
+ # source://parser//lib/parser/lexer-F1.rb#8064
2560
2387
  def _lex_eof_trans=(_arg0); end
2561
2388
 
2562
2389
  # Returns the value of attribute _lex_from_state_actions.
2563
2390
  #
2564
- # source://parser//lib/parser/lexer-F1.rb#10753
2391
+ # source://parser//lib/parser/lexer-F1.rb#7967
2565
2392
  def _lex_from_state_actions; end
2566
2393
 
2567
2394
  # Sets the attribute _lex_from_state_actions
2568
2395
  #
2569
2396
  # @param value the value to set the attribute _lex_from_state_actions to.
2570
2397
  #
2571
- # source://parser//lib/parser/lexer-F1.rb#10753
2398
+ # source://parser//lib/parser/lexer-F1.rb#7967
2572
2399
  def _lex_from_state_actions=(_arg0); end
2573
2400
 
2574
2401
  # Returns the value of attribute _lex_index_offsets.
2575
2402
  #
2576
- # source://parser//lib/parser/lexer-F1.rb#604
2403
+ # source://parser//lib/parser/lexer-F1.rb#461
2577
2404
  def _lex_index_offsets; end
2578
2405
 
2579
2406
  # Sets the attribute _lex_index_offsets
2580
2407
  #
2581
2408
  # @param value the value to set the attribute _lex_index_offsets to.
2582
2409
  #
2583
- # source://parser//lib/parser/lexer-F1.rb#604
2410
+ # source://parser//lib/parser/lexer-F1.rb#461
2584
2411
  def _lex_index_offsets=(_arg0); end
2585
2412
 
2586
2413
  # Returns the value of attribute _lex_indicies.
2587
2414
  #
2588
- # source://parser//lib/parser/lexer-F1.rb#737
2415
+ # source://parser//lib/parser/lexer-F1.rb#558
2589
2416
  def _lex_indicies; end
2590
2417
 
2591
2418
  # Sets the attribute _lex_indicies
2592
2419
  #
2593
2420
  # @param value the value to set the attribute _lex_indicies to.
2594
2421
  #
2595
- # source://parser//lib/parser/lexer-F1.rb#737
2422
+ # source://parser//lib/parser/lexer-F1.rb#558
2596
2423
  def _lex_indicies=(_arg0); end
2597
2424
 
2598
2425
  # Returns the value of attribute _lex_key_spans.
2599
2426
  #
2600
- # source://parser//lib/parser/lexer-F1.rb#471
2427
+ # source://parser//lib/parser/lexer-F1.rb#364
2601
2428
  def _lex_key_spans; end
2602
2429
 
2603
2430
  # Sets the attribute _lex_key_spans
2604
2431
  #
2605
2432
  # @param value the value to set the attribute _lex_key_spans to.
2606
2433
  #
2607
- # source://parser//lib/parser/lexer-F1.rb#471
2434
+ # source://parser//lib/parser/lexer-F1.rb#364
2608
2435
  def _lex_key_spans=(_arg0); end
2609
2436
 
2610
2437
  # Returns the value of attribute _lex_to_state_actions.
2611
2438
  #
2612
- # source://parser//lib/parser/lexer-F1.rb#10620
2439
+ # source://parser//lib/parser/lexer-F1.rb#7870
2613
2440
  def _lex_to_state_actions; end
2614
2441
 
2615
2442
  # Sets the attribute _lex_to_state_actions
2616
2443
  #
2617
2444
  # @param value the value to set the attribute _lex_to_state_actions to.
2618
2445
  #
2619
- # source://parser//lib/parser/lexer-F1.rb#10620
2446
+ # source://parser//lib/parser/lexer-F1.rb#7870
2620
2447
  def _lex_to_state_actions=(_arg0); end
2621
2448
 
2622
2449
  # Returns the value of attribute _lex_trans_actions.
2623
2450
  #
2624
- # source://parser//lib/parser/lexer-F1.rb#10420
2451
+ # source://parser//lib/parser/lexer-F1.rb#7722
2625
2452
  def _lex_trans_actions; end
2626
2453
 
2627
2454
  # Sets the attribute _lex_trans_actions
2628
2455
  #
2629
2456
  # @param value the value to set the attribute _lex_trans_actions to.
2630
2457
  #
2631
- # source://parser//lib/parser/lexer-F1.rb#10420
2458
+ # source://parser//lib/parser/lexer-F1.rb#7722
2632
2459
  def _lex_trans_actions=(_arg0); end
2633
2460
 
2634
2461
  # Returns the value of attribute _lex_trans_keys.
@@ -2645,14 +2472,14 @@ class Parser::Lexer
2645
2472
 
2646
2473
  # Returns the value of attribute _lex_trans_targs.
2647
2474
  #
2648
- # source://parser//lib/parser/lexer-F1.rb#10220
2475
+ # source://parser//lib/parser/lexer-F1.rb#7574
2649
2476
  def _lex_trans_targs; end
2650
2477
 
2651
2478
  # Sets the attribute _lex_trans_targs
2652
2479
  #
2653
2480
  # @param value the value to set the attribute _lex_trans_targs to.
2654
2481
  #
2655
- # source://parser//lib/parser/lexer-F1.rb#10220
2482
+ # source://parser//lib/parser/lexer-F1.rb#7574
2656
2483
  def _lex_trans_targs=(_arg0); end
2657
2484
  end
2658
2485
  end
@@ -2672,21 +2499,16 @@ end
2672
2499
  # source://parser//lib/parser/lexer/dedenter.rb#7
2673
2500
  Parser::Lexer::Dedenter::TAB_WIDTH = T.let(T.unsafe(nil), Integer)
2674
2501
 
2675
- # %
2676
- #
2677
- # source://parser//lib/parser/lexer-F1.rb#11128
2678
- Parser::Lexer::ESCAPES = T.let(T.unsafe(nil), Hash)
2679
-
2680
- # source://parser//lib/parser/lexer-F1.rb#21192
2502
+ # source://parser//lib/parser/lexer-F1.rb#14799
2681
2503
  Parser::Lexer::ESCAPE_WHITESPACE = T.let(T.unsafe(nil), Hash)
2682
2504
 
2683
- # source://parser//lib/parser/lexer-F1.rb#21178
2505
+ # source://parser//lib/parser/lexer-F1.rb#14785
2684
2506
  Parser::Lexer::KEYWORDS = T.let(T.unsafe(nil), Hash)
2685
2507
 
2686
- # source://parser//lib/parser/lexer-F1.rb#21185
2508
+ # source://parser//lib/parser/lexer-F1.rb#14792
2687
2509
  Parser::Lexer::KEYWORDS_BEGIN = T.let(T.unsafe(nil), Hash)
2688
2510
 
2689
- # source://parser//lib/parser/lexer-F1.rb#11269
2511
+ # source://parser//lib/parser/lexer-F1.rb#8362
2690
2512
  Parser::Lexer::LEX_STATES = T.let(T.unsafe(nil), Hash)
2691
2513
 
2692
2514
  # source://parser//lib/parser/lexer/literal.rb#6
@@ -2789,15 +2611,12 @@ Parser::Lexer::Literal::TYPES = T.let(T.unsafe(nil), Hash)
2789
2611
 
2790
2612
  # Mapping of strings to parser tokens.
2791
2613
  #
2792
- # source://parser//lib/parser/lexer-F1.rb#21152
2614
+ # source://parser//lib/parser/lexer-F1.rb#14759
2793
2615
  Parser::Lexer::PUNCTUATION = T.let(T.unsafe(nil), Hash)
2794
2616
 
2795
- # source://parser//lib/parser/lexer-F1.rb#21172
2617
+ # source://parser//lib/parser/lexer-F1.rb#14779
2796
2618
  Parser::Lexer::PUNCTUATION_BEGIN = T.let(T.unsafe(nil), Hash)
2797
2619
 
2798
- # source://parser//lib/parser/lexer-F1.rb#11134
2799
- Parser::Lexer::REGEXP_META_CHARACTERS = T.let(T.unsafe(nil), Regexp)
2800
-
2801
2620
  # source://parser//lib/parser/lexer/stack_state.rb#5
2802
2621
  class Parser::Lexer::StackState
2803
2622
  # source://parser//lib/parser/lexer/stack_state.rb#6
@@ -2828,6 +2647,476 @@ class Parser::Lexer::StackState
2828
2647
  def to_s; end
2829
2648
  end
2830
2649
 
2650
+ # line 3 "lib/parser/lexer-strings.rl"
2651
+ #
2652
+ # source://parser//lib/parser/lexer-strings.rb#6
2653
+ class Parser::LexerStrings
2654
+ # @return [LexerStrings] a new instance of LexerStrings
2655
+ #
2656
+ # source://parser//lib/parser/lexer-strings.rb#3300
2657
+ def initialize(lexer, version); end
2658
+
2659
+ # source://parser//lib/parser/lexer-strings.rb#3339
2660
+ def advance(p); end
2661
+
2662
+ # source://parser//lib/parser/lexer-strings.rb#5069
2663
+ def close_interp_on_current_literal(p); end
2664
+
2665
+ # source://parser//lib/parser/lexer-strings.rb#5043
2666
+ def continue_lexing(current_literal); end
2667
+
2668
+ # source://parser//lib/parser/lexer-strings.rb#5092
2669
+ def dedent_level; end
2670
+
2671
+ # Returns the value of attribute herebody_s.
2672
+ #
2673
+ # source://parser//lib/parser/lexer-strings.rb#3295
2674
+ def herebody_s; end
2675
+
2676
+ # Sets the attribute herebody_s
2677
+ #
2678
+ # @param value the value to set the attribute herebody_s to.
2679
+ #
2680
+ # source://parser//lib/parser/lexer-strings.rb#3295
2681
+ def herebody_s=(_arg0); end
2682
+
2683
+ # source://parser//lib/parser/lexer-strings.rb#5047
2684
+ def literal; end
2685
+
2686
+ # source://parser//lib/parser/lexer-strings.rb#5015
2687
+ def next_state_for_literal(literal); end
2688
+
2689
+ # This hook is triggered by "main" lexer on every newline character
2690
+ #
2691
+ # source://parser//lib/parser/lexer-strings.rb#5100
2692
+ def on_newline(p); end
2693
+
2694
+ # source://parser//lib/parser/lexer-strings.rb#5051
2695
+ def pop_literal; end
2696
+
2697
+ # === LITERAL STACK ===
2698
+ #
2699
+ # source://parser//lib/parser/lexer-strings.rb#5009
2700
+ def push_literal(*args); end
2701
+
2702
+ # source://parser//lib/parser/lexer-strings.rb#4999
2703
+ def read_character_constant(p); end
2704
+
2705
+ # source://parser//lib/parser/lexer-strings.rb#3314
2706
+ def reset; end
2707
+
2708
+ # Set by "main" lexer
2709
+ #
2710
+ # source://parser//lib/parser/lexer-strings.rb#3298
2711
+ def source_buffer; end
2712
+
2713
+ # Set by "main" lexer
2714
+ #
2715
+ # source://parser//lib/parser/lexer-strings.rb#3298
2716
+ def source_buffer=(_arg0); end
2717
+
2718
+ # Set by "main" lexer
2719
+ #
2720
+ # source://parser//lib/parser/lexer-strings.rb#3298
2721
+ def source_pts; end
2722
+
2723
+ # Set by "main" lexer
2724
+ #
2725
+ # source://parser//lib/parser/lexer-strings.rb#3298
2726
+ def source_pts=(_arg0); end
2727
+
2728
+ protected
2729
+
2730
+ # source://parser//lib/parser/lexer-strings.rb#5397
2731
+ def check_ambiguous_slash(tm); end
2732
+
2733
+ # source://parser//lib/parser/lexer-strings.rb#5408
2734
+ def check_invalid_escapes(p); end
2735
+
2736
+ # source://parser//lib/parser/lexer-strings.rb#5136
2737
+ def cond; end
2738
+
2739
+ # source://parser//lib/parser/lexer-strings.rb#5132
2740
+ def diagnostic(type, reason, arguments = T.unsafe(nil), location = T.unsafe(nil), highlights = T.unsafe(nil)); end
2741
+
2742
+ # source://parser//lib/parser/lexer-strings.rb#5128
2743
+ def emit(type, value = T.unsafe(nil), s = T.unsafe(nil), e = T.unsafe(nil)); end
2744
+
2745
+ # source://parser//lib/parser/lexer-strings.rb#5387
2746
+ def emit_character_constant; end
2747
+
2748
+ # source://parser//lib/parser/lexer-strings.rb#5364
2749
+ def emit_interp_var(interp_var_kind); end
2750
+
2751
+ # @return [Boolean]
2752
+ #
2753
+ # source://parser//lib/parser/lexer-strings.rb#5140
2754
+ def emit_invalid_escapes?; end
2755
+
2756
+ # source://parser//lib/parser/lexer-strings.rb#5291
2757
+ def encode_escape(ord); end
2758
+
2759
+ # source://parser//lib/parser/lexer-strings.rb#5375
2760
+ def encode_escaped_char(p); end
2761
+
2762
+ # @return [Boolean]
2763
+ #
2764
+ # source://parser//lib/parser/lexer-strings.rb#5112
2765
+ def eof_codepoint?(point); end
2766
+
2767
+ # source://parser//lib/parser/lexer-strings.rb#5210
2768
+ def extend_interp_code(current_literal); end
2769
+
2770
+ # source://parser//lib/parser/lexer-strings.rb#5225
2771
+ def extend_interp_digit_var; end
2772
+
2773
+ # source://parser//lib/parser/lexer-strings.rb#5355
2774
+ def extend_interp_var(current_literal); end
2775
+
2776
+ # source://parser//lib/parser/lexer-strings.rb#5234
2777
+ def extend_string_eol_check_eof(current_literal, pe); end
2778
+
2779
+ # source://parser//lib/parser/lexer-strings.rb#5251
2780
+ def extend_string_eol_heredoc_intertwined(p); end
2781
+
2782
+ # source://parser//lib/parser/lexer-strings.rb#5241
2783
+ def extend_string_eol_heredoc_line; end
2784
+
2785
+ # source://parser//lib/parser/lexer-strings.rb#5267
2786
+ def extend_string_eol_words(current_literal, p); end
2787
+
2788
+ # String escaping
2789
+ #
2790
+ # source://parser//lib/parser/lexer-strings.rb#5154
2791
+ def extend_string_escaped; end
2792
+
2793
+ # source://parser//lib/parser/lexer-strings.rb#5287
2794
+ def extend_string_for_token_range(current_literal, string); end
2795
+
2796
+ # source://parser//lib/parser/lexer-strings.rb#5279
2797
+ def extend_string_slice_end(lookahead); end
2798
+
2799
+ # source://parser//lib/parser/lexer-strings.rb#5124
2800
+ def range(s = T.unsafe(nil), e = T.unsafe(nil)); end
2801
+
2802
+ # source://parser//lib/parser/lexer-strings.rb#5347
2803
+ def read_post_meta_or_ctrl_char(p); end
2804
+
2805
+ # source://parser//lib/parser/lexer-strings.rb#5379
2806
+ def slash_c_char; end
2807
+
2808
+ # source://parser//lib/parser/lexer-strings.rb#5383
2809
+ def slash_m_char; end
2810
+
2811
+ # source://parser//lib/parser/lexer-strings.rb#5120
2812
+ def tok(s = T.unsafe(nil), e = T.unsafe(nil)); end
2813
+
2814
+ # source://parser//lib/parser/lexer-strings.rb#5295
2815
+ def unescape_char(p); end
2816
+
2817
+ # source://parser//lib/parser/lexer-strings.rb#5307
2818
+ def unicode_points(p); end
2819
+
2820
+ # @return [Boolean]
2821
+ #
2822
+ # source://parser//lib/parser/lexer-strings.rb#5116
2823
+ def version?(*versions); end
2824
+
2825
+ class << self
2826
+ # Returns the value of attribute lex_en_character.
2827
+ #
2828
+ # source://parser//lib/parser/lexer-strings.rb#3275
2829
+ def lex_en_character; end
2830
+
2831
+ # Sets the attribute lex_en_character
2832
+ #
2833
+ # @param value the value to set the attribute lex_en_character to.
2834
+ #
2835
+ # source://parser//lib/parser/lexer-strings.rb#3275
2836
+ def lex_en_character=(_arg0); end
2837
+
2838
+ # Returns the value of attribute lex_en_interp_backslash_delimited.
2839
+ #
2840
+ # source://parser//lib/parser/lexer-strings.rb#3255
2841
+ def lex_en_interp_backslash_delimited; end
2842
+
2843
+ # Sets the attribute lex_en_interp_backslash_delimited
2844
+ #
2845
+ # @param value the value to set the attribute lex_en_interp_backslash_delimited to.
2846
+ #
2847
+ # source://parser//lib/parser/lexer-strings.rb#3255
2848
+ def lex_en_interp_backslash_delimited=(_arg0); end
2849
+
2850
+ # Returns the value of attribute lex_en_interp_backslash_delimited_words.
2851
+ #
2852
+ # source://parser//lib/parser/lexer-strings.rb#3263
2853
+ def lex_en_interp_backslash_delimited_words; end
2854
+
2855
+ # Sets the attribute lex_en_interp_backslash_delimited_words
2856
+ #
2857
+ # @param value the value to set the attribute lex_en_interp_backslash_delimited_words to.
2858
+ #
2859
+ # source://parser//lib/parser/lexer-strings.rb#3263
2860
+ def lex_en_interp_backslash_delimited_words=(_arg0); end
2861
+
2862
+ # Returns the value of attribute lex_en_interp_string.
2863
+ #
2864
+ # source://parser//lib/parser/lexer-strings.rb#3243
2865
+ def lex_en_interp_string; end
2866
+
2867
+ # Sets the attribute lex_en_interp_string
2868
+ #
2869
+ # @param value the value to set the attribute lex_en_interp_string to.
2870
+ #
2871
+ # source://parser//lib/parser/lexer-strings.rb#3243
2872
+ def lex_en_interp_string=(_arg0); end
2873
+
2874
+ # Returns the value of attribute lex_en_interp_words.
2875
+ #
2876
+ # source://parser//lib/parser/lexer-strings.rb#3239
2877
+ def lex_en_interp_words; end
2878
+
2879
+ # Sets the attribute lex_en_interp_words
2880
+ #
2881
+ # @param value the value to set the attribute lex_en_interp_words to.
2882
+ #
2883
+ # source://parser//lib/parser/lexer-strings.rb#3239
2884
+ def lex_en_interp_words=(_arg0); end
2885
+
2886
+ # Returns the value of attribute lex_en_plain_backslash_delimited.
2887
+ #
2888
+ # source://parser//lib/parser/lexer-strings.rb#3259
2889
+ def lex_en_plain_backslash_delimited; end
2890
+
2891
+ # Sets the attribute lex_en_plain_backslash_delimited
2892
+ #
2893
+ # @param value the value to set the attribute lex_en_plain_backslash_delimited to.
2894
+ #
2895
+ # source://parser//lib/parser/lexer-strings.rb#3259
2896
+ def lex_en_plain_backslash_delimited=(_arg0); end
2897
+
2898
+ # Returns the value of attribute lex_en_plain_backslash_delimited_words.
2899
+ #
2900
+ # source://parser//lib/parser/lexer-strings.rb#3267
2901
+ def lex_en_plain_backslash_delimited_words; end
2902
+
2903
+ # Sets the attribute lex_en_plain_backslash_delimited_words
2904
+ #
2905
+ # @param value the value to set the attribute lex_en_plain_backslash_delimited_words to.
2906
+ #
2907
+ # source://parser//lib/parser/lexer-strings.rb#3267
2908
+ def lex_en_plain_backslash_delimited_words=(_arg0); end
2909
+
2910
+ # Returns the value of attribute lex_en_plain_string.
2911
+ #
2912
+ # source://parser//lib/parser/lexer-strings.rb#3251
2913
+ def lex_en_plain_string; end
2914
+
2915
+ # Sets the attribute lex_en_plain_string
2916
+ #
2917
+ # @param value the value to set the attribute lex_en_plain_string to.
2918
+ #
2919
+ # source://parser//lib/parser/lexer-strings.rb#3251
2920
+ def lex_en_plain_string=(_arg0); end
2921
+
2922
+ # Returns the value of attribute lex_en_plain_words.
2923
+ #
2924
+ # source://parser//lib/parser/lexer-strings.rb#3247
2925
+ def lex_en_plain_words; end
2926
+
2927
+ # Sets the attribute lex_en_plain_words
2928
+ #
2929
+ # @param value the value to set the attribute lex_en_plain_words to.
2930
+ #
2931
+ # source://parser//lib/parser/lexer-strings.rb#3247
2932
+ def lex_en_plain_words=(_arg0); end
2933
+
2934
+ # Returns the value of attribute lex_en_regexp_modifiers.
2935
+ #
2936
+ # source://parser//lib/parser/lexer-strings.rb#3271
2937
+ def lex_en_regexp_modifiers; end
2938
+
2939
+ # Sets the attribute lex_en_regexp_modifiers
2940
+ #
2941
+ # @param value the value to set the attribute lex_en_regexp_modifiers to.
2942
+ #
2943
+ # source://parser//lib/parser/lexer-strings.rb#3271
2944
+ def lex_en_regexp_modifiers=(_arg0); end
2945
+
2946
+ # Returns the value of attribute lex_en_unknown.
2947
+ #
2948
+ # source://parser//lib/parser/lexer-strings.rb#3279
2949
+ def lex_en_unknown; end
2950
+
2951
+ # Sets the attribute lex_en_unknown
2952
+ #
2953
+ # @param value the value to set the attribute lex_en_unknown to.
2954
+ #
2955
+ # source://parser//lib/parser/lexer-strings.rb#3279
2956
+ def lex_en_unknown=(_arg0); end
2957
+
2958
+ # Returns the value of attribute lex_error.
2959
+ #
2960
+ # source://parser//lib/parser/lexer-strings.rb#3234
2961
+ def lex_error; end
2962
+
2963
+ # Sets the attribute lex_error
2964
+ #
2965
+ # @param value the value to set the attribute lex_error to.
2966
+ #
2967
+ # source://parser//lib/parser/lexer-strings.rb#3234
2968
+ def lex_error=(_arg0); end
2969
+
2970
+ # Returns the value of attribute lex_start.
2971
+ #
2972
+ # source://parser//lib/parser/lexer-strings.rb#3230
2973
+ def lex_start; end
2974
+
2975
+ # Sets the attribute lex_start
2976
+ #
2977
+ # @param value the value to set the attribute lex_start to.
2978
+ #
2979
+ # source://parser//lib/parser/lexer-strings.rb#3230
2980
+ def lex_start=(_arg0); end
2981
+
2982
+ private
2983
+
2984
+ # Returns the value of attribute _lex_actions.
2985
+ #
2986
+ # source://parser//lib/parser/lexer-strings.rb#11
2987
+ def _lex_actions; end
2988
+
2989
+ # Sets the attribute _lex_actions
2990
+ #
2991
+ # @param value the value to set the attribute _lex_actions to.
2992
+ #
2993
+ # source://parser//lib/parser/lexer-strings.rb#11
2994
+ def _lex_actions=(_arg0); end
2995
+
2996
+ # Returns the value of attribute _lex_eof_trans.
2997
+ #
2998
+ # source://parser//lib/parser/lexer-strings.rb#3184
2999
+ def _lex_eof_trans; end
3000
+
3001
+ # Sets the attribute _lex_eof_trans
3002
+ #
3003
+ # @param value the value to set the attribute _lex_eof_trans to.
3004
+ #
3005
+ # source://parser//lib/parser/lexer-strings.rb#3184
3006
+ def _lex_eof_trans=(_arg0); end
3007
+
3008
+ # Returns the value of attribute _lex_from_state_actions.
3009
+ #
3010
+ # source://parser//lib/parser/lexer-strings.rb#3138
3011
+ def _lex_from_state_actions; end
3012
+
3013
+ # Sets the attribute _lex_from_state_actions
3014
+ #
3015
+ # @param value the value to set the attribute _lex_from_state_actions to.
3016
+ #
3017
+ # source://parser//lib/parser/lexer-strings.rb#3138
3018
+ def _lex_from_state_actions=(_arg0); end
3019
+
3020
+ # Returns the value of attribute _lex_index_offsets.
3021
+ #
3022
+ # source://parser//lib/parser/lexer-strings.rb#244
3023
+ def _lex_index_offsets; end
3024
+
3025
+ # Sets the attribute _lex_index_offsets
3026
+ #
3027
+ # @param value the value to set the attribute _lex_index_offsets to.
3028
+ #
3029
+ # source://parser//lib/parser/lexer-strings.rb#244
3030
+ def _lex_index_offsets=(_arg0); end
3031
+
3032
+ # Returns the value of attribute _lex_indicies.
3033
+ #
3034
+ # source://parser//lib/parser/lexer-strings.rb#290
3035
+ def _lex_indicies; end
3036
+
3037
+ # Sets the attribute _lex_indicies
3038
+ #
3039
+ # @param value the value to set the attribute _lex_indicies to.
3040
+ #
3041
+ # source://parser//lib/parser/lexer-strings.rb#290
3042
+ def _lex_indicies=(_arg0); end
3043
+
3044
+ # Returns the value of attribute _lex_key_spans.
3045
+ #
3046
+ # source://parser//lib/parser/lexer-strings.rb#198
3047
+ def _lex_key_spans; end
3048
+
3049
+ # Sets the attribute _lex_key_spans
3050
+ #
3051
+ # @param value the value to set the attribute _lex_key_spans to.
3052
+ #
3053
+ # source://parser//lib/parser/lexer-strings.rb#198
3054
+ def _lex_key_spans=(_arg0); end
3055
+
3056
+ # Returns the value of attribute _lex_to_state_actions.
3057
+ #
3058
+ # source://parser//lib/parser/lexer-strings.rb#3092
3059
+ def _lex_to_state_actions; end
3060
+
3061
+ # Sets the attribute _lex_to_state_actions
3062
+ #
3063
+ # @param value the value to set the attribute _lex_to_state_actions to.
3064
+ #
3065
+ # source://parser//lib/parser/lexer-strings.rb#3092
3066
+ def _lex_to_state_actions=(_arg0); end
3067
+
3068
+ # Returns the value of attribute _lex_trans_actions.
3069
+ #
3070
+ # source://parser//lib/parser/lexer-strings.rb#3029
3071
+ def _lex_trans_actions; end
3072
+
3073
+ # Sets the attribute _lex_trans_actions
3074
+ #
3075
+ # @param value the value to set the attribute _lex_trans_actions to.
3076
+ #
3077
+ # source://parser//lib/parser/lexer-strings.rb#3029
3078
+ def _lex_trans_actions=(_arg0); end
3079
+
3080
+ # Returns the value of attribute _lex_trans_keys.
3081
+ #
3082
+ # source://parser//lib/parser/lexer-strings.rb#76
3083
+ def _lex_trans_keys; end
3084
+
3085
+ # Sets the attribute _lex_trans_keys
3086
+ #
3087
+ # @param value the value to set the attribute _lex_trans_keys to.
3088
+ #
3089
+ # source://parser//lib/parser/lexer-strings.rb#76
3090
+ def _lex_trans_keys=(_arg0); end
3091
+
3092
+ # Returns the value of attribute _lex_trans_targs.
3093
+ #
3094
+ # source://parser//lib/parser/lexer-strings.rb#2966
3095
+ def _lex_trans_targs; end
3096
+
3097
+ # Sets the attribute _lex_trans_targs
3098
+ #
3099
+ # @param value the value to set the attribute _lex_trans_targs to.
3100
+ #
3101
+ # source://parser//lib/parser/lexer-strings.rb#2966
3102
+ def _lex_trans_targs=(_arg0); end
3103
+ end
3104
+ end
3105
+
3106
+ # %
3107
+ #
3108
+ # source://parser//lib/parser/lexer-strings.rb#3287
3109
+ Parser::LexerStrings::ESCAPES = T.let(T.unsafe(nil), Hash)
3110
+
3111
+ # source://parser//lib/parser/lexer-strings.rb#5414
3112
+ Parser::LexerStrings::ESCAPE_WHITESPACE = T.let(T.unsafe(nil), Hash)
3113
+
3114
+ # source://parser//lib/parser/lexer-strings.rb#3332
3115
+ Parser::LexerStrings::LEX_STATES = T.let(T.unsafe(nil), Hash)
3116
+
3117
+ # source://parser//lib/parser/lexer-strings.rb#3293
3118
+ Parser::LexerStrings::REGEXP_META_CHARACTERS = T.let(T.unsafe(nil), Regexp)
3119
+
2831
3120
  # Diagnostic messages (errors, warnings and notices) that can be generated.
2832
3121
  #
2833
3122
  # @api public