Class: Parser::Lexer

Inherits:
Object
  • Object
show all
Defined in:
lib/parser/lexer.rb

Overview

line 3 “lib/parser/lexer.rl”

BEFORE YOU START ===

Read the Ruby Hacking Guide chapter 11, available in English at whitequark.org/blog/2013/04/01/ruby-hacking-guide-ch-11-finite-state-lexer/

Remember two things about Ragel scanners:

1) Longest match wins.

2) If two matches have the same length, the first
   in source code wins.

General rules of making Ragel and Bison happy:

* `p` (position) and `@te` contain the index of the character
  they're pointing to ("current"), plus one. `@ts` contains the index
  of the corresponding character. The code for extracting matched token is:

     @source_buffer.slice(@ts...@te)

* If your input is `foooooooobar` and the rule is:

     'f' 'o'+

  the result will be:

     foooooooobar
     ^ ts=0   ^ p=te=9

* A Ragel lexer action should not emit more than one token, unless
  you know what you are doing.

* All Ragel commands (fnext, fgoto, ...) end with a semicolon.

* If an action emits the token and transitions to another state, use
  these Ragel commands:

     emit($whatever)
     fnext $next_state; fbreak;

  If you perform `fgoto` in an action which does not emit a token nor
  rewinds the stream pointer, the parser's side-effectful,
  context-sensitive lookahead actions will break in a hard to detect
  and debug way.

* If an action does not emit a token:

     fgoto $next_state;

* If an action features lookbehind, i.e. matches characters with the
  intent of passing them to another action:

     p = @ts - 1
     fgoto $next_state;

  or, if the lookbehind consists of a single character:

     fhold; fgoto $next_state;

* Ragel merges actions. So, if you have `e_lparen = '(' %act` and
  `c_lparen = '('` and a lexer action `e_lparen | c_lparen`, the result
  _will_ invoke the action `act`.

  e_something stands for "something with **e**mbedded action".

* EOF is explicit and is matched by `c_eof`. If you want to introspect
  the state of the lexer, add this rule to the state:

     c_eof => do_eof;

* If you proceed past EOF, the lexer will complain:

     NoMethodError: undefined method `ord' for nil:NilClass

Defined Under Namespace

Modules: Explanation Classes: Dedenter, Literal, StackState

Constant Summary collapse

ESCAPES =

%

{
  ?a.ord => "\a", ?b.ord  => "\b", ?e.ord => "\e", ?f.ord => "\f",
  ?n.ord => "\n", ?r.ord  => "\r", ?s.ord => "\s", ?t.ord => "\t",
  ?v.ord => "\v", ?\\.ord => "\\"
}.freeze
REGEXP_META_CHARACTERS =
Regexp.union(*"\\$()*+.<>?[]^{|}".chars).freeze
LEX_STATES =
{
  :line_begin    => lex_en_line_begin,
  :expr_dot      => lex_en_expr_dot,
  :expr_fname    => lex_en_expr_fname,
  :expr_value    => lex_en_expr_value,
  :expr_beg      => lex_en_expr_beg,
  :expr_mid      => lex_en_expr_mid,
  :expr_arg      => lex_en_expr_arg,
  :expr_cmdarg   => lex_en_expr_cmdarg,
  :expr_end      => lex_en_expr_end,
  :expr_endarg   => lex_en_expr_endarg,
  :expr_endfn    => lex_en_expr_endfn,
  :expr_labelarg => lex_en_expr_labelarg,

  :interp_string => lex_en_interp_string,
  :interp_words  => lex_en_interp_words,
  :plain_string  => lex_en_plain_string,
  :plain_words   => lex_en_plain_string,
}

Class Attribute Summary collapse

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ Lexer

Returns a new instance of Lexer.



10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
# File 'lib/parser/lexer.rb', line 10809

def initialize(version)
  @version    = version
  @static_env = nil
  @context    = nil

  @tokens     = nil
  @comments   = nil

  reset
end

Class Attribute Details

._lex_eof_transObject



10551
10552
10553
# File 'lib/parser/lexer.rb', line 10551

def _lex_eof_trans
  @_lex_eof_trans
end

._lex_from_state_actionsObject



10422
10423
10424
# File 'lib/parser/lexer.rb', line 10422

def _lex_from_state_actions
  @_lex_from_state_actions
end

._lex_index_offsetsObject



588
589
590
# File 'lib/parser/lexer.rb', line 588

def _lex_index_offsets
  @_lex_index_offsets
end

._lex_indiciesObject



717
718
719
# File 'lib/parser/lexer.rb', line 717

def _lex_indicies
  @_lex_indicies
end

._lex_key_spansObject



459
460
461
# File 'lib/parser/lexer.rb', line 459

def _lex_key_spans
  @_lex_key_spans
end

._lex_to_state_actionsObject



10293
10294
10295
# File 'lib/parser/lexer.rb', line 10293

def _lex_to_state_actions
  @_lex_to_state_actions
end

._lex_trans_actionsObject



10098
10099
10100
# File 'lib/parser/lexer.rb', line 10098

def _lex_trans_actions
  @_lex_trans_actions
end

._lex_trans_keysObject



87
88
89
# File 'lib/parser/lexer.rb', line 87

def _lex_trans_keys
  @_lex_trans_keys
end

._lex_trans_targsObject



9903
9904
9905
# File 'lib/parser/lexer.rb', line 9903

def _lex_trans_targs
  @_lex_trans_targs
end

.lex_en_expr_argObject



10741
10742
10743
# File 'lib/parser/lexer.rb', line 10741

def lex_en_expr_arg
  @lex_en_expr_arg
end

.lex_en_expr_begObject



10757
10758
10759
# File 'lib/parser/lexer.rb', line 10757

def lex_en_expr_beg
  @lex_en_expr_beg
end

.lex_en_expr_cmdargObject



10745
10746
10747
# File 'lib/parser/lexer.rb', line 10745

def lex_en_expr_cmdarg
  @lex_en_expr_cmdarg
end

.lex_en_expr_dotObject



10737
10738
10739
# File 'lib/parser/lexer.rb', line 10737

def lex_en_expr_dot
  @lex_en_expr_dot
end

.lex_en_expr_endObject



10769
10770
10771
# File 'lib/parser/lexer.rb', line 10769

def lex_en_expr_end
  @lex_en_expr_end
end

.lex_en_expr_endargObject



10749
10750
10751
# File 'lib/parser/lexer.rb', line 10749

def lex_en_expr_endarg
  @lex_en_expr_endarg
end

.lex_en_expr_endfnObject



10733
10734
10735
# File 'lib/parser/lexer.rb', line 10733

def lex_en_expr_endfn
  @lex_en_expr_endfn
end

.lex_en_expr_fnameObject



10729
10730
10731
# File 'lib/parser/lexer.rb', line 10729

def lex_en_expr_fname
  @lex_en_expr_fname
end

.lex_en_expr_labelargObject



10761
10762
10763
# File 'lib/parser/lexer.rb', line 10761

def lex_en_expr_labelarg
  @lex_en_expr_labelarg
end

.lex_en_expr_midObject



10753
10754
10755
# File 'lib/parser/lexer.rb', line 10753

def lex_en_expr_mid
  @lex_en_expr_mid
end

.lex_en_expr_valueObject



10765
10766
10767
# File 'lib/parser/lexer.rb', line 10765

def lex_en_expr_value
  @lex_en_expr_value
end

.lex_en_expr_variableObject



10725
10726
10727
# File 'lib/parser/lexer.rb', line 10725

def lex_en_expr_variable
  @lex_en_expr_variable
end

.lex_en_interp_backslash_delimitedObject



10705
10706
10707
# File 'lib/parser/lexer.rb', line 10705

def lex_en_interp_backslash_delimited
  @lex_en_interp_backslash_delimited
end

.lex_en_interp_backslash_delimited_wordsObject



10713
10714
10715
# File 'lib/parser/lexer.rb', line 10713

def lex_en_interp_backslash_delimited_words
  @lex_en_interp_backslash_delimited_words
end

.lex_en_interp_stringObject



10693
10694
10695
# File 'lib/parser/lexer.rb', line 10693

def lex_en_interp_string
  @lex_en_interp_string
end

.lex_en_interp_wordsObject



10689
10690
10691
# File 'lib/parser/lexer.rb', line 10689

def lex_en_interp_words
  @lex_en_interp_words
end

.lex_en_leading_dotObject



10773
10774
10775
# File 'lib/parser/lexer.rb', line 10773

def lex_en_leading_dot
  @lex_en_leading_dot
end

.lex_en_line_beginObject



10781
10782
10783
# File 'lib/parser/lexer.rb', line 10781

def lex_en_line_begin
  @lex_en_line_begin
end

.lex_en_line_commentObject



10777
10778
10779
# File 'lib/parser/lexer.rb', line 10777

def lex_en_line_comment
  @lex_en_line_comment
end

.lex_en_plain_backslash_delimitedObject



10709
10710
10711
# File 'lib/parser/lexer.rb', line 10709

def lex_en_plain_backslash_delimited
  @lex_en_plain_backslash_delimited
end

.lex_en_plain_backslash_delimited_wordsObject



10717
10718
10719
# File 'lib/parser/lexer.rb', line 10717

def lex_en_plain_backslash_delimited_words
  @lex_en_plain_backslash_delimited_words
end

.lex_en_plain_stringObject



10701
10702
10703
# File 'lib/parser/lexer.rb', line 10701

def lex_en_plain_string
  @lex_en_plain_string
end

.lex_en_plain_wordsObject



10697
10698
10699
# File 'lib/parser/lexer.rb', line 10697

def lex_en_plain_words
  @lex_en_plain_words
end

.lex_en_regexp_modifiersObject



10721
10722
10723
# File 'lib/parser/lexer.rb', line 10721

def lex_en_regexp_modifiers
  @lex_en_regexp_modifiers
end

.lex_errorObject



10684
10685
10686
# File 'lib/parser/lexer.rb', line 10684

def lex_error
  @lex_error
end

.lex_startObject



10680
10681
10682
# File 'lib/parser/lexer.rb', line 10680

def lex_start
  @lex_start
end

Instance Attribute Details

#cmdargObject



10803
10804
10805
# File 'lib/parser/lexer.rb', line 10803

def cmdarg
  @cmdarg
end

#cmdarg_stackObject (readonly)



10807
10808
10809
# File 'lib/parser/lexer.rb', line 10807

def cmdarg_stack
  @cmdarg_stack
end

#command_startObject



10803
10804
10805
# File 'lib/parser/lexer.rb', line 10803

def command_start
  @command_start
end

#commentsObject



10805
10806
10807
# File 'lib/parser/lexer.rb', line 10805

def comments
  @comments
end

#condObject



10803
10804
10805
# File 'lib/parser/lexer.rb', line 10803

def cond
  @cond
end

#cond_stackObject (readonly)



10807
10808
10809
# File 'lib/parser/lexer.rb', line 10807

def cond_stack
  @cond_stack
end

#contextObject



10803
10804
10805
# File 'lib/parser/lexer.rb', line 10803

def context
  @context
end

#diagnosticsObject



10799
10800
10801
# File 'lib/parser/lexer.rb', line 10799

def diagnostics
  @diagnostics
end

#force_utf32Object



10801
10802
10803
# File 'lib/parser/lexer.rb', line 10801

def force_utf32
  @force_utf32
end

#in_kwargObject



10803
10804
10805
# File 'lib/parser/lexer.rb', line 10803

def in_kwarg
  @in_kwarg
end

#lambda_stackObject (readonly)



10807
10808
10809
# File 'lib/parser/lexer.rb', line 10807

def lambda_stack
  @lambda_stack
end

#paren_nestObject (readonly)



10807
10808
10809
# File 'lib/parser/lexer.rb', line 10807

def paren_nest
  @paren_nest
end

#source_bufferObject



10797
10798
10799
# File 'lib/parser/lexer.rb', line 10797

def source_buffer
  @source_buffer
end

#static_envObject



10800
10801
10802
# File 'lib/parser/lexer.rb', line 10800

def static_env
  @static_env
end

#tokensObject



10805
10806
10807
# File 'lib/parser/lexer.rb', line 10805

def tokens
  @tokens
end

Instance Method Details

#advanceObject

Return next token: [type, value].



10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
22874
22875
22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
23040
23041
23042
23043
23044
23045
23046
23047
23048
23049
23050
23051
23052
23053
23054
23055
23056
23057
23058
23059
23060
23061
23062
23063
23064
23065
23066
23067
23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
23082
23083
23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
23098
23099
23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114
23115
23116
23117
23118
23119
23120
23121
23122
23123
23124
23125
23126
23127
23128
23129
23130
23131
23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
23192
23193
23194
23195
23196
23197
23198
23199
23200
23201
23202
23203
23204
23205
23206
23207
23208
23209
23210
23211
23212
23213
23214
23215
23216
23217
23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
23262
23263
23264
23265
23266
23267
23268
23269
23270
23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
23285
23286
23287
23288
23289
23290
23291
23292
23293
23294
23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
23316
23317
23318
23319
23320
23321
23322
23323
23324
23325
23326
23327
23328
23329
23330
23331
23332
23333
23334
23335
23336
23337
23338
23339
23340
23341
23342
23343
23344
23345
23346
23347
23348
23349
23350
23351
23352
23353
23354
23355
23356
23357
23358
23359
23360
23361
23362
23363
23364
23365
23366
23367
23368
23369
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
23470
23471
23472
23473
23474
23475
23476
23477
23478
23479
23480
23481
23482
23483
23484
23485
23486
23487
23488
23489
23490
23491
23492
23493
23494
23495
23496
23497
23498
23499
23500
23501
23502
23503
23504
23505
23506
23507
23508
23509
23510
23511
23512
23513
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525
23526
23527
23528
23529
23530
23531
23532
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
23552
23553
23554
23555
23556
23557
23558
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
23575
23576
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587
23588
23589
23590
23591
23592
23593
# File 'lib/parser/lexer.rb', line 10967

def advance
  if @token_queue.any?
    return @token_queue.shift
  end

  # Ugly, but dependent on Ragel output. Consider refactoring it somehow.
  klass = self.class
  _lex_trans_keys         = klass.send :_lex_trans_keys
  _lex_key_spans          = klass.send :_lex_key_spans
  _lex_index_offsets      = klass.send :_lex_index_offsets
  _lex_indicies           = klass.send :_lex_indicies
  _lex_trans_targs        = klass.send :_lex_trans_targs
  _lex_trans_actions      = klass.send :_lex_trans_actions
  _lex_to_state_actions   = klass.send :_lex_to_state_actions
  _lex_from_state_actions = klass.send :_lex_from_state_actions
  _lex_eof_trans          = klass.send :_lex_eof_trans

  pe = @source_pts.size + 2
  p, eof = @p, pe

  cmd_state = @command_start
  @command_start = false

  
# line 10991 "lib/parser/lexer.rb"
begin
	testEof = false
	_slen, _trans, _keys, _inds, _acts, _nacts = nil
	_goto_level = 0
	_resume = 10
	_eof_trans = 15
	_again = 20
	_test_eof = 30
	_out = 40
	while true
	if _goto_level <= 0
	if p == pe
_goto_level = _test_eof
next
	end
	if  @cs == 0
_goto_level = _out
next
	end
	end
	if _goto_level <= _resume
	case _lex_from_state_actions[ @cs] 
	when 97 then
# line 1 "NONE"
begin
 @ts = p
end
# line 11019 "lib/parser/lexer.rb"
	end
	_keys =  @cs << 1
	_inds = _lex_index_offsets[ @cs]
	_slen = _lex_key_spans[ @cs]
	_wide = ( (@source_pts[p] || 0))
	_trans = if (   _slen > 0 && 
	_lex_trans_keys[_keys] <= _wide && 
	_wide <= _lex_trans_keys[_keys + 1] 
    ) then
	_lex_indicies[ _inds + _wide - _lex_trans_keys[_keys] ] 
 else 
	_lex_indicies[ _inds + _slen ]
 end
	end
	if _goto_level <= _eof_trans
@cs = _lex_trans_targs[_trans]
	if _lex_trans_actions[_trans] != 0
	case _lex_trans_actions[_trans]
	when 28 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
	when 117 then
# line 817 "lib/parser/lexer.rl"
begin

  @escape_s = p
  @escape   = nil
		end
	when 29 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
	when 59 then
# line 1217 "lib/parser/lexer.rl"
begin
 @sharp_s = p - 1 		end
	when 63 then
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
	when 304 then
# line 1261 "lib/parser/lexer.rl"
begin
 tm = p 		end
	when 36 then
# line 1542 "lib/parser/lexer.rl"
begin
 tm = p 		end
	when 38 then
# line 1562 "lib/parser/lexer.rl"
begin
 tm = p 		end
	when 40 then
# line 1590 "lib/parser/lexer.rl"
begin
 tm = p 		end
	when 70 then
# line 1782 "lib/parser/lexer.rl"
begin
 heredoc_e      = p 		end
	when 343 then
# line 1874 "lib/parser/lexer.rl"
begin
 tm = p - 1; diag_msg = :ivar_name 		end
	when 346 then
# line 1875 "lib/parser/lexer.rl"
begin
 tm = p - 2; diag_msg = :cvar_name 		end
	when 354 then
# line 1895 "lib/parser/lexer.rl"
begin
 @escape = nil 		end
	when 383 then
# line 1984 "lib/parser/lexer.rl"
begin
 tm = p 		end
	when 302 then
# line 2072 "lib/parser/lexer.rl"
begin
 ident_tok = tok; ident_ts = @ts; ident_te = @te; 		end
	when 470 then
# line 2258 "lib/parser/lexer.rl"
begin
 @num_base = 16; @num_digits_s = p 		end
	when 464 then
# line 2259 "lib/parser/lexer.rl"
begin
 @num_base = 10; @num_digits_s = p 		end
	when 467 then
# line 2260 "lib/parser/lexer.rl"
begin
 @num_base = 8;  @num_digits_s = p 		end
	when 461 then
# line 2261 "lib/parser/lexer.rl"
begin
 @num_base = 2;  @num_digits_s = p 		end
	when 476 then
# line 2262 "lib/parser/lexer.rl"
begin
 @num_base = 10; @num_digits_s = @ts 		end
	when 438 then
# line 2263 "lib/parser/lexer.rl"
begin
 @num_base = 8;  @num_digits_s = @ts 		end
	when 453 then
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
	when 446 then
# line 2321 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
	when 443 then
# line 2322 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
	when 88 then
# line 2510 "lib/parser/lexer.rl"
begin
 tm = p 		end
	when 7 then
# line 1 "NONE"
begin
 @te = p+1
end
	when 113 then
# line 1094 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  current_literal.flush_string
  current_literal.extend_content

  emit(:tSTRING_DBEG, '#{'.freeze)

  if current_literal.heredoc?
    current_literal.saved_herebody_s = @herebody_s
    @herebody_s = nil
  end

  current_literal.start_interp_brace
  @command_start = true
   @cs = 773;
  	begin
p += 1
_goto_level = _out
next
	end

 end
end
	when 5 then
# line 1020 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  current_literal.flush_string
  current_literal.extend_content

  emit(:tSTRING_DVAR, nil, @ts, @ts + 1)

  p = @ts
  	begin
 @stack[ @top] =  @cs
 @top+= 1
 @cs = 328
_goto_level = _again
next
	end

 end
end
	when 109 then
# line 945 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  if @te == pe
    diagnostic :fatal, :string_eof, nil,
               range(current_literal.str_s, current_literal.str_s + 1)
  end

  if current_literal.heredoc?
    line = tok(@herebody_s, @ts).gsub(/\r+$/, ''.freeze)

    if version?(18, 19, 20)
      # See ruby:c48b4209c
      line = line.gsub(/\r.*$/, ''.freeze)
    end

    # Try ending the heredoc with the complete most recently
    # scanned line. @herebody_s always refers to the start of such line.
    if current_literal.nest_and_try_closing(line, @herebody_s, @ts)
      # Adjust @herebody_s to point to the next line.
      @herebody_s = @te

      # Continue regular lexing after the heredoc reference (<<END).
      p = current_literal.heredoc_e - 1
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    else
      # Calculate indentation level for <<~HEREDOCs.
      current_literal.infer_indent_level(line)

      # Ditto.
      @herebody_s = @te
    end
  else
    # Try ending the literal with a newline.
    if current_literal.nest_and_try_closing(tok, @ts, @te)
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    end

    if @herebody_s
      # This is a regular literal intertwined with a heredoc. Like:
      #
      #     p <<-foo+"1
      #     bar
      #     foo
      #     2"
      #
      # which, incidentally, evaluates to "bar\n1\n2".
      p = @herebody_s - 1
      @herebody_s = nil
    end
  end

  if current_literal.words? && !eof_codepoint?(@source_pts[p])
    current_literal.extend_space @ts, @te
  else
    # A literal newline is appended if the heredoc was _not_ closed
    # this time (see fbreak above). See also Literal#nest_and_try_closing
    # for rationale of calling #flush_string here.
    current_literal.extend_string tok, @ts, @te
    current_literal.flush_string
  end
 end
end
	when 108 then
# line 866 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 115 then
# line 1036 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  if @version >= 27
    literal.extend_string(tok, @ts, @te)
  else
    message = tok.start_with?('#@@') ? :cvar_name : :ivar_name
    diagnostic :error, message, { :name => tok(@ts + 1, @te) }, range(@ts + 1, @te)
  end
 end
end
	when 114 then
# line 1020 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  current_literal.flush_string
  current_literal.extend_content

  emit(:tSTRING_DVAR, nil, @ts, @ts + 1)

  p = @ts
  	begin
 @stack[ @top] =  @cs
 @top+= 1
 @cs = 328
_goto_level = _again
next
	end

 end
end
	when 111 then
# line 1007 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  literal.extend_space @ts, @te
 end
end
	when 112 then
# line 866 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 6 then
# line 890 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 4 then
# line 866 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 142 then
# line 1094 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  current_literal.flush_string
  current_literal.extend_content

  emit(:tSTRING_DBEG, '#{'.freeze)

  if current_literal.heredoc?
    current_literal.saved_herebody_s = @herebody_s
    @herebody_s = nil
  end

  current_literal.start_interp_brace
  @command_start = true
   @cs = 773;
  	begin
p += 1
_goto_level = _out
next
	end

 end
end
	when 10 then
# line 1020 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  current_literal.flush_string
  current_literal.extend_content

  emit(:tSTRING_DVAR, nil, @ts, @ts + 1)

  p = @ts
  	begin
 @stack[ @top] =  @cs
 @top+= 1
 @cs = 328
_goto_level = _again
next
	end

 end
end
	when 139 then
# line 945 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  if @te == pe
    diagnostic :fatal, :string_eof, nil,
               range(current_literal.str_s, current_literal.str_s + 1)
  end

  if current_literal.heredoc?
    line = tok(@herebody_s, @ts).gsub(/\r+$/, ''.freeze)

    if version?(18, 19, 20)
      # See ruby:c48b4209c
      line = line.gsub(/\r.*$/, ''.freeze)
    end

    # Try ending the heredoc with the complete most recently
    # scanned line. @herebody_s always refers to the start of such line.
    if current_literal.nest_and_try_closing(line, @herebody_s, @ts)
      # Adjust @herebody_s to point to the next line.
      @herebody_s = @te

      # Continue regular lexing after the heredoc reference (<<END).
      p = current_literal.heredoc_e - 1
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    else
      # Calculate indentation level for <<~HEREDOCs.
      current_literal.infer_indent_level(line)

      # Ditto.
      @herebody_s = @te
    end
  else
    # Try ending the literal with a newline.
    if current_literal.nest_and_try_closing(tok, @ts, @te)
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    end

    if @herebody_s
      # This is a regular literal intertwined with a heredoc. Like:
      #
      #     p <<-foo+"1
      #     bar
      #     foo
      #     2"
      #
      # which, incidentally, evaluates to "bar\n1\n2".
      p = @herebody_s - 1
      @herebody_s = nil
    end
  end

  if current_literal.words? && !eof_codepoint?(@source_pts[p])
    current_literal.extend_space @ts, @te
  else
    # A literal newline is appended if the heredoc was _not_ closed
    # this time (see fbreak above). See also Literal#nest_and_try_closing
    # for rationale of calling #flush_string here.
    current_literal.extend_string tok, @ts, @te
    current_literal.flush_string
  end
 end
end
	when 138 then
# line 866 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 144 then
# line 1036 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  if @version >= 27
    literal.extend_string(tok, @ts, @te)
  else
    message = tok.start_with?('#@@') ? :cvar_name : :ivar_name
    diagnostic :error, message, { :name => tok(@ts + 1, @te) }, range(@ts + 1, @te)
  end
 end
end
	when 143 then
# line 1020 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  current_literal.flush_string
  current_literal.extend_content

  emit(:tSTRING_DVAR, nil, @ts, @ts + 1)

  p = @ts
  	begin
 @stack[ @top] =  @cs
 @top+= 1
 @cs = 328
_goto_level = _again
next
	end

 end
end
	when 141 then
# line 866 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 11 then
# line 890 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 9 then
# line 866 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 167 then
# line 945 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  if @te == pe
    diagnostic :fatal, :string_eof, nil,
               range(current_literal.str_s, current_literal.str_s + 1)
  end

  if current_literal.heredoc?
    line = tok(@herebody_s, @ts).gsub(/\r+$/, ''.freeze)

    if version?(18, 19, 20)
      # See ruby:c48b4209c
      line = line.gsub(/\r.*$/, ''.freeze)
    end

    # Try ending the heredoc with the complete most recently
    # scanned line. @herebody_s always refers to the start of such line.
    if current_literal.nest_and_try_closing(line, @herebody_s, @ts)
      # Adjust @herebody_s to point to the next line.
      @herebody_s = @te

      # Continue regular lexing after the heredoc reference (<<END).
      p = current_literal.heredoc_e - 1
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    else
      # Calculate indentation level for <<~HEREDOCs.
      current_literal.infer_indent_level(line)

      # Ditto.
      @herebody_s = @te
    end
  else
    # Try ending the literal with a newline.
    if current_literal.nest_and_try_closing(tok, @ts, @te)
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    end

    if @herebody_s
      # This is a regular literal intertwined with a heredoc. Like:
      #
      #     p <<-foo+"1
      #     bar
      #     foo
      #     2"
      #
      # which, incidentally, evaluates to "bar\n1\n2".
      p = @herebody_s - 1
      @herebody_s = nil
    end
  end

  if current_literal.words? && !eof_codepoint?(@source_pts[p])
    current_literal.extend_space @ts, @te
  else
    # A literal newline is appended if the heredoc was _not_ closed
    # this time (see fbreak above). See also Literal#nest_and_try_closing
    # for rationale of calling #flush_string here.
    current_literal.extend_string tok, @ts, @te
    current_literal.flush_string
  end
 end
end
	when 166 then
# line 866 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 169 then
# line 1007 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  literal.extend_space @ts, @te
 end
end
	when 170 then
# line 866 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 173 then
# line 945 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  if @te == pe
    diagnostic :fatal, :string_eof, nil,
               range(current_literal.str_s, current_literal.str_s + 1)
  end

  if current_literal.heredoc?
    line = tok(@herebody_s, @ts).gsub(/\r+$/, ''.freeze)

    if version?(18, 19, 20)
      # See ruby:c48b4209c
      line = line.gsub(/\r.*$/, ''.freeze)
    end

    # Try ending the heredoc with the complete most recently
    # scanned line. @herebody_s always refers to the start of such line.
    if current_literal.nest_and_try_closing(line, @herebody_s, @ts)
      # Adjust @herebody_s to point to the next line.
      @herebody_s = @te

      # Continue regular lexing after the heredoc reference (<<END).
      p = current_literal.heredoc_e - 1
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    else
      # Calculate indentation level for <<~HEREDOCs.
      current_literal.infer_indent_level(line)

      # Ditto.
      @herebody_s = @te
    end
  else
    # Try ending the literal with a newline.
    if current_literal.nest_and_try_closing(tok, @ts, @te)
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    end

    if @herebody_s
      # This is a regular literal intertwined with a heredoc. Like:
      #
      #     p <<-foo+"1
      #     bar
      #     foo
      #     2"
      #
      # which, incidentally, evaluates to "bar\n1\n2".
      p = @herebody_s - 1
      @herebody_s = nil
    end
  end

  if current_literal.words? && !eof_codepoint?(@source_pts[p])
    current_literal.extend_space @ts, @te
  else
    # A literal newline is appended if the heredoc was _not_ closed
    # this time (see fbreak above). See also Literal#nest_and_try_closing
    # for rationale of calling #flush_string here.
    current_literal.extend_string tok, @ts, @te
    current_literal.flush_string
  end
 end
end
	when 172 then
# line 866 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 175 then
# line 866 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 182 then
# line 1094 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  current_literal.flush_string
  current_literal.extend_content

  emit(:tSTRING_DBEG, '#{'.freeze)

  if current_literal.heredoc?
    current_literal.saved_herebody_s = @herebody_s
    @herebody_s = nil
  end

  current_literal.start_interp_brace
  @command_start = true
   @cs = 773;
  	begin
p += 1
_goto_level = _out
next
	end

 end
end
	when 13 then
# line 1020 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  current_literal.flush_string
  current_literal.extend_content

  emit(:tSTRING_DVAR, nil, @ts, @ts + 1)

  p = @ts
  	begin
 @stack[ @top] =  @cs
 @top+= 1
 @cs = 328
_goto_level = _again
next
	end

 end
end
	when 179 then
# line 945 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  if @te == pe
    diagnostic :fatal, :string_eof, nil,
               range(current_literal.str_s, current_literal.str_s + 1)
  end

  if current_literal.heredoc?
    line = tok(@herebody_s, @ts).gsub(/\r+$/, ''.freeze)

    if version?(18, 19, 20)
      # See ruby:c48b4209c
      line = line.gsub(/\r.*$/, ''.freeze)
    end

    # Try ending the heredoc with the complete most recently
    # scanned line. @herebody_s always refers to the start of such line.
    if current_literal.nest_and_try_closing(line, @herebody_s, @ts)
      # Adjust @herebody_s to point to the next line.
      @herebody_s = @te

      # Continue regular lexing after the heredoc reference (<<END).
      p = current_literal.heredoc_e - 1
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    else
      # Calculate indentation level for <<~HEREDOCs.
      current_literal.infer_indent_level(line)

      # Ditto.
      @herebody_s = @te
    end
  else
    # Try ending the literal with a newline.
    if current_literal.nest_and_try_closing(tok, @ts, @te)
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    end

    if @herebody_s
      # This is a regular literal intertwined with a heredoc. Like:
      #
      #     p <<-foo+"1
      #     bar
      #     foo
      #     2"
      #
      # which, incidentally, evaluates to "bar\n1\n2".
      p = @herebody_s - 1
      @herebody_s = nil
    end
  end

  if current_literal.words? && !eof_codepoint?(@source_pts[p])
    current_literal.extend_space @ts, @te
  else
    # A literal newline is appended if the heredoc was _not_ closed
    # this time (see fbreak above). See also Literal#nest_and_try_closing
    # for rationale of calling #flush_string here.
    current_literal.extend_string tok, @ts, @te
    current_literal.flush_string
  end
 end
end
	when 178 then
# line 866 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 184 then
# line 1036 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  if @version >= 27
    literal.extend_string(tok, @ts, @te)
  else
    message = tok.start_with?('#@@') ? :cvar_name : :ivar_name
    diagnostic :error, message, { :name => tok(@ts + 1, @te) }, range(@ts + 1, @te)
  end
 end
end
	when 183 then
# line 1020 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  current_literal.flush_string
  current_literal.extend_content

  emit(:tSTRING_DVAR, nil, @ts, @ts + 1)

  p = @ts
  	begin
 @stack[ @top] =  @cs
 @top+= 1
 @cs = 328
_goto_level = _again
next
	end

 end
end
	when 181 then
# line 866 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 12 then
# line 866 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 186 then
# line 945 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  if @te == pe
    diagnostic :fatal, :string_eof, nil,
               range(current_literal.str_s, current_literal.str_s + 1)
  end

  if current_literal.heredoc?
    line = tok(@herebody_s, @ts).gsub(/\r+$/, ''.freeze)

    if version?(18, 19, 20)
      # See ruby:c48b4209c
      line = line.gsub(/\r.*$/, ''.freeze)
    end

    # Try ending the heredoc with the complete most recently
    # scanned line. @herebody_s always refers to the start of such line.
    if current_literal.nest_and_try_closing(line, @herebody_s, @ts)
      # Adjust @herebody_s to point to the next line.
      @herebody_s = @te

      # Continue regular lexing after the heredoc reference (<<END).
      p = current_literal.heredoc_e - 1
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    else
      # Calculate indentation level for <<~HEREDOCs.
      current_literal.infer_indent_level(line)

      # Ditto.
      @herebody_s = @te
    end
  else
    # Try ending the literal with a newline.
    if current_literal.nest_and_try_closing(tok, @ts, @te)
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    end

    if @herebody_s
      # This is a regular literal intertwined with a heredoc. Like:
      #
      #     p <<-foo+"1
      #     bar
      #     foo
      #     2"
      #
      # which, incidentally, evaluates to "bar\n1\n2".
      p = @herebody_s - 1
      @herebody_s = nil
    end
  end

  if current_literal.words? && !eof_codepoint?(@source_pts[p])
    current_literal.extend_space @ts, @te
  else
    # A literal newline is appended if the heredoc was _not_ closed
    # this time (see fbreak above). See also Literal#nest_and_try_closing
    # for rationale of calling #flush_string here.
    current_literal.extend_string tok, @ts, @te
    current_literal.flush_string
  end
 end
end
	when 185 then
# line 866 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 193 then
# line 1094 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  current_literal.flush_string
  current_literal.extend_content

  emit(:tSTRING_DBEG, '#{'.freeze)

  if current_literal.heredoc?
    current_literal.saved_herebody_s = @herebody_s
    @herebody_s = nil
  end

  current_literal.start_interp_brace
  @command_start = true
   @cs = 773;
  	begin
p += 1
_goto_level = _out
next
	end

 end
end
	when 15 then
# line 1020 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  current_literal.flush_string
  current_literal.extend_content

  emit(:tSTRING_DVAR, nil, @ts, @ts + 1)

  p = @ts
  	begin
 @stack[ @top] =  @cs
 @top+= 1
 @cs = 328
_goto_level = _again
next
	end

 end
end
	when 189 then
# line 945 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  if @te == pe
    diagnostic :fatal, :string_eof, nil,
               range(current_literal.str_s, current_literal.str_s + 1)
  end

  if current_literal.heredoc?
    line = tok(@herebody_s, @ts).gsub(/\r+$/, ''.freeze)

    if version?(18, 19, 20)
      # See ruby:c48b4209c
      line = line.gsub(/\r.*$/, ''.freeze)
    end

    # Try ending the heredoc with the complete most recently
    # scanned line. @herebody_s always refers to the start of such line.
    if current_literal.nest_and_try_closing(line, @herebody_s, @ts)
      # Adjust @herebody_s to point to the next line.
      @herebody_s = @te

      # Continue regular lexing after the heredoc reference (<<END).
      p = current_literal.heredoc_e - 1
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    else
      # Calculate indentation level for <<~HEREDOCs.
      current_literal.infer_indent_level(line)

      # Ditto.
      @herebody_s = @te
    end
  else
    # Try ending the literal with a newline.
    if current_literal.nest_and_try_closing(tok, @ts, @te)
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    end

    if @herebody_s
      # This is a regular literal intertwined with a heredoc. Like:
      #
      #     p <<-foo+"1
      #     bar
      #     foo
      #     2"
      #
      # which, incidentally, evaluates to "bar\n1\n2".
      p = @herebody_s - 1
      @herebody_s = nil
    end
  end

  if current_literal.words? && !eof_codepoint?(@source_pts[p])
    current_literal.extend_space @ts, @te
  else
    # A literal newline is appended if the heredoc was _not_ closed
    # this time (see fbreak above). See also Literal#nest_and_try_closing
    # for rationale of calling #flush_string here.
    current_literal.extend_string tok, @ts, @te
    current_literal.flush_string
  end
 end
end
	when 188 then
# line 866 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 195 then
# line 1036 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  if @version >= 27
    literal.extend_string(tok, @ts, @te)
  else
    message = tok.start_with?('#@@') ? :cvar_name : :ivar_name
    diagnostic :error, message, { :name => tok(@ts + 1, @te) }, range(@ts + 1, @te)
  end
 end
end
	when 194 then
# line 1020 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  current_literal.flush_string
  current_literal.extend_content

  emit(:tSTRING_DVAR, nil, @ts, @ts + 1)

  p = @ts
  	begin
 @stack[ @top] =  @cs
 @top+= 1
 @cs = 328
_goto_level = _again
next
	end

 end
end
	when 191 then
# line 1007 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  literal.extend_space @ts, @te
 end
end
	when 192 then
# line 866 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 14 then
# line 866 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 197 then
# line 945 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  if @te == pe
    diagnostic :fatal, :string_eof, nil,
               range(current_literal.str_s, current_literal.str_s + 1)
  end

  if current_literal.heredoc?
    line = tok(@herebody_s, @ts).gsub(/\r+$/, ''.freeze)

    if version?(18, 19, 20)
      # See ruby:c48b4209c
      line = line.gsub(/\r.*$/, ''.freeze)
    end

    # Try ending the heredoc with the complete most recently
    # scanned line. @herebody_s always refers to the start of such line.
    if current_literal.nest_and_try_closing(line, @herebody_s, @ts)
      # Adjust @herebody_s to point to the next line.
      @herebody_s = @te

      # Continue regular lexing after the heredoc reference (<<END).
      p = current_literal.heredoc_e - 1
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    else
      # Calculate indentation level for <<~HEREDOCs.
      current_literal.infer_indent_level(line)

      # Ditto.
      @herebody_s = @te
    end
  else
    # Try ending the literal with a newline.
    if current_literal.nest_and_try_closing(tok, @ts, @te)
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    end

    if @herebody_s
      # This is a regular literal intertwined with a heredoc. Like:
      #
      #     p <<-foo+"1
      #     bar
      #     foo
      #     2"
      #
      # which, incidentally, evaluates to "bar\n1\n2".
      p = @herebody_s - 1
      @herebody_s = nil
    end
  end

  if current_literal.words? && !eof_codepoint?(@source_pts[p])
    current_literal.extend_space @ts, @te
  else
    # A literal newline is appended if the heredoc was _not_ closed
    # this time (see fbreak above). See also Literal#nest_and_try_closing
    # for rationale of calling #flush_string here.
    current_literal.extend_string tok, @ts, @te
    current_literal.flush_string
  end
 end
end
	when 196 then
# line 866 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  string = tok

  # tLABEL_END is only possible in non-cond context on >= 2.2
  if @version >= 22 && !@cond.active?
    lookahead = @source_buffer.slice(@te...@te+2)
  end

  current_literal = literal
  if !current_literal.heredoc? &&
        (token = current_literal.nest_and_try_closing(string, @ts, @te, lookahead))
    if token[0] == :tLABEL_END
      p += 1
      pop_literal
       @cs = 766;
    else
       @cs = (pop_literal);
    end
    	begin
p += 1
_goto_level = _out
next
	end

  else
    current_literal.extend_string(string, @ts, @te)
  end
 end
end
	when 199 then
# line 1007 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  literal.extend_space @ts, @te
 end
end
	when 200 then
# line 1191 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      emit(:tREGEXP_OPT, tok(@ts, @te - 1), @ts, @te - 1)
      p = p - 1;
      	begin
 @cs = 781
_goto_level = _again
next
	end

     end
end
	when 201 then
# line 1178 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      unknown_options = tok.scan(/[^imxouesn]/)
      if unknown_options.any?
        diagnostic :error, :regexp_options,
                   { :options => unknown_options.join }
      end

      emit(:tREGEXP_OPT)
       @cs = 781;
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 16 then
# line 1330 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      if    tok =~ /^\$([1-9][0-9]*)$/
        emit(:tNTH_REF, tok(@ts + 1).to_i)
      elsif tok =~ /^\$([&`'+])$/
        emit(:tBACK_REF)
      else
        emit(:tGVAR)
      end

       @cs = (stack_pop); 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 202 then
# line 1330 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      if    tok =~ /^\$([1-9][0-9]*)$/
        emit(:tNTH_REF, tok(@ts + 1).to_i)
      elsif tok =~ /^\$([&`'+])$/
        emit(:tBACK_REF)
      else
        emit(:tGVAR)
      end

       @cs = (stack_pop); 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 204 then
# line 1343 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      if tok =~ /^@@[0-9]/
        diagnostic :error, :cvar_name, { :name => tok }
      end

      emit(:tCVAR)
       @cs = (stack_pop); 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 203 then
# line 1353 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      if tok =~ /^@[0-9]/
        diagnostic :error, :ivar_name, { :name => tok }
      end

      emit(:tIVAR)
       @cs = (stack_pop); 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 225 then
# line 1374 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  emit_table(KEYWORDS_BEGIN);
          @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 211 then
# line 1382 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  emit(:tIDENTIFIER)
          @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 18 then
# line 1386 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = @ts - 1
          @cs = 781; 	begin
 @stack[ @top] =  @cs
 @top+= 1
 @cs = 328
_goto_level = _again
next
	end
end
end
	when 208 then
# line 1395 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  emit_table(PUNCTUATION)
          @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 220 then
# line 1399 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = p - 1; p = p - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 20 then
# line 1405 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      if version?(23)
        type, delimiter = tok[0..-2], tok[-1].chr
        	begin
 @cs = (push_literal(type, delimiter, @ts))
_goto_level = _again
next
	end

      else
        p = @ts - 1
        	begin
 @cs = 781
_goto_level = _again
next
	end

      end
     end
end
	when 207 then
# line 1418 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = p - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 206 then
# line 527 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  # Sit at EOF indefinitely. #advance would return $eof each time.
  # This allows to feed the lexer more data if needed; this is only used
  # in tests.
  #
  # Note that this action is not embedded into e_eof like e_heredoc_nl and e_bs
  # below. This is due to the fact that scanner state at EOF is observed
  # by tests, and encapsulating it in a rule would break the introspection.
  p = p - 1; 	begin
p += 1
_goto_level = _out
next
	end

 end
end
	when 224 then
# line 1374 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit_table(KEYWORDS_BEGIN);
          @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 221 then
# line 1378 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit(:tCONSTANT)
          @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 223 then
# line 1382 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit(:tIDENTIFIER)
          @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 218 then
# line 1386 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = @ts - 1
          @cs = 781; 	begin
 @stack[ @top] =  @cs
 @top+= 1
 @cs = 328
_goto_level = _again
next
	end
end
end
	when 214 then
# line 1395 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit_table(PUNCTUATION)
          @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 219 then
# line 1402 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = p - 1; 	begin
 @cs = 543
_goto_level = _again
next
	end
end
end
	when 212 then
# line 1415 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 217 then
# line 1418 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = p - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 19 then
# line 1395 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin  emit_table(PUNCTUATION)
          @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 17 then
# line 1418 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin  p = p - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 210 then
# line 1 "NONE"
begin
	case  @act
	when 43 then
	begin begin p = (( @te))-1; end
 emit_table(KEYWORDS_BEGIN);
          @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 44 then
	begin begin p = (( @te))-1; end
 emit(:tCONSTANT)
          @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 45 then
	begin begin p = (( @te))-1; end
 emit(:tIDENTIFIER)
          @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end
 end
end 
	end
	when 22 then
# line 1430 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  emit(:tLABEL, tok(@ts, @te - 2), @ts, @te - 1)
         p = p - 1;  @cs = 766; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 227 then
# line 1436 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = p - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 226 then
# line 527 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  # Sit at EOF indefinitely. #advance would return $eof each time.
  # This allows to feed the lexer more data if needed; this is only used
  # in tests.
  #
  # Note that this action is not embedded into e_eof like e_heredoc_nl and e_bs
  # below. This is due to the fact that scanner state at EOF is observed
  # by tests, and encapsulating it in a rule would break the introspection.
  p = p - 1; 	begin
p += 1
_goto_level = _out
next
	end

 end
end
	when 229 then
# line 1433 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 228 then
# line 1436 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = p - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 21 then
# line 1436 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin  p = p - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 235 then
# line 1462 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  emit_table(PUNCTUATION)
          @cs = 474; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 234 then
# line 1468 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = p - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 233 then
# line 527 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  # Sit at EOF indefinitely. #advance would return $eof each time.
  # This allows to feed the lexer more data if needed; this is only used
  # in tests.
  #
  # Note that this action is not embedded into e_eof like e_heredoc_nl and e_bs
  # below. This is due to the fact that scanner state at EOF is observed
  # by tests, and encapsulating it in a rule would break the introspection.
  p = p - 1; 	begin
p += 1
_goto_level = _out
next
	end

 end
end
	when 245 then
# line 1447 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit(:tCONSTANT)
          @cs = (arg_or_cmdarg(cmd_state)); 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 236 then
# line 1451 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit(:tIDENTIFIER)
          @cs = (arg_or_cmdarg(cmd_state)); 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 241 then
# line 1462 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit_table(PUNCTUATION)
          @cs = 474; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 239 then
# line 1465 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 244 then
# line 1468 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = p - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 268 then
# line 1528 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      # Unlike expr_beg as invoked in the next rule, do not warn
      p = @ts - 1
      	begin
 @cs = 781
_goto_level = _again
next
	end

     end
end
	when 251 then
# line 1546 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      if tok(tm, tm + 1) == '/'.freeze
        # Ambiguous regexp literal.
        if @version < 30
          diagnostic :warning, :ambiguous_literal, nil, range(tm, tm + 1)
        else
          diagnostic :warning, :ambiguous_regexp, nil, range(tm, tm + 1)
        end
      end

      p = tm - 1
      	begin
 @cs = 543
_goto_level = _again
next
	end

     end
end
	when 257 then
# line 1574 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = p - 1; p = p - 1; 	begin
 @cs = 543
_goto_level = _again
next
	end
end
end
	when 24 then
# line 1582 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = @ts - 1; 	begin
 @cs = 543
_goto_level = _again
next
	end
end
end
	when 259 then
# line 1591 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = tm - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 39 then
# line 1602 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      p = @ts - 1
      	begin
 @cs = 781
_goto_level = _again
next
	end

     end
end
	when 246 then
# line 1616 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = p - 1; 	begin
 @cs = 543
_goto_level = _again
next
	end
end
end
	when 247 then
# line 527 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  # Sit at EOF indefinitely. #advance would return $eof each time.
  # This allows to feed the lexer more data if needed; this is only used
  # in tests.
  #
  # Note that this action is not embedded into e_eof like e_heredoc_nl and e_bs
  # below. This is due to the fact that scanner state at EOF is observed
  # by tests, and encapsulating it in a rule would break the introspection.
  p = p - 1; 	begin
p += 1
_goto_level = _out
next
	end

 end
end
	when 258 then
# line 1537 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = p - 1; 	begin
 @cs = 543
_goto_level = _again
next
	end
end
end
	when 254 then
# line 1563 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      diagnostic :warning, :ambiguous_prefix, { :prefix => tok(tm, @te) },
                 range(tm, @te)

      p = tm - 1
      	begin
 @cs = 543
_goto_level = _again
next
	end

     end
end
	when 256 then
# line 1579 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = p - 1; 	begin
 @cs = 543
_goto_level = _again
next
	end
end
end
	when 250 then
# line 1602 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      p = @ts - 1
      	begin
 @cs = 781
_goto_level = _again
next
	end

     end
end
	when 249 then
# line 1607 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 267 then
# line 1616 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = p - 1; 	begin
 @cs = 543
_goto_level = _again
next
	end
end
end
	when 25 then
# line 1607 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
end
	when 41 then
# line 1616 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin  p = p - 1; 	begin
 @cs = 543
_goto_level = _again
next
	end
end
end
	when 23 then
# line 1 "NONE"
begin
	case  @act
	when 71 then
	begin begin p = (( @te))-1; end

      if tok(tm, tm + 1) == '/'.freeze
        # Ambiguous regexp literal.
        if @version < 30
          diagnostic :warning, :ambiguous_literal, nil, range(tm, tm + 1)
        else
          diagnostic :warning, :ambiguous_regexp, nil, range(tm, tm + 1)
        end
      end

      p = tm - 1
      	begin
 @cs = 543
_goto_level = _again
next
	end

    end
	when 72 then
	begin begin p = (( @te))-1; end

      diagnostic :warning, :ambiguous_prefix, { :prefix => tok(tm, @te) },
                 range(tm, @te)

      p = tm - 1
      	begin
 @cs = 543
_goto_level = _again
next
	end

    end
	when 77 then
	begin begin p = (( @te))-1; end

      p = @ts - 1
      	begin
 @cs = 781
_goto_level = _again
next
	end

    end
	else
	begin begin p = (( @te))-1; end
end
end 
	end
	when 43 then
# line 1652 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = @ts - 1
         	begin
 @cs = 474
_goto_level = _again
next
	end
end
end
	when 272 then
# line 527 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  # Sit at EOF indefinitely. #advance would return $eof each time.
  # This allows to feed the lexer more data if needed; this is only used
  # in tests.
  #
  # Note that this action is not embedded into e_eof like e_heredoc_nl and e_bs
  # below. This is due to the fact that scanner state at EOF is observed
  # by tests, and encapsulating it in a rule would break the introspection.
  p = p - 1; 	begin
p += 1
_goto_level = _out
next
	end

 end
end
	when 273 then
# line 1652 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = @ts - 1
         	begin
 @cs = 474
_goto_level = _again
next
	end
end
end
	when 44 then
# line 1652 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin  p = @ts - 1
         	begin
 @cs = 474
_goto_level = _again
next
	end
end
end
	when 42 then
# line 1 "NONE"
begin
	case  @act
	when 84 then
	begin begin p = (( @te))-1; end

      if @cond.active?
        emit(:kDO_COND, 'do'.freeze, @te - 2, @te)
      else
        emit(:kDO, 'do'.freeze, @te - 2, @te)
      end
       @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end

    end
	when 85 then
	begin begin p = (( @te))-1; end
 p = @ts - 1
         	begin
 @cs = 474
_goto_level = _again
next
	end
 end
end 
	end
	when 283 then
# line 1688 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  emit_do(true)
          @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 276 then
# line 1694 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = p - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 277 then
# line 527 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  # Sit at EOF indefinitely. #advance would return $eof each time.
  # This allows to feed the lexer more data if needed; this is only used
  # in tests.
  #
  # Note that this action is not embedded into e_eof like e_heredoc_nl and e_bs
  # below. This is due to the fact that scanner state at EOF is observed
  # by tests, and encapsulating it in a rule would break the introspection.
  p = p - 1; 	begin
p += 1
_goto_level = _out
next
	end

 end
end
	when 278 then
# line 1691 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 281 then
# line 1694 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = p - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 287 then
# line 1718 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = p - 1; 	begin
 @cs = 543
_goto_level = _again
next
	end
end
end
	when 286 then
# line 527 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  # Sit at EOF indefinitely. #advance would return $eof each time.
  # This allows to feed the lexer more data if needed; this is only used
  # in tests.
  #
  # Note that this action is not embedded into e_eof like e_heredoc_nl and e_bs
  # below. This is due to the fact that scanner state at EOF is observed
  # by tests, and encapsulating it in a rule would break the introspection.
  p = p - 1; 	begin
p += 1
_goto_level = _out
next
	end

 end
end
	when 295 then
# line 1710 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = @ts - 1; 	begin
 @cs = 543
_goto_level = _again
next
	end
end
end
	when 289 then
# line 1712 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 293 then
# line 1718 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = p - 1; 	begin
 @cs = 543
_goto_level = _again
next
	end
end
end
	when 288 then
# line 1 "NONE"
begin
	case  @act
	when 92 then
	begin begin p = (( @te))-1; end
 emit_table(KEYWORDS)
          @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 93 then
	begin begin p = (( @te))-1; end
 p = @ts - 1; 	begin
 @cs = 543
_goto_level = _again
next
	end
 end
end 
	end
	when 56 then
# line 1733 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      emit(:tUNARY_NUM, tok(@ts, @ts + 1), @ts, @ts + 1)
      p = p - 1;  @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 328 then
# line 1750 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      type = delimiter = tok[0].chr
      p = p - 1; 	begin
 @cs = (push_literal(type, delimiter, @ts))
_goto_level = _again
next
	end

     end
end
	when 320 then
# line 1757 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      type, delimiter = @source_buffer.slice(@ts).chr, tok[-1].chr
      	begin
 @cs = (push_literal(type, delimiter, @ts))
_goto_level = _again
next
	end

     end
end
	when 54 then
# line 1764 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      type, delimiter = tok[0..-2], tok[-1].chr
      	begin
 @cs = (push_literal(type, delimiter, @ts))
_goto_level = _again
next
	end

     end
end
	when 341 then
# line 1839 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      p = p - 1; p = p - 1;
      emit(:tSYMBEG, tok(@ts, @ts + 1), @ts, @ts + 1)
      	begin
 @cs = 333
_goto_level = _again
next
	end

     end
end
	when 329 then
# line 1847 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      type, delimiter = tok, tok[-1].chr
      	begin
 @cs = (push_literal(type, delimiter, @ts))
_goto_level = _again
next
	end

     end
end
	when 340 then
# line 1855 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      emit(:tSYMBOL, tok(@ts + 1, @ts + 2))
       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 68 then
# line 1869 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      emit(:tSYMBOL, tok(@ts + 1), @ts)
       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 351 then
# line 1910 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      escape = { " "  => '\s', "\r" => '\r', "\n" => '\n', "\t" => '\t',
                 "\v" => '\v', "\f" => '\f' }[@source_buffer.slice(@ts + 1)]
      diagnostic :warning, :invalid_escape_use, { :escape => escape }, range

      p = @ts - 1
      	begin
 @cs = 781
_goto_level = _again
next
	end

     end
end
	when 350 then
# line 1920 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      diagnostic :fatal, :incomplete_escape, nil, range(@ts, @ts + 1)
     end
end
	when 330 then
# line 1979 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  emit_table(PUNCTUATION_BEGIN)
         	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 51 then
# line 2000 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      p = p - 1;

      if version?(18)
        ident = tok(@ts, @te - 2)

        emit((@source_buffer.slice(@ts) =~ /[A-Z]/) ? :tCONSTANT : :tIDENTIFIER,
             ident, @ts, @te - 2)
        p = p - 1; # continue as a symbol

        if !@static_env.nil? && @static_env.declared?(ident)
           @cs = 781;
        else
           @cs = (arg_or_cmdarg(cmd_state));
        end
      else
        emit(:tLABEL, tok(@ts, @te - 2), @ts, @te - 1)
         @cs = 766;
      end

      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 327 then
# line 2038 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      if @version >= 30
        if @lambda_stack.any? && @lambda_stack.last + 1 == @paren_nest
          # To reject `->(...)` like `->...`
          emit(:tDOT3)
        else
          emit(:tBDOT3)
        end
      elsif @version >= 27
        emit(:tBDOT3)
      else
        emit(:tDOT3)
      end

       @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 48 then
# line 2074 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      emit(:tIDENTIFIER, ident_tok, ident_ts, ident_te)
      p = ident_te - 1

      if !@static_env.nil? && @static_env.declared?(ident_tok) && @version < 25
         @cs = 446;
      else
         @cs = 505;
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 314 then
# line 2093 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      p = @ts - 1
      @cs_before_block_comment = @cs
      	begin
 @cs = 185
_goto_level = _again
next
	end

     end
end
	when 55 then
# line 2109 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = @ts - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 298 then
# line 527 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  # Sit at EOF indefinitely. #advance would return $eof each time.
  # This allows to feed the lexer more data if needed; this is only used
  # in tests.
  #
  # Note that this action is not embedded into e_eof like e_heredoc_nl and e_bs
  # below. This is due to the fact that scanner state at EOF is observed
  # by tests, and encapsulating it in a rule would break the introspection.
  p = p - 1; 	begin
p += 1
_goto_level = _out
next
	end

 end
end
	when 325 then
# line 1733 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      emit(:tUNARY_NUM, tok(@ts, @ts + 1), @ts, @ts + 1)
      p = p - 1;  @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 324 then
# line 1740 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit(:tSTAR, '*'.freeze)
         	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 321 then
# line 1764 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      type, delimiter = tok[0..-2], tok[-1].chr
      	begin
 @cs = (push_literal(type, delimiter, @ts))
_goto_level = _again
next
	end

     end
end
	when 319 then
# line 1770 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      diagnostic :fatal, :string_eof, nil, range(@ts, @ts + 1)
     end
end
	when 348 then
# line 1830 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      diagnostic :error, :unterminated_heredoc_id, nil, range(@ts, @ts + 1)
     end
end
	when 331 then
# line 1869 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      emit(:tSYMBOL, tok(@ts + 1), @ts)
       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 344 then
# line 1877 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      if @version >= 27
        diagnostic :error, diag_msg, { name: tok(tm, @te) }, range(tm, @te)
      else
        emit(:tCOLON, tok(@ts, @ts + 1), @ts, @ts + 1)
        p = @ts
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 349 then
# line 1920 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      diagnostic :fatal, :incomplete_escape, nil, range(@ts, @ts + 1)
     end
end
	when 355 then
# line 1926 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      p = @ts - 1
      	begin
 @cs = 781
_goto_level = _again
next
	end

     end
end
	when 322 then
# line 1979 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit_table(PUNCTUATION_BEGIN)
         	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 326 then
# line 2027 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      if @version >= 27
        emit(:tBDOT2)
      else
        emit(:tDOT2)
      end

       @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 301 then
# line 1315 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  emit(:tIDENTIFIER)

  if !@static_env.nil? && @static_env.declared?(tok)
     @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end

  else
     @cs = (arg_or_cmdarg(cmd_state)); 	begin
p += 1
_goto_level = _out
next
	end

  end
 end
end
	when 311 then
# line 2090 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 313 then
# line 2093 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      p = @ts - 1
      @cs_before_block_comment = @cs
      	begin
 @cs = 185
_goto_level = _again
next
	end

     end
end
	when 316 then
# line 2109 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = @ts - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 53 then
# line 1770 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin 
      diagnostic :fatal, :string_eof, nil, range(@ts, @ts + 1)
     end
end
	when 72 then
# line 1830 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin 
      diagnostic :error, :unterminated_heredoc_id, nil, range(@ts, @ts + 1)
     end
end
	when 73 then
# line 1897 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 47 then
# line 1315 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin 
  emit(:tIDENTIFIER)

  if !@static_env.nil? && @static_env.declared?(tok)
     @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end

  else
     @cs = (arg_or_cmdarg(cmd_state)); 	begin
p += 1
_goto_level = _out
next
	end

  end
 end
end
	when 52 then
# line 2090 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
end
	when 67 then
# line 2109 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin  p = @ts - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 50 then
# line 1 "NONE"
begin
	case  @act
	when 98 then
	begin begin p = (( @te))-1; end

      emit(:tUNARY_NUM, tok(@ts, @ts + 1), @ts, @ts + 1)
      p = p - 1;  @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

    end
	when 105 then
	begin begin p = (( @te))-1; end

      diagnostic :error, :unterminated_heredoc_id, nil, range(@ts, @ts + 1)
    end
	when 116 then
	begin begin p = (( @te))-1; end

      if @version >= 27
        emit(:tPIPE, tok(@ts, @ts + 1), @ts, @ts + 1)
        p = p - 1;
         @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end

      else
        p -= 2
        	begin
 @cs = 781
_goto_level = _again
next
	end

      end
    end
	when 120 then
	begin begin p = (( @te))-1; end
 emit_table(PUNCTUATION_BEGIN)
         	begin
p += 1
_goto_level = _out
next
	end
 end
	when 121 then
	begin begin p = (( @te))-1; end
 emit(:kRESCUE, 'rescue'.freeze, @ts, tm)
         p = tm - 1
          @cs = 519; 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 122 then
	begin begin p = (( @te))-1; end
 emit_table(KEYWORDS_BEGIN)
         @command_start = true
          @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 126 then
	begin begin p = (( @te))-1; end
 p = @ts - 1
         	begin
 @cs = 781
_goto_level = _again
next
	end
 end
	when 127 then
	begin begin p = (( @te))-1; end

  emit(:tIDENTIFIER)

  if !@static_env.nil? && @static_env.declared?(tok)
     @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end

  else
     @cs = (arg_or_cmdarg(cmd_state)); 	begin
p += 1
_goto_level = _out
next
	end

  end
end
	when 131 then
	begin begin p = (( @te))-1; end
 p = @ts - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
 end
end 
	end
	when 386 then
# line 2129 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = p - 1; 	begin
 @cs = 543
_goto_level = _again
next
	end
end
end
	when 387 then
# line 527 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  # Sit at EOF indefinitely. #advance would return $eof each time.
  # This allows to feed the lexer more data if needed; this is only used
  # in tests.
  #
  # Note that this action is not embedded into e_eof like e_heredoc_nl and e_bs
  # below. This is due to the fact that scanner state at EOF is observed
  # by tests, and encapsulating it in a rule would break the introspection.
  p = p - 1; 	begin
p += 1
_goto_level = _out
next
	end

 end
end
	when 388 then
# line 2117 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 392 then
# line 2129 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = p - 1; 	begin
 @cs = 543
_goto_level = _again
next
	end
end
end
	when 76 then
# line 2139 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = @ts - 1
         	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 396 then
# line 2144 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      	begin
 @cs = (push_literal(tok, tok, @ts))
_goto_level = _again
next
	end

     end
end
	when 395 then
# line 2154 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = p - 1; 	begin
 @cs = 543
_goto_level = _again
next
	end
end
end
	when 394 then
# line 527 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  # Sit at EOF indefinitely. #advance would return $eof each time.
  # This allows to feed the lexer more data if needed; this is only used
  # in tests.
  #
  # Note that this action is not embedded into e_eof like e_heredoc_nl and e_bs
  # below. This is due to the fact that scanner state at EOF is observed
  # by tests, and encapsulating it in a rule would break the introspection.
  p = p - 1; 	begin
p += 1
_goto_level = _out
next
	end

 end
end
	when 398 then
# line 2148 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 397 then
# line 2154 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = p - 1; 	begin
 @cs = 543
_goto_level = _again
next
	end
end
end
	when 75 then
# line 2154 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin  p = p - 1; 	begin
 @cs = 543
_goto_level = _again
next
	end
end
end
	when 431 then
# line 2165 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      emit(:tLAMBDA, '->'.freeze, @ts, @ts + 2)

      @lambda_stack.push @paren_nest
       @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 85 then
# line 2206 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  emit(:kCLASS, 'class'.freeze, @ts, @ts + 5)
         emit(:tLSHFT, '<<'.freeze,    @te - 2, @te)
          @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 406 then
# line 2342 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      type, delimiter = tok, tok[-1].chr
      	begin
 @cs = (push_literal(type, delimiter, @ts, nil, false, false, true))
_goto_level = _again
next
	end

     end
end
	when 78 then
# line 2360 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = @ts - 1; 	begin
 @stack[ @top] =  @cs
 @top+= 1
 @cs = 328
_goto_level = _again
next
	end
end
end
	when 427 then
# line 2367 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  emit_table(PUNCTUATION)
          @cs = 453; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 480 then
# line 2391 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      emit_table(PUNCTUATION)
       @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 420 then
# line 2400 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      emit_table(PUNCTUATION);
       @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 425 then
# line 2435 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  emit(:tOP_ASGN, tok(@ts, @te - 1))
          @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 411 then
# line 2439 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  emit(:tEH, '?'.freeze)
          @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 408 then
# line 2458 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  emit_table(PUNCTUATION)
          @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 410 then
# line 2471 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  emit(:tSEMI, ';'.freeze)
         @command_start = true
          @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 485 then
# line 2475 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      diagnostic :error, :bare_backslash, nil, range(@ts, @ts + 1)
      p = p - 1;
     end
end
	when 405 then
# line 2481 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      diagnostic :fatal, :unexpected, { :character => tok.inspect[1..-2] }
     end
end
	when 404 then
# line 527 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  # Sit at EOF indefinitely. #advance would return $eof each time.
  # This allows to feed the lexer more data if needed; this is only used
  # in tests.
  #
  # Note that this action is not embedded into e_eof like e_heredoc_nl and e_bs
  # below. This is due to the fact that scanner state at EOF is observed
  # by tests, and encapsulating it in a rule would break the introspection.
  p = p - 1; 	begin
p += 1
_goto_level = _out
next
	end

 end
end
	when 496 then
# line 2202 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit_table(KEYWORDS)
          @cs = 333; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 494 then
# line 2206 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit(:kCLASS, 'class'.freeze, @ts, @ts + 5)
         emit(:tLSHFT, '<<'.freeze,    @te - 2, @te)
          @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 493 then
# line 2217 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit_table(KEYWORDS)
         @command_start = true
          @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 435 then
# line 2292 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      diagnostic :error, :no_dot_digit_literal
     end
end
	when 482 then
# line 2352 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit(:tCONSTANT)
          @cs = (arg_or_cmdarg(cmd_state)); 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 424 then
# line 2360 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = @ts - 1; 	begin
 @stack[ @top] =  @cs
 @top+= 1
 @cs = 328
_goto_level = _again
next
	end
end
end
	when 432 then
# line 2367 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit_table(PUNCTUATION)
          @cs = 453; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 488 then
# line 1315 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  emit(:tIDENTIFIER)

  if !@static_env.nil? && @static_env.declared?(tok)
     @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end

  else
     @cs = (arg_or_cmdarg(cmd_state)); 	begin
p += 1
_goto_level = _out
next
	end

  end
 end
end
	when 430 then
# line 2391 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      emit_table(PUNCTUATION)
       @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 426 then
# line 2400 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      emit_table(PUNCTUATION);
       @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 419 then
# line 2406 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit_table(PUNCTUATION)
          @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 433 then
# line 2458 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit_table(PUNCTUATION)
          @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 417 then
# line 2465 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 423 then
# line 2481 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      diagnostic :fatal, :unexpected, { :character => tok.inspect[1..-2] }
     end
end
	when 83 then
# line 2265 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin 
      digits = tok(@num_digits_s, @num_suffix_s)

      if digits.end_with? '_'.freeze
        diagnostic :error, :trailing_in_number, { :character => '_'.freeze },
                   range(@te - 1, @te)
      elsif digits.empty? && @num_base == 8 && version?(18)
        # 1.8 did not raise an error on 0o.
        digits = '0'.freeze
      elsif digits.empty?
        diagnostic :error, :empty_numeric
      elsif @num_base == 8 && (invalid_idx = digits.index(/[89]/))
        invalid_s = @num_digits_s + invalid_idx
        diagnostic :error, :invalid_octal, nil,
                   range(invalid_s, invalid_s + 1)
      end

      if version?(18, 19, 20)
        emit(:tINTEGER, digits.to_i(@num_base), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits.to_i(@num_base))
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 79 then
# line 2292 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin 
      diagnostic :error, :no_dot_digit_literal
     end
end
	when 82 then
# line 2324 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin 
      digits = tok(@ts, @num_suffix_s)

      if version?(18, 19, 20)
        emit(:tFLOAT, Float(digits), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits)
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 77 then
# line 2481 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin 
      diagnostic :fatal, :unexpected, { :character => tok.inspect[1..-2] }
     end
end
	when 80 then
# line 1 "NONE"
begin
	case  @act
	when 144 then
	begin begin p = (( @te))-1; end

      if @lambda_stack.last == @paren_nest
        @lambda_stack.pop

        if tok == '{'.freeze
          emit(:tLAMBEG, '{'.freeze)
        else # 'do'
          emit(:kDO_LAMBDA, 'do'.freeze)
        end
      else
        if tok == '{'.freeze
          emit(:tLCURLY, '{'.freeze)
        else # 'do'
          emit_do
        end
      end
      if tok == '{'.freeze
        @paren_nest += 1
      end
      @command_start = true

       @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end

    end
	when 145 then
	begin begin p = (( @te))-1; end
 emit_table(KEYWORDS)
          @cs = 333; 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 146 then
	begin begin p = (( @te))-1; end
 emit(:kCLASS, 'class'.freeze, @ts, @ts + 5)
         emit(:tLSHFT, '<<'.freeze,    @te - 2, @te)
          @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 147 then
	begin begin p = (( @te))-1; end
 emit_table(KEYWORDS)
          @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 148 then
	begin begin p = (( @te))-1; end
 emit_table(KEYWORDS)
         @command_start = true
          @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 149 then
	begin begin p = (( @te))-1; end
 emit_table(KEYWORDS)
          @cs = 519; 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 150 then
	begin begin p = (( @te))-1; end

      emit_table(KEYWORDS)

      if version?(18) && tok == 'not'.freeze
         @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end

      else
         @cs = 474; 	begin
p += 1
_goto_level = _out
next
	end

      end
    end
	when 151 then
	begin begin p = (( @te))-1; end

      if version?(18)
        emit(:tIDENTIFIER)

        unless !@static_env.nil? && @static_env.declared?(tok)
           @cs = (arg_or_cmdarg(cmd_state));
        end
      else
        emit(:k__ENCODING__, '__ENCODING__'.freeze)
      end
      	begin
p += 1
_goto_level = _out
next
	end

    end
	when 152 then
	begin begin p = (( @te))-1; end
 emit_table(KEYWORDS)
         	begin
p += 1
_goto_level = _out
next
	end
 end
	when 153 then
	begin begin p = (( @te))-1; end

      digits = tok(@num_digits_s, @num_suffix_s)

      if digits.end_with? '_'.freeze
        diagnostic :error, :trailing_in_number, { :character => '_'.freeze },
                   range(@te - 1, @te)
      elsif digits.empty? && @num_base == 8 && version?(18)
        # 1.8 did not raise an error on 0o.
        digits = '0'.freeze
      elsif digits.empty?
        diagnostic :error, :empty_numeric
      elsif @num_base == 8 && (invalid_idx = digits.index(/[89]/))
        invalid_s = @num_digits_s + invalid_idx
        diagnostic :error, :invalid_octal, nil,
                   range(invalid_s, invalid_s + 1)
      end

      if version?(18, 19, 20)
        emit(:tINTEGER, digits.to_i(@num_base), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits.to_i(@num_base))
      end
      	begin
p += 1
_goto_level = _out
next
	end

    end
	when 155 then
	begin begin p = (( @te))-1; end

      if version?(18, 19, 20)
        diagnostic :error,
                   :trailing_in_number, { :character => tok(@te - 1, @te) },
                   range(@te - 1, @te)
      else
        emit(:tINTEGER, tok(@ts, @te - 1).to_i, @ts, @te - 1)
        p = p - 1; 	begin
p += 1
_goto_level = _out
next
	end

      end
    end
	when 156 then
	begin begin p = (( @te))-1; end

      if version?(18, 19, 20)
        diagnostic :error,
                   :trailing_in_number, { :character => tok(@te - 1, @te) },
                   range(@te - 1, @te)
      else
        emit(:tFLOAT, tok(@ts, @te - 1).to_f, @ts, @te - 1)
        p = p - 1; 	begin
p += 1
_goto_level = _out
next
	end

      end
    end
	when 157 then
	begin begin p = (( @te))-1; end

      digits = tok(@ts, @num_suffix_s)

      if version?(18, 19, 20)
        emit(:tFLOAT, Float(digits), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits)
      end
      	begin
p += 1
_goto_level = _out
next
	end

    end
	when 159 then
	begin begin p = (( @te))-1; end
 emit(:tCONSTANT)
          @cs = (arg_or_cmdarg(cmd_state)); 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 163 then
	begin begin p = (( @te))-1; end

  emit(:tIDENTIFIER)

  if !@static_env.nil? && @static_env.declared?(tok)
     @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end

  else
     @cs = (arg_or_cmdarg(cmd_state)); 	begin
p += 1
_goto_level = _out
next
	end

  end
end
	when 164 then
	begin begin p = (( @te))-1; end

      if tm == @te
        # Suffix was consumed, e.g. foo!
        emit(:tFID)
      else
        # Suffix was not consumed, e.g. foo!=
        emit(:tIDENTIFIER, tok(@ts, tm), @ts, tm)
        p = tm - 1
      end
       @cs = 474; 	begin
p += 1
_goto_level = _out
next
	end

    end
	when 166 then
	begin begin p = (( @te))-1; end

      emit_table(PUNCTUATION);
       @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end

    end
	when 167 then
	begin begin p = (( @te))-1; end
 emit_table(PUNCTUATION)
          @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end
 end
end 
	end
	when 95 then
# line 2511 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = tm - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 501 then
# line 2514 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  emit(:tNL, nil, @newline_s, @newline_s + 1)
         p = p - 1;  @cs = 185; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 504 then
# line 2497 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      if @version < 27
        # Ruby before 2.7 doesn't support comments before leading dot.
        # If a line after "a" starts with a comment then "a" is a self-contained statement.
        # So in that case we emit a special tNL token and start reading the
        # next line as a separate statement.
        #
        # Note: block comments before leading dot are not supported on any version of Ruby.
        emit(:tNL, nil, @newline_s, @newline_s + 1)
        p = p - 1;  @cs = 185; 	begin
p += 1
_goto_level = _out
next
	end

      end
     end
end
	when 503 then
# line 2514 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit(:tNL, nil, @newline_s, @newline_s + 1)
         p = p - 1;  @cs = 185; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 90 then
# line 2497 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin 
      if @version < 27
        # Ruby before 2.7 doesn't support comments before leading dot.
        # If a line after "a" starts with a comment then "a" is a self-contained statement.
        # So in that case we emit a special tNL token and start reading the
        # next line as a separate statement.
        #
        # Note: block comments before leading dot are not supported on any version of Ruby.
        emit(:tNL, nil, @newline_s, @newline_s + 1)
        p = p - 1;  @cs = 185; 	begin
p += 1
_goto_level = _out
next
	end

      end
     end
end
	when 86 then
# line 2514 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin  emit(:tNL, nil, @newline_s, @newline_s + 1)
         p = p - 1;  @cs = 185; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 91 then
# line 1 "NONE"
begin
	case  @act
	when 180 then
	begin begin p = (( @te))-1; end

      if @version < 27
        # Ruby before 2.7 doesn't support comments before leading dot.
        # If a line after "a" starts with a comment then "a" is a self-contained statement.
        # So in that case we emit a special tNL token and start reading the
        # next line as a separate statement.
        #
        # Note: block comments before leading dot are not supported on any version of Ruby.
        emit(:tNL, nil, @newline_s, @newline_s + 1)
        p = p - 1;  @cs = 185; 	begin
p += 1
_goto_level = _out
next
	end

      end
    end
	when 182 then
	begin begin p = (( @te))-1; end
 emit(:tNL, nil, @newline_s, @newline_s + 1)
         p = p - 1;  @cs = 185; 	begin
p += 1
_goto_level = _out
next
	end
 end
end 
	end
	when 507 then
# line 2524 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      emit_comment(@eq_begin_s, @te)
      	begin
 @cs = (@cs_before_block_comment)
_goto_level = _again
next
	end

     end
end
	when 506 then
# line 2532 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      diagnostic :fatal, :embedded_document, nil,
                 range(@eq_begin_s, @eq_begin_s + '=begin'.length)
     end
end
	when 106 then
# line 2542 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  @eq_begin_s = @ts
         	begin
 @cs = 967
_goto_level = _again
next
	end
end
end
	when 2 then
# line 2546 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = pe - 3  end
end
	when 98 then
# line 2549 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  cmd_state = true; p = p - 1; 	begin
 @cs = 773
_goto_level = _again
next
	end
end
end
	when 99 then
# line 527 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  # Sit at EOF indefinitely. #advance would return $eof each time.
  # This allows to feed the lexer more data if needed; this is only used
  # in tests.
  #
  # Note that this action is not embedded into e_eof like e_heredoc_nl and e_bs
  # below. This is due to the fact that scanner state at EOF is observed
  # by tests, and encapsulating it in a rule would break the introspection.
  p = p - 1; 	begin
p += 1
_goto_level = _out
next
	end

 end
end
	when 100 then
# line 2539 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 105 then
# line 2542 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  @eq_begin_s = @ts
         	begin
 @cs = 967
_goto_level = _again
next
	end
end
end
	when 104 then
# line 2549 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  cmd_state = true; p = p - 1; 	begin
 @cs = 773
_goto_level = _again
next
	end
end
end
	when 1 then
# line 2549 "lib/parser/lexer.rl"
begin
 begin p = (( @te))-1; end
 begin  cmd_state = true; p = p - 1; 	begin
 @cs = 773
_goto_level = _again
next
	end
end
end
	when 66 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
	when 110 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 945 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  if @te == pe
    diagnostic :fatal, :string_eof, nil,
               range(current_literal.str_s, current_literal.str_s + 1)
  end

  if current_literal.heredoc?
    line = tok(@herebody_s, @ts).gsub(/\r+$/, ''.freeze)

    if version?(18, 19, 20)
      # See ruby:c48b4209c
      line = line.gsub(/\r.*$/, ''.freeze)
    end

    # Try ending the heredoc with the complete most recently
    # scanned line. @herebody_s always refers to the start of such line.
    if current_literal.nest_and_try_closing(line, @herebody_s, @ts)
      # Adjust @herebody_s to point to the next line.
      @herebody_s = @te

      # Continue regular lexing after the heredoc reference (<<END).
      p = current_literal.heredoc_e - 1
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    else
      # Calculate indentation level for <<~HEREDOCs.
      current_literal.infer_indent_level(line)

      # Ditto.
      @herebody_s = @te
    end
  else
    # Try ending the literal with a newline.
    if current_literal.nest_and_try_closing(tok, @ts, @te)
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    end

    if @herebody_s
      # This is a regular literal intertwined with a heredoc. Like:
      #
      #     p <<-foo+"1
      #     bar
      #     foo
      #     2"
      #
      # which, incidentally, evaluates to "bar\n1\n2".
      p = @herebody_s - 1
      @herebody_s = nil
    end
  end

  if current_literal.words? && !eof_codepoint?(@source_pts[p])
    current_literal.extend_space @ts, @te
  else
    # A literal newline is appended if the heredoc was _not_ closed
    # this time (see fbreak above). See also Literal#nest_and_try_closing
    # for rationale of calling #flush_string here.
    current_literal.extend_string tok, @ts, @te
    current_literal.flush_string
  end
 end
end
	when 140 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 945 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  if @te == pe
    diagnostic :fatal, :string_eof, nil,
               range(current_literal.str_s, current_literal.str_s + 1)
  end

  if current_literal.heredoc?
    line = tok(@herebody_s, @ts).gsub(/\r+$/, ''.freeze)

    if version?(18, 19, 20)
      # See ruby:c48b4209c
      line = line.gsub(/\r.*$/, ''.freeze)
    end

    # Try ending the heredoc with the complete most recently
    # scanned line. @herebody_s always refers to the start of such line.
    if current_literal.nest_and_try_closing(line, @herebody_s, @ts)
      # Adjust @herebody_s to point to the next line.
      @herebody_s = @te

      # Continue regular lexing after the heredoc reference (<<END).
      p = current_literal.heredoc_e - 1
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    else
      # Calculate indentation level for <<~HEREDOCs.
      current_literal.infer_indent_level(line)

      # Ditto.
      @herebody_s = @te
    end
  else
    # Try ending the literal with a newline.
    if current_literal.nest_and_try_closing(tok, @ts, @te)
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    end

    if @herebody_s
      # This is a regular literal intertwined with a heredoc. Like:
      #
      #     p <<-foo+"1
      #     bar
      #     foo
      #     2"
      #
      # which, incidentally, evaluates to "bar\n1\n2".
      p = @herebody_s - 1
      @herebody_s = nil
    end
  end

  if current_literal.words? && !eof_codepoint?(@source_pts[p])
    current_literal.extend_space @ts, @te
  else
    # A literal newline is appended if the heredoc was _not_ closed
    # this time (see fbreak above). See also Literal#nest_and_try_closing
    # for rationale of calling #flush_string here.
    current_literal.extend_string tok, @ts, @te
    current_literal.flush_string
  end
 end
end
	when 168 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 945 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  if @te == pe
    diagnostic :fatal, :string_eof, nil,
               range(current_literal.str_s, current_literal.str_s + 1)
  end

  if current_literal.heredoc?
    line = tok(@herebody_s, @ts).gsub(/\r+$/, ''.freeze)

    if version?(18, 19, 20)
      # See ruby:c48b4209c
      line = line.gsub(/\r.*$/, ''.freeze)
    end

    # Try ending the heredoc with the complete most recently
    # scanned line. @herebody_s always refers to the start of such line.
    if current_literal.nest_and_try_closing(line, @herebody_s, @ts)
      # Adjust @herebody_s to point to the next line.
      @herebody_s = @te

      # Continue regular lexing after the heredoc reference (<<END).
      p = current_literal.heredoc_e - 1
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    else
      # Calculate indentation level for <<~HEREDOCs.
      current_literal.infer_indent_level(line)

      # Ditto.
      @herebody_s = @te
    end
  else
    # Try ending the literal with a newline.
    if current_literal.nest_and_try_closing(tok, @ts, @te)
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    end

    if @herebody_s
      # This is a regular literal intertwined with a heredoc. Like:
      #
      #     p <<-foo+"1
      #     bar
      #     foo
      #     2"
      #
      # which, incidentally, evaluates to "bar\n1\n2".
      p = @herebody_s - 1
      @herebody_s = nil
    end
  end

  if current_literal.words? && !eof_codepoint?(@source_pts[p])
    current_literal.extend_space @ts, @te
  else
    # A literal newline is appended if the heredoc was _not_ closed
    # this time (see fbreak above). See also Literal#nest_and_try_closing
    # for rationale of calling #flush_string here.
    current_literal.extend_string tok, @ts, @te
    current_literal.flush_string
  end
 end
end
	when 174 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 945 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  if @te == pe
    diagnostic :fatal, :string_eof, nil,
               range(current_literal.str_s, current_literal.str_s + 1)
  end

  if current_literal.heredoc?
    line = tok(@herebody_s, @ts).gsub(/\r+$/, ''.freeze)

    if version?(18, 19, 20)
      # See ruby:c48b4209c
      line = line.gsub(/\r.*$/, ''.freeze)
    end

    # Try ending the heredoc with the complete most recently
    # scanned line. @herebody_s always refers to the start of such line.
    if current_literal.nest_and_try_closing(line, @herebody_s, @ts)
      # Adjust @herebody_s to point to the next line.
      @herebody_s = @te

      # Continue regular lexing after the heredoc reference (<<END).
      p = current_literal.heredoc_e - 1
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    else
      # Calculate indentation level for <<~HEREDOCs.
      current_literal.infer_indent_level(line)

      # Ditto.
      @herebody_s = @te
    end
  else
    # Try ending the literal with a newline.
    if current_literal.nest_and_try_closing(tok, @ts, @te)
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    end

    if @herebody_s
      # This is a regular literal intertwined with a heredoc. Like:
      #
      #     p <<-foo+"1
      #     bar
      #     foo
      #     2"
      #
      # which, incidentally, evaluates to "bar\n1\n2".
      p = @herebody_s - 1
      @herebody_s = nil
    end
  end

  if current_literal.words? && !eof_codepoint?(@source_pts[p])
    current_literal.extend_space @ts, @te
  else
    # A literal newline is appended if the heredoc was _not_ closed
    # this time (see fbreak above). See also Literal#nest_and_try_closing
    # for rationale of calling #flush_string here.
    current_literal.extend_string tok, @ts, @te
    current_literal.flush_string
  end
 end
end
	when 180 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 945 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  if @te == pe
    diagnostic :fatal, :string_eof, nil,
               range(current_literal.str_s, current_literal.str_s + 1)
  end

  if current_literal.heredoc?
    line = tok(@herebody_s, @ts).gsub(/\r+$/, ''.freeze)

    if version?(18, 19, 20)
      # See ruby:c48b4209c
      line = line.gsub(/\r.*$/, ''.freeze)
    end

    # Try ending the heredoc with the complete most recently
    # scanned line. @herebody_s always refers to the start of such line.
    if current_literal.nest_and_try_closing(line, @herebody_s, @ts)
      # Adjust @herebody_s to point to the next line.
      @herebody_s = @te

      # Continue regular lexing after the heredoc reference (<<END).
      p = current_literal.heredoc_e - 1
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    else
      # Calculate indentation level for <<~HEREDOCs.
      current_literal.infer_indent_level(line)

      # Ditto.
      @herebody_s = @te
    end
  else
    # Try ending the literal with a newline.
    if current_literal.nest_and_try_closing(tok, @ts, @te)
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    end

    if @herebody_s
      # This is a regular literal intertwined with a heredoc. Like:
      #
      #     p <<-foo+"1
      #     bar
      #     foo
      #     2"
      #
      # which, incidentally, evaluates to "bar\n1\n2".
      p = @herebody_s - 1
      @herebody_s = nil
    end
  end

  if current_literal.words? && !eof_codepoint?(@source_pts[p])
    current_literal.extend_space @ts, @te
  else
    # A literal newline is appended if the heredoc was _not_ closed
    # this time (see fbreak above). See also Literal#nest_and_try_closing
    # for rationale of calling #flush_string here.
    current_literal.extend_string tok, @ts, @te
    current_literal.flush_string
  end
 end
end
	when 187 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 945 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  if @te == pe
    diagnostic :fatal, :string_eof, nil,
               range(current_literal.str_s, current_literal.str_s + 1)
  end

  if current_literal.heredoc?
    line = tok(@herebody_s, @ts).gsub(/\r+$/, ''.freeze)

    if version?(18, 19, 20)
      # See ruby:c48b4209c
      line = line.gsub(/\r.*$/, ''.freeze)
    end

    # Try ending the heredoc with the complete most recently
    # scanned line. @herebody_s always refers to the start of such line.
    if current_literal.nest_and_try_closing(line, @herebody_s, @ts)
      # Adjust @herebody_s to point to the next line.
      @herebody_s = @te

      # Continue regular lexing after the heredoc reference (<<END).
      p = current_literal.heredoc_e - 1
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    else
      # Calculate indentation level for <<~HEREDOCs.
      current_literal.infer_indent_level(line)

      # Ditto.
      @herebody_s = @te
    end
  else
    # Try ending the literal with a newline.
    if current_literal.nest_and_try_closing(tok, @ts, @te)
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    end

    if @herebody_s
      # This is a regular literal intertwined with a heredoc. Like:
      #
      #     p <<-foo+"1
      #     bar
      #     foo
      #     2"
      #
      # which, incidentally, evaluates to "bar\n1\n2".
      p = @herebody_s - 1
      @herebody_s = nil
    end
  end

  if current_literal.words? && !eof_codepoint?(@source_pts[p])
    current_literal.extend_space @ts, @te
  else
    # A literal newline is appended if the heredoc was _not_ closed
    # this time (see fbreak above). See also Literal#nest_and_try_closing
    # for rationale of calling #flush_string here.
    current_literal.extend_string tok, @ts, @te
    current_literal.flush_string
  end
 end
end
	when 190 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 945 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  if @te == pe
    diagnostic :fatal, :string_eof, nil,
               range(current_literal.str_s, current_literal.str_s + 1)
  end

  if current_literal.heredoc?
    line = tok(@herebody_s, @ts).gsub(/\r+$/, ''.freeze)

    if version?(18, 19, 20)
      # See ruby:c48b4209c
      line = line.gsub(/\r.*$/, ''.freeze)
    end

    # Try ending the heredoc with the complete most recently
    # scanned line. @herebody_s always refers to the start of such line.
    if current_literal.nest_and_try_closing(line, @herebody_s, @ts)
      # Adjust @herebody_s to point to the next line.
      @herebody_s = @te

      # Continue regular lexing after the heredoc reference (<<END).
      p = current_literal.heredoc_e - 1
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    else
      # Calculate indentation level for <<~HEREDOCs.
      current_literal.infer_indent_level(line)

      # Ditto.
      @herebody_s = @te
    end
  else
    # Try ending the literal with a newline.
    if current_literal.nest_and_try_closing(tok, @ts, @te)
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    end

    if @herebody_s
      # This is a regular literal intertwined with a heredoc. Like:
      #
      #     p <<-foo+"1
      #     bar
      #     foo
      #     2"
      #
      # which, incidentally, evaluates to "bar\n1\n2".
      p = @herebody_s - 1
      @herebody_s = nil
    end
  end

  if current_literal.words? && !eof_codepoint?(@source_pts[p])
    current_literal.extend_space @ts, @te
  else
    # A literal newline is appended if the heredoc was _not_ closed
    # this time (see fbreak above). See also Literal#nest_and_try_closing
    # for rationale of calling #flush_string here.
    current_literal.extend_string tok, @ts, @te
    current_literal.flush_string
  end
 end
end
	when 198 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 945 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  if @te == pe
    diagnostic :fatal, :string_eof, nil,
               range(current_literal.str_s, current_literal.str_s + 1)
  end

  if current_literal.heredoc?
    line = tok(@herebody_s, @ts).gsub(/\r+$/, ''.freeze)

    if version?(18, 19, 20)
      # See ruby:c48b4209c
      line = line.gsub(/\r.*$/, ''.freeze)
    end

    # Try ending the heredoc with the complete most recently
    # scanned line. @herebody_s always refers to the start of such line.
    if current_literal.nest_and_try_closing(line, @herebody_s, @ts)
      # Adjust @herebody_s to point to the next line.
      @herebody_s = @te

      # Continue regular lexing after the heredoc reference (<<END).
      p = current_literal.heredoc_e - 1
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    else
      # Calculate indentation level for <<~HEREDOCs.
      current_literal.infer_indent_level(line)

      # Ditto.
      @herebody_s = @te
    end
  else
    # Try ending the literal with a newline.
    if current_literal.nest_and_try_closing(tok, @ts, @te)
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    end

    if @herebody_s
      # This is a regular literal intertwined with a heredoc. Like:
      #
      #     p <<-foo+"1
      #     bar
      #     foo
      #     2"
      #
      # which, incidentally, evaluates to "bar\n1\n2".
      p = @herebody_s - 1
      @herebody_s = nil
    end
  end

  if current_literal.words? && !eof_codepoint?(@source_pts[p])
    current_literal.extend_space @ts, @te
  else
    # A literal newline is appended if the heredoc was _not_ closed
    # this time (see fbreak above). See also Literal#nest_and_try_closing
    # for rationale of calling #flush_string here.
    current_literal.extend_string tok, @ts, @te
    current_literal.flush_string
  end
 end
end
	when 269 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 1528 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      # Unlike expr_beg as invoked in the next rule, do not warn
      p = @ts - 1
      	begin
 @cs = 781
_goto_level = _again
next
	end

     end
end
	when 260 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 1591 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = tm - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 252 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 1602 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      p = @ts - 1
      	begin
 @cs = 781
_goto_level = _again
next
	end

     end
end
	when 352 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 1910 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      escape = { " "  => '\s', "\r" => '\r', "\n" => '\n', "\t" => '\t',
                 "\v" => '\v', "\f" => '\f' }[@source_buffer.slice(@ts + 1)]
      diagnostic :warning, :invalid_escape_use, { :escape => escape }, range

      p = @ts - 1
      	begin
 @cs = 781
_goto_level = _again
next
	end

     end
end
	when 315 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 2093 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      p = @ts - 1
      @cs_before_block_comment = @cs
      	begin
 @cs = 185
_goto_level = _again
next
	end

     end
end
	when 434 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 2447 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      if @paren_nest == 0
        diagnostic :warning, :triple_dot_at_eol, nil, range(@ts, @te - 1)
      end

      emit(:tDOT3, '...'.freeze, @ts, @te - 1)
      p = p - 1;
       @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 508 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 2524 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      emit_comment(@eq_begin_s, @te)
      	begin
 @cs = (@cs_before_block_comment)
_goto_level = _again
next
	end

     end
end
	when 505 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 2529 "lib/parser/lexer.rl"
begin
 @te = p+1
end
	when 107 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 2542 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  @eq_begin_s = @ts
         	begin
 @cs = 967
_goto_level = _again
next
	end
end
end
	when 3 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 2546 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = pe - 3  end
end
	when 456 then
# line 635 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tRATIONAL,  Rational(chars)) } 		end
# line 2265 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@num_digits_s, @num_suffix_s)

      if digits.end_with? '_'.freeze
        diagnostic :error, :trailing_in_number, { :character => '_'.freeze },
                   range(@te - 1, @te)
      elsif digits.empty? && @num_base == 8 && version?(18)
        # 1.8 did not raise an error on 0o.
        digits = '0'.freeze
      elsif digits.empty?
        diagnostic :error, :empty_numeric
      elsif @num_base == 8 && (invalid_idx = digits.index(/[89]/))
        invalid_s = @num_digits_s + invalid_idx
        diagnostic :error, :invalid_octal, nil,
                   range(invalid_s, invalid_s + 1)
      end

      if version?(18, 19, 20)
        emit(:tINTEGER, digits.to_i(@num_base), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits.to_i(@num_base))
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 454 then
# line 636 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tIMAGINARY, Complex(0, chars)) } 		end
# line 2265 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@num_digits_s, @num_suffix_s)

      if digits.end_with? '_'.freeze
        diagnostic :error, :trailing_in_number, { :character => '_'.freeze },
                   range(@te - 1, @te)
      elsif digits.empty? && @num_base == 8 && version?(18)
        # 1.8 did not raise an error on 0o.
        digits = '0'.freeze
      elsif digits.empty?
        diagnostic :error, :empty_numeric
      elsif @num_base == 8 && (invalid_idx = digits.index(/[89]/))
        invalid_s = @num_digits_s + invalid_idx
        diagnostic :error, :invalid_octal, nil,
                   range(invalid_s, invalid_s + 1)
      end

      if version?(18, 19, 20)
        emit(:tINTEGER, digits.to_i(@num_base), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits.to_i(@num_base))
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 459 then
# line 637 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tIMAGINARY, Complex(0, Rational(chars))) } 		end
# line 2265 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@num_digits_s, @num_suffix_s)

      if digits.end_with? '_'.freeze
        diagnostic :error, :trailing_in_number, { :character => '_'.freeze },
                   range(@te - 1, @te)
      elsif digits.empty? && @num_base == 8 && version?(18)
        # 1.8 did not raise an error on 0o.
        digits = '0'.freeze
      elsif digits.empty?
        diagnostic :error, :empty_numeric
      elsif @num_base == 8 && (invalid_idx = digits.index(/[89]/))
        invalid_s = @num_digits_s + invalid_idx
        diagnostic :error, :invalid_octal, nil,
                   range(invalid_s, invalid_s + 1)
      end

      if version?(18, 19, 20)
        emit(:tINTEGER, digits.to_i(@num_base), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits.to_i(@num_base))
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 457 then
# line 638 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tINTEGER,   chars, @ts, @te - 2); p -= 2 } 		end
# line 2265 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@num_digits_s, @num_suffix_s)

      if digits.end_with? '_'.freeze
        diagnostic :error, :trailing_in_number, { :character => '_'.freeze },
                   range(@te - 1, @te)
      elsif digits.empty? && @num_base == 8 && version?(18)
        # 1.8 did not raise an error on 0o.
        digits = '0'.freeze
      elsif digits.empty?
        diagnostic :error, :empty_numeric
      elsif @num_base == 8 && (invalid_idx = digits.index(/[89]/))
        invalid_s = @num_digits_s + invalid_idx
        diagnostic :error, :invalid_octal, nil,
                   range(invalid_s, invalid_s + 1)
      end

      if version?(18, 19, 20)
        emit(:tINTEGER, digits.to_i(@num_base), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits.to_i(@num_base))
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 455 then
# line 639 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tINTEGER,   chars, @ts, @te - 2); p -= 2 } 		end
# line 2265 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@num_digits_s, @num_suffix_s)

      if digits.end_with? '_'.freeze
        diagnostic :error, :trailing_in_number, { :character => '_'.freeze },
                   range(@te - 1, @te)
      elsif digits.empty? && @num_base == 8 && version?(18)
        # 1.8 did not raise an error on 0o.
        digits = '0'.freeze
      elsif digits.empty?
        diagnostic :error, :empty_numeric
      elsif @num_base == 8 && (invalid_idx = digits.index(/[89]/))
        invalid_s = @num_digits_s + invalid_idx
        diagnostic :error, :invalid_octal, nil,
                   range(invalid_s, invalid_s + 1)
      end

      if version?(18, 19, 20)
        emit(:tINTEGER, digits.to_i(@num_base), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits.to_i(@num_base))
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 458 then
# line 640 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tINTEGER,   chars, @ts, @te - 6); p -= 6 } 		end
# line 2265 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@num_digits_s, @num_suffix_s)

      if digits.end_with? '_'.freeze
        diagnostic :error, :trailing_in_number, { :character => '_'.freeze },
                   range(@te - 1, @te)
      elsif digits.empty? && @num_base == 8 && version?(18)
        # 1.8 did not raise an error on 0o.
        digits = '0'.freeze
      elsif digits.empty?
        diagnostic :error, :empty_numeric
      elsif @num_base == 8 && (invalid_idx = digits.index(/[89]/))
        invalid_s = @num_digits_s + invalid_idx
        diagnostic :error, :invalid_octal, nil,
                   range(invalid_s, invalid_s + 1)
      end

      if version?(18, 19, 20)
        emit(:tINTEGER, digits.to_i(@num_base), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits.to_i(@num_base))
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 447 then
# line 644 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tIMAGINARY, Complex(0, Float(chars))) } 		end
# line 2324 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@ts, @num_suffix_s)

      if version?(18, 19, 20)
        emit(:tFLOAT, Float(digits), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits)
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 448 then
# line 645 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tFLOAT,     Float(chars), @ts, @te - 2); p -= 2 } 		end
# line 2324 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@ts, @num_suffix_s)

      if version?(18, 19, 20)
        emit(:tFLOAT, Float(digits), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits)
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 449 then
# line 649 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tRATIONAL,  Rational(chars)) } 		end
# line 2324 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@ts, @num_suffix_s)

      if version?(18, 19, 20)
        emit(:tFLOAT, Float(digits), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits)
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 451 then
# line 650 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tIMAGINARY, Complex(0, Rational(chars))) } 		end
# line 2324 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@ts, @num_suffix_s)

      if version?(18, 19, 20)
        emit(:tFLOAT, Float(digits), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits)
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 450 then
# line 651 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tFLOAT,     Float(chars), @ts, @te - 6); p -= 6 } 		end
# line 2324 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@ts, @num_suffix_s)

      if version?(18, 19, 20)
        emit(:tFLOAT, Float(digits), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits)
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 134 then
# line 666 "lib/parser/lexer.rl"
begin

  @escape = ""

  codepoints  = tok(@escape_s + 2, p - 1)
  codepoint_s = @escape_s + 2

  if @version < 24
    if codepoints.start_with?(" ") || codepoints.start_with?("\t")
      diagnostic :fatal, :invalid_unicode_escape, nil,
        range(@escape_s + 2, @escape_s + 3)
    end

    if spaces_p = codepoints.index(/[ \t]{2}/)
      diagnostic :fatal, :invalid_unicode_escape, nil,
        range(codepoint_s + spaces_p + 1, codepoint_s + spaces_p + 2)
    end

    if codepoints.end_with?(" ") || codepoints.end_with?("\t")
      diagnostic :fatal, :invalid_unicode_escape, nil, range(p - 1, p)
    end
  end

  codepoints.scan(/([0-9a-fA-F]+)|([ \t]+)/).each do |(codepoint_str, spaces)|
    if spaces
      codepoint_s += spaces.length
    else
      codepoint = codepoint_str.to_i(16)

      if codepoint >= 0x110000
        diagnostic :error, :unicode_point_too_large, nil,
                   range(codepoint_s, codepoint_s + codepoint_str.length)
        break
      end

      @escape     += codepoint.chr(Encoding::UTF_8)
      codepoint_s += codepoint_str.length
    end
  end
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 162 then
# line 666 "lib/parser/lexer.rl"
begin

  @escape = ""

  codepoints  = tok(@escape_s + 2, p - 1)
  codepoint_s = @escape_s + 2

  if @version < 24
    if codepoints.start_with?(" ") || codepoints.start_with?("\t")
      diagnostic :fatal, :invalid_unicode_escape, nil,
        range(@escape_s + 2, @escape_s + 3)
    end

    if spaces_p = codepoints.index(/[ \t]{2}/)
      diagnostic :fatal, :invalid_unicode_escape, nil,
        range(codepoint_s + spaces_p + 1, codepoint_s + spaces_p + 2)
    end

    if codepoints.end_with?(" ") || codepoints.end_with?("\t")
      diagnostic :fatal, :invalid_unicode_escape, nil, range(p - 1, p)
    end
  end

  codepoints.scan(/([0-9a-fA-F]+)|([ \t]+)/).each do |(codepoint_str, spaces)|
    if spaces
      codepoint_s += spaces.length
    else
      codepoint = codepoint_str.to_i(16)

      if codepoint >= 0x110000
        diagnostic :error, :unicode_point_too_large, nil,
                   range(codepoint_s, codepoint_s + codepoint_str.length)
        break
      end

      @escape     += codepoint.chr(Encoding::UTF_8)
      codepoint_s += codepoint_str.length
    end
  end
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 373 then
# line 666 "lib/parser/lexer.rl"
begin

  @escape = ""

  codepoints  = tok(@escape_s + 2, p - 1)
  codepoint_s = @escape_s + 2

  if @version < 24
    if codepoints.start_with?(" ") || codepoints.start_with?("\t")
      diagnostic :fatal, :invalid_unicode_escape, nil,
        range(@escape_s + 2, @escape_s + 3)
    end

    if spaces_p = codepoints.index(/[ \t]{2}/)
      diagnostic :fatal, :invalid_unicode_escape, nil,
        range(codepoint_s + spaces_p + 1, codepoint_s + spaces_p + 2)
    end

    if codepoints.end_with?(" ") || codepoints.end_with?("\t")
      diagnostic :fatal, :invalid_unicode_escape, nil, range(p - 1, p)
    end
  end

  codepoints.scan(/([0-9a-fA-F]+)|([ \t]+)/).each do |(codepoint_str, spaces)|
    if spaces
      codepoint_s += spaces.length
    else
      codepoint = codepoint_str.to_i(16)

      if codepoint >= 0x110000
        diagnostic :error, :unicode_point_too_large, nil,
                   range(codepoint_s, codepoint_s + codepoint_str.length)
        break
      end

      @escape     += codepoint.chr(Encoding::UTF_8)
      codepoint_s += codepoint_str.length
    end
  end
		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 118 then
# line 706 "lib/parser/lexer.rl"
begin

  codepoint = @source_pts[p - 1]
  if (@escape = ESCAPES[codepoint]).nil?
    @escape = encode_escape(@source_buffer.slice(p - 1))
  end
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 146 then
# line 706 "lib/parser/lexer.rl"
begin

  codepoint = @source_pts[p - 1]
  if (@escape = ESCAPES[codepoint]).nil?
    @escape = encode_escape(@source_buffer.slice(p - 1))
  end
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 357 then
# line 706 "lib/parser/lexer.rl"
begin

  codepoint = @source_pts[p - 1]
  if (@escape = ESCAPES[codepoint]).nil?
    @escape = encode_escape(@source_buffer.slice(p - 1))
  end
		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 121 then
# line 713 "lib/parser/lexer.rl"
begin

  diagnostic :fatal, :invalid_escape
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 149 then
# line 713 "lib/parser/lexer.rl"
begin

  diagnostic :fatal, :invalid_escape
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 360 then
# line 713 "lib/parser/lexer.rl"
begin

  diagnostic :fatal, :invalid_escape
		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 123 then
# line 740 "lib/parser/lexer.rl"
begin
 @escape = "\x7f" 		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 151 then
# line 740 "lib/parser/lexer.rl"
begin
 @escape = "\x7f" 		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 362 then
# line 740 "lib/parser/lexer.rl"
begin
 @escape = "\x7f" 		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 120 then
# line 747 "lib/parser/lexer.rl"
begin
 @escape = encode_escape(tok(@escape_s, p).to_i(8) % 0x100) 		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 148 then
# line 747 "lib/parser/lexer.rl"
begin
 @escape = encode_escape(tok(@escape_s, p).to_i(8) % 0x100) 		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 359 then
# line 747 "lib/parser/lexer.rl"
begin
 @escape = encode_escape(tok(@escape_s, p).to_i(8) % 0x100) 		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 137 then
# line 751 "lib/parser/lexer.rl"
begin
 @escape = encode_escape(tok(@escape_s + 1, p).to_i(16)) 		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 165 then
# line 751 "lib/parser/lexer.rl"
begin
 @escape = encode_escape(tok(@escape_s + 1, p).to_i(16)) 		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 376 then
# line 751 "lib/parser/lexer.rl"
begin
 @escape = encode_escape(tok(@escape_s + 1, p).to_i(16)) 		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 136 then
# line 755 "lib/parser/lexer.rl"
begin

      diagnostic :fatal, :invalid_hex_escape, nil, range(@escape_s - 1, p + 2)
    		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 164 then
# line 755 "lib/parser/lexer.rl"
begin

      diagnostic :fatal, :invalid_hex_escape, nil, range(@escape_s - 1, p + 2)
    		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 375 then
# line 755 "lib/parser/lexer.rl"
begin

      diagnostic :fatal, :invalid_hex_escape, nil, range(@escape_s - 1, p + 2)
    		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 131 then
# line 761 "lib/parser/lexer.rl"
begin
 @escape = tok(@escape_s + 1, p).to_i(16).chr(Encoding::UTF_8) 		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 159 then
# line 761 "lib/parser/lexer.rl"
begin
 @escape = tok(@escape_s + 1, p).to_i(16).chr(Encoding::UTF_8) 		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 370 then
# line 761 "lib/parser/lexer.rl"
begin
 @escape = tok(@escape_s + 1, p).to_i(16).chr(Encoding::UTF_8) 		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 130 then
# line 765 "lib/parser/lexer.rl"
begin

      diagnostic :fatal, :invalid_unicode_escape, nil, range(@escape_s - 1, p)
    		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 158 then
# line 765 "lib/parser/lexer.rl"
begin

      diagnostic :fatal, :invalid_unicode_escape, nil, range(@escape_s - 1, p)
    		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 369 then
# line 765 "lib/parser/lexer.rl"
begin

      diagnostic :fatal, :invalid_unicode_escape, nil, range(@escape_s - 1, p)
    		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 135 then
# line 771 "lib/parser/lexer.rl"
begin

      diagnostic :fatal, :invalid_unicode_escape, nil, range(@escape_s - 1, p)
    		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 163 then
# line 771 "lib/parser/lexer.rl"
begin

      diagnostic :fatal, :invalid_unicode_escape, nil, range(@escape_s - 1, p)
    		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 374 then
# line 771 "lib/parser/lexer.rl"
begin

      diagnostic :fatal, :invalid_unicode_escape, nil, range(@escape_s - 1, p)
    		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 132 then
# line 785 "lib/parser/lexer.rl"
begin

        diagnostic :fatal, :unterminated_unicode, nil, range(p - 1, p)
      		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 160 then
# line 785 "lib/parser/lexer.rl"
begin

        diagnostic :fatal, :unterminated_unicode, nil, range(p - 1, p)
      		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 371 then
# line 785 "lib/parser/lexer.rl"
begin

        diagnostic :fatal, :unterminated_unicode, nil, range(p - 1, p)
      		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 119 then
# line 811 "lib/parser/lexer.rl"
begin

    diagnostic :fatal, :escape_eof, nil, range(p - 1, p)
  		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 147 then
# line 811 "lib/parser/lexer.rl"
begin

    diagnostic :fatal, :escape_eof, nil, range(p - 1, p)
  		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 358 then
# line 811 "lib/parser/lexer.rl"
begin

    diagnostic :fatal, :escape_eof, nil, range(p - 1, p)
  		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 171 then
# line 817 "lib/parser/lexer.rl"
begin

  @escape_s = p
  @escape   = nil
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 176 then
# line 817 "lib/parser/lexer.rl"
begin

  @escape_s = p
  @escape   = nil
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 57 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
	when 30 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 1542 "lib/parser/lexer.rl"
begin
 tm = p 		end
	when 32 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 1562 "lib/parser/lexer.rl"
begin
 tm = p 		end
	when 34 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 1590 "lib/parser/lexer.rl"
begin
 tm = p 		end
	when 213 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 1415 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 232 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 1433 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 240 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 1465 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 33 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 1602 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      p = @ts - 1
      	begin
 @cs = 781
_goto_level = _again
next
	end

     end
end
	when 271 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 1607 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 263 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 1613 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = p - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 282 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 1691 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 294 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 1712 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 290 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 1715 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = p - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 58 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 1733 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      emit(:tUNARY_NUM, tok(@ts, @ts + 1), @ts, @ts + 1)
      p = p - 1;  @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 49 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 2074 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
      emit(:tIDENTIFIER, ident_tok, ident_ts, ident_te)
      p = ident_te - 1

      if !@static_env.nil? && @static_env.declared?(ident_tok) && @version < 25
         @cs = 446;
      else
         @cs = 505;
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 312 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 2090 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 393 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 2117 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 389 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 2120 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
    if @in_kwarg
      p = p - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end

    else
      	begin
 @cs = 185
_goto_level = _again
next
	end

    end
   end
end
	when 402 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 2148 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 399 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 2151 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  	begin
 @cs = 185
_goto_level = _again
next
	end
end
end
	when 486 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 2465 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 418 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 2468 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  	begin
 @cs = 961
_goto_level = _again
next
	end
end
end
	when 101 then
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 2539 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 262 then
# line 1059 "lib/parser/lexer.rl"
begin

  @cond.push(false); @cmdarg.push(false)

  current_literal = literal
  if current_literal
    current_literal.start_interp_brace
  end
		end
# line 1509 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      if @lambda_stack.last == @paren_nest
        @lambda_stack.pop
        emit(:tLAMBEG, '{'.freeze, @te - 1, @te)
      else
        emit(:tLCURLY, '{'.freeze, @te - 1, @te)
      end
      @command_start = true
      @paren_nest += 1
       @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 284 then
# line 1059 "lib/parser/lexer.rl"
begin

  @cond.push(false); @cmdarg.push(false)

  current_literal = literal
  if current_literal
    current_literal.start_interp_brace
  end
		end
# line 1675 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      if @lambda_stack.last == @paren_nest
        @lambda_stack.pop
        emit(:tLAMBEG, '{'.freeze)
      else
        emit(:tLBRACE_ARG, '{'.freeze)
      end
      @paren_nest += 1
      @command_start = true
       @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 384 then
# line 1059 "lib/parser/lexer.rl"
begin

  @cond.push(false); @cmdarg.push(false)

  current_literal = literal
  if current_literal
    current_literal.start_interp_brace
  end
		end
# line 1955 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      if @lambda_stack.last == @paren_nest
        @lambda_stack.pop
        @command_start = true
        emit(:tLAMBEG, '{'.freeze)
      else
        emit(:tLBRACE, '{'.freeze)
      end
      @paren_nest += 1
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 499 then
# line 1059 "lib/parser/lexer.rl"
begin

  @cond.push(false); @cmdarg.push(false)

  current_literal = literal
  if current_literal
    current_literal.start_interp_brace
  end
		end
# line 2173 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      if @lambda_stack.last == @paren_nest
        @lambda_stack.pop

        if tok == '{'.freeze
          emit(:tLAMBEG, '{'.freeze)
        else # 'do'
          emit(:kDO_LAMBDA, 'do'.freeze)
        end
      else
        if tok == '{'.freeze
          emit(:tLCURLY, '{'.freeze)
        else # 'do'
          emit_do
        end
      end
      if tok == '{'.freeze
        @paren_nest += 1
      end
      @command_start = true

       @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 500 then
# line 1068 "lib/parser/lexer.rl"
begin

  current_literal = literal
  if current_literal
    if current_literal.end_interp_brace_and_try_closing
      if version?(18, 19)
        emit(:tRCURLY, '}'.freeze, p - 1, p)
        @cond.lexpop
        @cmdarg.lexpop
      else
        emit(:tSTRING_DEND, '}'.freeze, p - 1, p)
      end

      if current_literal.saved_herebody_s
        @herebody_s = current_literal.saved_herebody_s
      end


      p = p - 1;
       @cs = (next_state_for_literal(current_literal));
      	begin
p += 1
_goto_level = _out
next
	end

    end
  end

  @paren_nest -= 1
		end
# line 2410 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      emit_table(PUNCTUATION)

      if @version < 24
        @cond.lexpop
        @cmdarg.lexpop
      else
        @cond.pop
        @cmdarg.pop
      end

      if tok == '}'.freeze || tok == ']'.freeze
        if @version >= 25
           @cs = 781;
        else
           @cs = 511;
        end
      else # )
        # fnext expr_endfn; ?
      end

      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 60 then
# line 1217 "lib/parser/lexer.rl"
begin
 @sharp_s = p - 1 		end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
	when 64 then
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
	when 216 then
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 1415 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 231 then
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 1433 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 243 then
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 1465 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 265 then
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 1610 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 280 then
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 1691 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 292 then
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 1712 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 318 then
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 2090 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 391 then
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 2117 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 401 then
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 2148 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 422 then
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 2465 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 103 then
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 2539 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 237 then
# line 1261 "lib/parser/lexer.rl"
begin
 tm = p 		end
# line 1455 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit(:tFID, tok(@ts, tm), @ts, tm)
          @cs = (arg_or_cmdarg(cmd_state)); p = tm - 1; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 332 then
# line 1261 "lib/parser/lexer.rl"
begin
 tm = p 		end
# line 1861 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      emit(:tSYMBOL, tok(@ts + 1, tm), @ts, tm)
      p = tm - 1
       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 303 then
# line 1261 "lib/parser/lexer.rl"
begin
 tm = p 		end
# line 2063 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = @ts - 1
         	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 415 then
# line 1261 "lib/parser/lexer.rl"
begin
 tm = p 		end
# line 1 "NONE"
begin
	case  @act
	when 144 then
	begin begin p = (( @te))-1; end

      if @lambda_stack.last == @paren_nest
        @lambda_stack.pop

        if tok == '{'.freeze
          emit(:tLAMBEG, '{'.freeze)
        else # 'do'
          emit(:kDO_LAMBDA, 'do'.freeze)
        end
      else
        if tok == '{'.freeze
          emit(:tLCURLY, '{'.freeze)
        else # 'do'
          emit_do
        end
      end
      if tok == '{'.freeze
        @paren_nest += 1
      end
      @command_start = true

       @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end

    end
	when 145 then
	begin begin p = (( @te))-1; end
 emit_table(KEYWORDS)
          @cs = 333; 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 146 then
	begin begin p = (( @te))-1; end
 emit(:kCLASS, 'class'.freeze, @ts, @ts + 5)
         emit(:tLSHFT, '<<'.freeze,    @te - 2, @te)
          @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 147 then
	begin begin p = (( @te))-1; end
 emit_table(KEYWORDS)
          @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 148 then
	begin begin p = (( @te))-1; end
 emit_table(KEYWORDS)
         @command_start = true
          @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 149 then
	begin begin p = (( @te))-1; end
 emit_table(KEYWORDS)
          @cs = 519; 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 150 then
	begin begin p = (( @te))-1; end

      emit_table(KEYWORDS)

      if version?(18) && tok == 'not'.freeze
         @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end

      else
         @cs = 474; 	begin
p += 1
_goto_level = _out
next
	end

      end
    end
	when 151 then
	begin begin p = (( @te))-1; end

      if version?(18)
        emit(:tIDENTIFIER)

        unless !@static_env.nil? && @static_env.declared?(tok)
           @cs = (arg_or_cmdarg(cmd_state));
        end
      else
        emit(:k__ENCODING__, '__ENCODING__'.freeze)
      end
      	begin
p += 1
_goto_level = _out
next
	end

    end
	when 152 then
	begin begin p = (( @te))-1; end
 emit_table(KEYWORDS)
         	begin
p += 1
_goto_level = _out
next
	end
 end
	when 153 then
	begin begin p = (( @te))-1; end

      digits = tok(@num_digits_s, @num_suffix_s)

      if digits.end_with? '_'.freeze
        diagnostic :error, :trailing_in_number, { :character => '_'.freeze },
                   range(@te - 1, @te)
      elsif digits.empty? && @num_base == 8 && version?(18)
        # 1.8 did not raise an error on 0o.
        digits = '0'.freeze
      elsif digits.empty?
        diagnostic :error, :empty_numeric
      elsif @num_base == 8 && (invalid_idx = digits.index(/[89]/))
        invalid_s = @num_digits_s + invalid_idx
        diagnostic :error, :invalid_octal, nil,
                   range(invalid_s, invalid_s + 1)
      end

      if version?(18, 19, 20)
        emit(:tINTEGER, digits.to_i(@num_base), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits.to_i(@num_base))
      end
      	begin
p += 1
_goto_level = _out
next
	end

    end
	when 155 then
	begin begin p = (( @te))-1; end

      if version?(18, 19, 20)
        diagnostic :error,
                   :trailing_in_number, { :character => tok(@te - 1, @te) },
                   range(@te - 1, @te)
      else
        emit(:tINTEGER, tok(@ts, @te - 1).to_i, @ts, @te - 1)
        p = p - 1; 	begin
p += 1
_goto_level = _out
next
	end

      end
    end
	when 156 then
	begin begin p = (( @te))-1; end

      if version?(18, 19, 20)
        diagnostic :error,
                   :trailing_in_number, { :character => tok(@te - 1, @te) },
                   range(@te - 1, @te)
      else
        emit(:tFLOAT, tok(@ts, @te - 1).to_f, @ts, @te - 1)
        p = p - 1; 	begin
p += 1
_goto_level = _out
next
	end

      end
    end
	when 157 then
	begin begin p = (( @te))-1; end

      digits = tok(@ts, @num_suffix_s)

      if version?(18, 19, 20)
        emit(:tFLOAT, Float(digits), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits)
      end
      	begin
p += 1
_goto_level = _out
next
	end

    end
	when 159 then
	begin begin p = (( @te))-1; end
 emit(:tCONSTANT)
          @cs = (arg_or_cmdarg(cmd_state)); 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 163 then
	begin begin p = (( @te))-1; end

  emit(:tIDENTIFIER)

  if !@static_env.nil? && @static_env.declared?(tok)
     @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end

  else
     @cs = (arg_or_cmdarg(cmd_state)); 	begin
p += 1
_goto_level = _out
next
	end

  end
end
	when 164 then
	begin begin p = (( @te))-1; end

      if tm == @te
        # Suffix was consumed, e.g. foo!
        emit(:tFID)
      else
        # Suffix was not consumed, e.g. foo!=
        emit(:tIDENTIFIER, tok(@ts, tm), @ts, tm)
        p = tm - 1
      end
       @cs = 474; 	begin
p += 1
_goto_level = _out
next
	end

    end
	when 166 then
	begin begin p = (( @te))-1; end

      emit_table(PUNCTUATION);
       @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end

    end
	when 167 then
	begin begin p = (( @te))-1; end
 emit_table(PUNCTUATION)
          @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end
 end
end 
	end
	when 238 then
# line 1262 "lib/parser/lexer.rl"
begin
 tm = p - 2 		end
# line 1455 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit(:tFID, tok(@ts, tm), @ts, tm)
          @cs = (arg_or_cmdarg(cmd_state)); p = tm - 1; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 333 then
# line 1262 "lib/parser/lexer.rl"
begin
 tm = p - 2 		end
# line 1861 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      emit(:tSYMBOL, tok(@ts + 1, tm), @ts, tm)
      p = tm - 1
       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 305 then
# line 1262 "lib/parser/lexer.rl"
begin
 tm = p - 2 		end
# line 2063 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = @ts - 1
         	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 416 then
# line 1262 "lib/parser/lexer.rl"
begin
 tm = p - 2 		end
# line 2374 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      if tm == @te
        # Suffix was consumed, e.g. foo!
        emit(:tFID)
      else
        # Suffix was not consumed, e.g. foo!=
        emit(:tIDENTIFIER, tok(@ts, tm), @ts, tm)
        p = tm - 1
      end
       @cs = 474; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 334 then
# line 1267 "lib/parser/lexer.rl"
begin
 tm = p 		end
# line 1861 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      emit(:tSYMBOL, tok(@ts + 1, tm), @ts, tm)
      p = tm - 1
       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 306 then
# line 1267 "lib/parser/lexer.rl"
begin
 tm = p 		end
# line 2063 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = @ts - 1
         	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 335 then
# line 1268 "lib/parser/lexer.rl"
begin
 tm = p - 2 		end
# line 1861 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      emit(:tSYMBOL, tok(@ts + 1, tm), @ts, tm)
      p = tm - 1
       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 307 then
# line 1268 "lib/parser/lexer.rl"
begin
 tm = p - 2 		end
# line 2063 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = @ts - 1
         	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 339 then
# line 1269 "lib/parser/lexer.rl"
begin
 tm = p - 2 		end
# line 1861 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      emit(:tSYMBOL, tok(@ts + 1, tm), @ts, tm)
      p = tm - 1
       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 310 then
# line 1269 "lib/parser/lexer.rl"
begin
 tm = p - 2 		end
# line 2063 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = @ts - 1
         	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 338 then
# line 1270 "lib/parser/lexer.rl"
begin
 tm = p - 2 		end
# line 1861 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      emit(:tSYMBOL, tok(@ts + 1, tm), @ts, tm)
      p = tm - 1
       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 309 then
# line 1270 "lib/parser/lexer.rl"
begin
 tm = p - 2 		end
# line 1 "NONE"
begin
	case  @act
	when 98 then
	begin begin p = (( @te))-1; end

      emit(:tUNARY_NUM, tok(@ts, @ts + 1), @ts, @ts + 1)
      p = p - 1;  @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

    end
	when 105 then
	begin begin p = (( @te))-1; end

      diagnostic :error, :unterminated_heredoc_id, nil, range(@ts, @ts + 1)
    end
	when 116 then
	begin begin p = (( @te))-1; end

      if @version >= 27
        emit(:tPIPE, tok(@ts, @ts + 1), @ts, @ts + 1)
        p = p - 1;
         @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end

      else
        p -= 2
        	begin
 @cs = 781
_goto_level = _again
next
	end

      end
    end
	when 120 then
	begin begin p = (( @te))-1; end
 emit_table(PUNCTUATION_BEGIN)
         	begin
p += 1
_goto_level = _out
next
	end
 end
	when 121 then
	begin begin p = (( @te))-1; end
 emit(:kRESCUE, 'rescue'.freeze, @ts, tm)
         p = tm - 1
          @cs = 519; 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 122 then
	begin begin p = (( @te))-1; end
 emit_table(KEYWORDS_BEGIN)
         @command_start = true
          @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end
 end
	when 126 then
	begin begin p = (( @te))-1; end
 p = @ts - 1
         	begin
 @cs = 781
_goto_level = _again
next
	end
 end
	when 127 then
	begin begin p = (( @te))-1; end

  emit(:tIDENTIFIER)

  if !@static_env.nil? && @static_env.declared?(tok)
     @cs = 446; 	begin
p += 1
_goto_level = _out
next
	end

  else
     @cs = (arg_or_cmdarg(cmd_state)); 	begin
p += 1
_goto_level = _out
next
	end

  end
end
	when 131 then
	begin begin p = (( @te))-1; end
 p = @ts - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
 end
end 
	end
	when 336 then
# line 1271 "lib/parser/lexer.rl"
begin
 tm = p - 3 		end
# line 1861 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      emit(:tSYMBOL, tok(@ts + 1, tm), @ts, tm)
      p = tm - 1
       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 308 then
# line 1271 "lib/parser/lexer.rl"
begin
 tm = p - 3 		end
# line 2063 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  p = @ts - 1
         	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 337 then
# line 1276 "lib/parser/lexer.rl"
begin
 tm = p - 2 		end
# line 1861 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      emit(:tSYMBOL, tok(@ts + 1, tm), @ts, tm)
      p = tm - 1
       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 481 then
# line 1281 "lib/parser/lexer.rl"
begin
 tm = p - 2 		end
# line 2356 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit(:tCONSTANT, tok(@ts, tm), @ts, tm)
         p = tm - 1; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 261 then
# line 1287 "lib/parser/lexer.rl"
begin

  @cond.push(false); @cmdarg.push(false)

  @paren_nest += 1
		end
# line 1503 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit(:tLBRACK, '['.freeze, @te - 1, @te)
          @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 377 then
# line 1287 "lib/parser/lexer.rl"
begin

  @cond.push(false); @cmdarg.push(false)

  @paren_nest += 1
		end
# line 1969 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit(:tLBRACK, '['.freeze)
         	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 484 then
# line 1287 "lib/parser/lexer.rl"
begin

  @cond.push(false); @cmdarg.push(false)

  @paren_nest += 1
		end
# line 2443 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit(:tLBRACK2, '['.freeze)
          @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 487 then
# line 1293 "lib/parser/lexer.rl"
begin

  @paren_nest -= 1
		end
# line 2410 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      emit_table(PUNCTUATION)

      if @version < 24
        @cond.lexpop
        @cmdarg.lexpop
      else
        @cond.pop
        @cmdarg.pop
      end

      if tok == '}'.freeze || tok == ']'.freeze
        if @version >= 25
           @cs = 781;
        else
           @cs = 511;
        end
      else # )
        # fnext expr_endfn; ?
      end

      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 253 then
# line 1300 "lib/parser/lexer.rl"
begin

  @cond.push(false); @cmdarg.push(false)

  @paren_nest += 1

  if version?(18)
    @command_start = true
  end
		end
# line 1484 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      if version?(18)
        emit(:tLPAREN2, '('.freeze, @te - 1, @te)
         @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end

      else
        emit(:tLPAREN_ARG, '('.freeze, @te - 1, @te)
         @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end

      end
     end
end
	when 266 then
# line 1300 "lib/parser/lexer.rl"
begin

  @cond.push(false); @cmdarg.push(false)

  @paren_nest += 1

  if version?(18)
    @command_start = true
  end
		end
# line 1497 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit(:tLPAREN2, '('.freeze)
          @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 274 then
# line 1300 "lib/parser/lexer.rl"
begin

  @cond.push(false); @cmdarg.push(false)

  @paren_nest += 1

  if version?(18)
    @command_start = true
  end
		end
# line 1629 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      emit(:tLPAREN_ARG, '('.freeze, @te - 1, @te)
      if version?(18)
         @cs = 773; 	begin
p += 1
_goto_level = _out
next
	end

      else
         @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end

      end
     end
end
	when 323 then
# line 1300 "lib/parser/lexer.rl"
begin

  @cond.push(false); @cmdarg.push(false)

  @paren_nest += 1

  if version?(18)
    @command_start = true
  end
		end
# line 1974 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit(:tLPAREN, '('.freeze)
         	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 428 then
# line 1300 "lib/parser/lexer.rl"
begin

  @cond.push(false); @cmdarg.push(false)

  @paren_nest += 1

  if version?(18)
    @command_start = true
  end
		end
# line 2406 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit_table(PUNCTUATION)
          @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 429 then
# line 1310 "lib/parser/lexer.rl"
begin

  @paren_nest -= 1
		end
# line 2410 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      emit_table(PUNCTUATION)

      if @version < 24
        @cond.lexpop
        @cmdarg.lexpop
      else
        @cond.pop
        @cmdarg.pop
      end

      if tok == '}'.freeze || tok == ']'.freeze
        if @version >= 25
           @cs = 781;
        else
           @cs = 511;
        end
      else # )
        # fnext expr_endfn; ?
      end

      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 71 then
# line 1782 "lib/parser/lexer.rl"
begin
 heredoc_e      = p 		end
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
	when 347 then
# line 1783 "lib/parser/lexer.rl"
begin
 new_herebody_s = p 		end
# line 1784 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      tok(@ts, heredoc_e) =~ /^<<(-?)(~?)(["'`]?)(.*)\3$/m

      indent      = !$1.empty? || !$2.empty?
      dedent_body = !$2.empty?
      type        =  $3.empty? ? '<<"'.freeze : ('<<'.freeze + $3)
      delimiter   =  $4

      if @version >= 27
        if delimiter.count("\n") > 0 || delimiter.count("\r") > 0
          diagnostic :error, :unterminated_heredoc_id, nil, range(@ts, @ts + 1)
        end
      elsif @version >= 24
        if delimiter.count("\n") > 0
          if delimiter.end_with?("\n")
            diagnostic :warning, :heredoc_id_ends_with_nl, nil, range(@ts, @ts + 1)
            delimiter = delimiter.rstrip
          else
            diagnostic :fatal, :heredoc_id_has_newline, nil, range(@ts, @ts + 1)
          end
        end
      end

      if dedent_body && version?(18, 19, 20, 21, 22)
        emit(:tLSHFT, '<<'.freeze, @ts, @ts + 2)
        p = @ts + 1
         @cs = 543; 	begin
p += 1
_goto_level = _out
next
	end

      else
         @cs = (push_literal(type, delimiter, @ts, heredoc_e, indent, dedent_body));

        @herebody_s ||= new_herebody_s
        p = @herebody_s - 1
      end
     end
end
	when 342 then
# line 1874 "lib/parser/lexer.rl"
begin
 tm = p - 1; diag_msg = :ivar_name 		end
# line 1877 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      if @version >= 27
        diagnostic :error, diag_msg, { name: tok(tm, @te) }, range(tm, @te)
      else
        emit(:tCOLON, tok(@ts, @ts + 1), @ts, @ts + 1)
        p = @ts
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 345 then
# line 1875 "lib/parser/lexer.rl"
begin
 tm = p - 2; diag_msg = :cvar_name 		end
# line 1877 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      if @version >= 27
        diagnostic :error, diag_msg, { name: tok(tm, @te) }, range(tm, @te)
      else
        emit(:tCOLON, tok(@ts, @ts + 1), @ts, @ts + 1)
        p = @ts
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 353 then
# line 1895 "lib/parser/lexer.rl"
begin
 @escape = nil 		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 380 then
# line 1984 "lib/parser/lexer.rl"
begin
 tm = p 		end
# line 1985 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  emit(:kRESCUE, 'rescue'.freeze, @ts, tm)
         p = tm - 1
          @cs = 519; 	begin
p += 1
_goto_level = _out
next
	end
end
end
	when 471 then
# line 2258 "lib/parser/lexer.rl"
begin
 @num_base = 16; @num_digits_s = p 		end
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
	when 465 then
# line 2259 "lib/parser/lexer.rl"
begin
 @num_base = 10; @num_digits_s = p 		end
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
	when 468 then
# line 2260 "lib/parser/lexer.rl"
begin
 @num_base = 8;  @num_digits_s = p 		end
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
	when 462 then
# line 2261 "lib/parser/lexer.rl"
begin
 @num_base = 2;  @num_digits_s = p 		end
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
	when 477 then
# line 2262 "lib/parser/lexer.rl"
begin
 @num_base = 10; @num_digits_s = @ts 		end
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
	when 440 then
# line 2263 "lib/parser/lexer.rl"
begin
 @num_base = 8;  @num_digits_s = @ts 		end
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
	when 478 then
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
# line 634 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tINTEGER,   chars) } 		end
	when 89 then
# line 2510 "lib/parser/lexer.rl"
begin
 tm = p 		end
# line 2511 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin  p = tm - 1; 	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 8 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
	when 444 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2322 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
	when 222 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1374 "lib/parser/lexer.rl"
begin
 @act = 43;		end
	when 209 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1378 "lib/parser/lexer.rl"
begin
 @act = 44;		end
	when 205 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1382 "lib/parser/lexer.rl"
begin
 @act = 45;		end
	when 26 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1546 "lib/parser/lexer.rl"
begin
 @act = 71;		end
	when 255 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1563 "lib/parser/lexer.rl"
begin
 @act = 72;		end
	when 27 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1602 "lib/parser/lexer.rl"
begin
 @act = 77;		end
	when 248 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1607 "lib/parser/lexer.rl"
begin
 @act = 78;		end
	when 275 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1639 "lib/parser/lexer.rl"
begin
 @act = 84;		end
	when 45 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1652 "lib/parser/lexer.rl"
begin
 @act = 85;		end
	when 296 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1706 "lib/parser/lexer.rl"
begin
 @act = 92;		end
	when 285 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1710 "lib/parser/lexer.rl"
begin
 @act = 93;		end
	when 69 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1830 "lib/parser/lexer.rl"
begin
 @act = 105;		end
	when 385 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1938 "lib/parser/lexer.rl"
begin
 @act = 116;		end
	when 299 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1979 "lib/parser/lexer.rl"
begin
 @act = 120;		end
	when 379 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1985 "lib/parser/lexer.rl"
begin
 @act = 121;		end
	when 378 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1991 "lib/parser/lexer.rl"
begin
 @act = 122;		end
	when 74 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2063 "lib/parser/lexer.rl"
begin
 @act = 126;		end
	when 297 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1315 "lib/parser/lexer.rl"
begin
 @act = 127;		end
	when 300 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2109 "lib/parser/lexer.rl"
begin
 @act = 131;		end
	when 495 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2173 "lib/parser/lexer.rl"
begin
 @act = 144;		end
	when 490 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2202 "lib/parser/lexer.rl"
begin
 @act = 145;		end
	when 498 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2212 "lib/parser/lexer.rl"
begin
 @act = 147;		end
	when 491 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2217 "lib/parser/lexer.rl"
begin
 @act = 148;		end
	when 492 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2222 "lib/parser/lexer.rl"
begin
 @act = 149;		end
	when 497 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2226 "lib/parser/lexer.rl"
begin
 @act = 150;		end
	when 489 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2237 "lib/parser/lexer.rl"
begin
 @act = 151;		end
	when 483 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2251 "lib/parser/lexer.rl"
begin
 @act = 152;		end
	when 409 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2265 "lib/parser/lexer.rl"
begin
 @act = 153;		end
	when 442 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2309 "lib/parser/lexer.rl"
begin
 @act = 156;		end
	when 81 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2324 "lib/parser/lexer.rl"
begin
 @act = 157;		end
	when 412 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2352 "lib/parser/lexer.rl"
begin
 @act = 159;		end
	when 403 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1315 "lib/parser/lexer.rl"
begin
 @act = 163;		end
	when 414 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2374 "lib/parser/lexer.rl"
begin
 @act = 164;		end
	when 407 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2400 "lib/parser/lexer.rl"
begin
 @act = 166;		end
	when 413 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2406 "lib/parser/lexer.rl"
begin
 @act = 167;		end
	when 87 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2497 "lib/parser/lexer.rl"
begin
 @act = 180;		end
	when 502 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2514 "lib/parser/lexer.rl"
begin
 @act = 182;		end
	when 177 then
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 945 "lib/parser/lexer.rl"
begin
 @te = p+1
 begin 
  current_literal = literal
  if @te == pe
    diagnostic :fatal, :string_eof, nil,
               range(current_literal.str_s, current_literal.str_s + 1)
  end

  if current_literal.heredoc?
    line = tok(@herebody_s, @ts).gsub(/\r+$/, ''.freeze)

    if version?(18, 19, 20)
      # See ruby:c48b4209c
      line = line.gsub(/\r.*$/, ''.freeze)
    end

    # Try ending the heredoc with the complete most recently
    # scanned line. @herebody_s always refers to the start of such line.
    if current_literal.nest_and_try_closing(line, @herebody_s, @ts)
      # Adjust @herebody_s to point to the next line.
      @herebody_s = @te

      # Continue regular lexing after the heredoc reference (<<END).
      p = current_literal.heredoc_e - 1
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    else
      # Calculate indentation level for <<~HEREDOCs.
      current_literal.infer_indent_level(line)

      # Ditto.
      @herebody_s = @te
    end
  else
    # Try ending the literal with a newline.
    if current_literal.nest_and_try_closing(tok, @ts, @te)
       @cs = (pop_literal); 	begin
p += 1
_goto_level = _out
next
	end

    end

    if @herebody_s
      # This is a regular literal intertwined with a heredoc. Like:
      #
      #     p <<-foo+"1
      #     bar
      #     foo
      #     2"
      #
      # which, incidentally, evaluates to "bar\n1\n2".
      p = @herebody_s - 1
      @herebody_s = nil
    end
  end

  if current_literal.words? && !eof_codepoint?(@source_pts[p])
    current_literal.extend_space @ts, @te
  else
    # A literal newline is appended if the heredoc was _not_ closed
    # this time (see fbreak above). See also Literal#nest_and_try_closing
    # for rationale of calling #flush_string here.
    current_literal.extend_string tok, @ts, @te
    current_literal.flush_string
  end
 end
end
# line 817 "lib/parser/lexer.rl"
begin

  @escape_s = p
  @escape   = nil
		end
	when 124 then
# line 706 "lib/parser/lexer.rl"
begin

  codepoint = @source_pts[p - 1]
  if (@escape = ESCAPES[codepoint]).nil?
    @escape = encode_escape(@source_buffer.slice(p - 1))
  end
		end
# line 725 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord & 0x9f)
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 152 then
# line 706 "lib/parser/lexer.rl"
begin

  codepoint = @source_pts[p - 1]
  if (@escape = ESCAPES[codepoint]).nil?
    @escape = encode_escape(@source_buffer.slice(p - 1))
  end
		end
# line 725 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord & 0x9f)
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 363 then
# line 706 "lib/parser/lexer.rl"
begin

  codepoint = @source_pts[p - 1]
  if (@escape = ESCAPES[codepoint]).nil?
    @escape = encode_escape(@source_buffer.slice(p - 1))
  end
		end
# line 725 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord & 0x9f)
		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 129 then
# line 706 "lib/parser/lexer.rl"
begin

  codepoint = @source_pts[p - 1]
  if (@escape = ESCAPES[codepoint]).nil?
    @escape = encode_escape(@source_buffer.slice(p - 1))
  end
		end
# line 729 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord | 0x80)
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 157 then
# line 706 "lib/parser/lexer.rl"
begin

  codepoint = @source_pts[p - 1]
  if (@escape = ESCAPES[codepoint]).nil?
    @escape = encode_escape(@source_buffer.slice(p - 1))
  end
		end
# line 729 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord | 0x80)
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 368 then
# line 706 "lib/parser/lexer.rl"
begin

  codepoint = @source_pts[p - 1]
  if (@escape = ESCAPES[codepoint]).nil?
    @escape = encode_escape(@source_buffer.slice(p - 1))
  end
		end
# line 729 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord | 0x80)
		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 122 then
# line 717 "lib/parser/lexer.rl"
begin

  @escape = @source_buffer.slice(p - 1).chr

  if @version >= 27 && ((0..8).include?(@escape.ord) || (14..31).include?(@escape.ord))
    diagnostic :fatal, :invalid_escape
  end
		end
# line 725 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord & 0x9f)
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 150 then
# line 717 "lib/parser/lexer.rl"
begin

  @escape = @source_buffer.slice(p - 1).chr

  if @version >= 27 && ((0..8).include?(@escape.ord) || (14..31).include?(@escape.ord))
    diagnostic :fatal, :invalid_escape
  end
		end
# line 725 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord & 0x9f)
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 361 then
# line 717 "lib/parser/lexer.rl"
begin

  @escape = @source_buffer.slice(p - 1).chr

  if @version >= 27 && ((0..8).include?(@escape.ord) || (14..31).include?(@escape.ord))
    diagnostic :fatal, :invalid_escape
  end
		end
# line 725 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord & 0x9f)
		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 128 then
# line 717 "lib/parser/lexer.rl"
begin

  @escape = @source_buffer.slice(p - 1).chr

  if @version >= 27 && ((0..8).include?(@escape.ord) || (14..31).include?(@escape.ord))
    diagnostic :fatal, :invalid_escape
  end
		end
# line 729 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord | 0x80)
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 156 then
# line 717 "lib/parser/lexer.rl"
begin

  @escape = @source_buffer.slice(p - 1).chr

  if @version >= 27 && ((0..8).include?(@escape.ord) || (14..31).include?(@escape.ord))
    diagnostic :fatal, :invalid_escape
  end
		end
# line 729 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord | 0x80)
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 367 then
# line 717 "lib/parser/lexer.rl"
begin

  @escape = @source_buffer.slice(p - 1).chr

  if @version >= 27 && ((0..8).include?(@escape.ord) || (14..31).include?(@escape.ord))
    diagnostic :fatal, :invalid_escape
  end
		end
# line 729 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord | 0x80)
		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 126 then
# line 740 "lib/parser/lexer.rl"
begin
 @escape = "\x7f" 		end
# line 729 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord | 0x80)
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 154 then
# line 740 "lib/parser/lexer.rl"
begin
 @escape = "\x7f" 		end
# line 729 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord | 0x80)
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 365 then
# line 740 "lib/parser/lexer.rl"
begin
 @escape = "\x7f" 		end
# line 729 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord | 0x80)
		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 133 then
# line 771 "lib/parser/lexer.rl"
begin

      diagnostic :fatal, :invalid_unicode_escape, nil, range(@escape_s - 1, p)
    		end
# line 785 "lib/parser/lexer.rl"
begin

        diagnostic :fatal, :unterminated_unicode, nil, range(p - 1, p)
      		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 161 then
# line 771 "lib/parser/lexer.rl"
begin

      diagnostic :fatal, :invalid_unicode_escape, nil, range(@escape_s - 1, p)
    		end
# line 785 "lib/parser/lexer.rl"
begin

        diagnostic :fatal, :unterminated_unicode, nil, range(p - 1, p)
      		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 372 then
# line 771 "lib/parser/lexer.rl"
begin

      diagnostic :fatal, :invalid_unicode_escape, nil, range(@escape_s - 1, p)
    		end
# line 785 "lib/parser/lexer.rl"
begin

        diagnostic :fatal, :unterminated_unicode, nil, range(p - 1, p)
      		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 116 then
# line 817 "lib/parser/lexer.rl"
begin

  @escape_s = p
  @escape   = nil
		end
# line 811 "lib/parser/lexer.rl"
begin

    diagnostic :fatal, :escape_eof, nil, range(p - 1, p)
  		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 145 then
# line 817 "lib/parser/lexer.rl"
begin

  @escape_s = p
  @escape   = nil
		end
# line 811 "lib/parser/lexer.rl"
begin

    diagnostic :fatal, :escape_eof, nil, range(p - 1, p)
  		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 356 then
# line 817 "lib/parser/lexer.rl"
begin

  @escape_s = p
  @escape   = nil
		end
# line 811 "lib/parser/lexer.rl"
begin

    diagnostic :fatal, :escape_eof, nil, range(p - 1, p)
  		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 61 then
# line 1217 "lib/parser/lexer.rl"
begin
 @sharp_s = p - 1 		end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
	when 215 then
# line 1217 "lib/parser/lexer.rl"
begin
 @sharp_s = p - 1 		end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 1415 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 230 then
# line 1217 "lib/parser/lexer.rl"
begin
 @sharp_s = p - 1 		end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 1433 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 242 then
# line 1217 "lib/parser/lexer.rl"
begin
 @sharp_s = p - 1 		end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 1465 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 264 then
# line 1217 "lib/parser/lexer.rl"
begin
 @sharp_s = p - 1 		end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 1610 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin  	begin
 @cs = 781
_goto_level = _again
next
	end
end
end
	when 279 then
# line 1217 "lib/parser/lexer.rl"
begin
 @sharp_s = p - 1 		end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 1691 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 291 then
# line 1217 "lib/parser/lexer.rl"
begin
 @sharp_s = p - 1 		end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 1712 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 317 then
# line 1217 "lib/parser/lexer.rl"
begin
 @sharp_s = p - 1 		end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 2090 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 390 then
# line 1217 "lib/parser/lexer.rl"
begin
 @sharp_s = p - 1 		end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 2117 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 400 then
# line 1217 "lib/parser/lexer.rl"
begin
 @sharp_s = p - 1 		end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 2148 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 421 then
# line 1217 "lib/parser/lexer.rl"
begin
 @sharp_s = p - 1 		end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 2465 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 102 then
# line 1217 "lib/parser/lexer.rl"
begin
 @sharp_s = p - 1 		end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 2539 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1;		end
	when 473 then
# line 2262 "lib/parser/lexer.rl"
begin
 @num_base = 10; @num_digits_s = @ts 		end
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
# line 634 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tINTEGER,   chars) } 		end
	when 437 then
# line 2263 "lib/parser/lexer.rl"
begin
 @num_base = 8;  @num_digits_s = @ts 		end
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
# line 634 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tINTEGER,   chars) } 		end
	when 452 then
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
# line 634 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tINTEGER,   chars) } 		end
# line 2265 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@num_digits_s, @num_suffix_s)

      if digits.end_with? '_'.freeze
        diagnostic :error, :trailing_in_number, { :character => '_'.freeze },
                   range(@te - 1, @te)
      elsif digits.empty? && @num_base == 8 && version?(18)
        # 1.8 did not raise an error on 0o.
        digits = '0'.freeze
      elsif digits.empty?
        diagnostic :error, :empty_numeric
      elsif @num_base == 8 && (invalid_idx = digits.index(/[89]/))
        invalid_s = @num_digits_s + invalid_idx
        diagnostic :error, :invalid_octal, nil,
                   range(invalid_s, invalid_s + 1)
      end

      if version?(18, 19, 20)
        emit(:tINTEGER, digits.to_i(@num_base), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits.to_i(@num_base))
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 445 then
# line 2321 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
# line 643 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tFLOAT,     Float(chars)) } 		end
# line 2324 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@ts, @num_suffix_s)

      if version?(18, 19, 20)
        emit(:tFLOAT, Float(digits), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits)
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 441 then
# line 2322 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
# line 643 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tFLOAT,     Float(chars)) } 		end
# line 2324 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@ts, @num_suffix_s)

      if version?(18, 19, 20)
        emit(:tFLOAT, Float(digits), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits)
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 270 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 501 "lib/parser/lexer.rl"
begin

  # Record position of a newline for precise location reporting on tNL
  # tokens.
  #
  # This action is embedded directly into c_nl, as it is idempotent and
  # there are no cases when we need to skip it.
  @newline_s = p
		end
# line 1607 "lib/parser/lexer.rl"
begin
 @act = 78;		end
	when 35 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 1602 "lib/parser/lexer.rl"
begin
 @act = 77;		end
	when 46 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 1652 "lib/parser/lexer.rl"
begin
 @act = 85;		end
	when 94 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 2497 "lib/parser/lexer.rl"
begin
 @act = 180;		end
	when 65 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 1733 "lib/parser/lexer.rl"
begin
 @act = 98;		end
	when 84 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 2206 "lib/parser/lexer.rl"
begin
 @act = 146;		end
	when 93 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 2497 "lib/parser/lexer.rl"
begin
 @act = 180;		end
	when 37 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1562 "lib/parser/lexer.rl"
begin
 tm = p 		end
# line 1563 "lib/parser/lexer.rl"
begin
 @act = 72;		end
	when 382 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1984 "lib/parser/lexer.rl"
begin
 tm = p 		end
# line 2063 "lib/parser/lexer.rl"
begin
 @act = 126;		end
	when 381 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1984 "lib/parser/lexer.rl"
begin
 tm = p 		end
# line 1315 "lib/parser/lexer.rl"
begin
 @act = 127;		end
	when 474 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2262 "lib/parser/lexer.rl"
begin
 @num_base = 10; @num_digits_s = @ts 		end
# line 2265 "lib/parser/lexer.rl"
begin
 @act = 153;		end
	when 127 then
# line 706 "lib/parser/lexer.rl"
begin

  codepoint = @source_pts[p - 1]
  if (@escape = ESCAPES[codepoint]).nil?
    @escape = encode_escape(@source_buffer.slice(p - 1))
  end
		end
# line 725 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord & 0x9f)
		end
# line 729 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord | 0x80)
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 155 then
# line 706 "lib/parser/lexer.rl"
begin

  codepoint = @source_pts[p - 1]
  if (@escape = ESCAPES[codepoint]).nil?
    @escape = encode_escape(@source_buffer.slice(p - 1))
  end
		end
# line 725 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord & 0x9f)
		end
# line 729 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord | 0x80)
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 366 then
# line 706 "lib/parser/lexer.rl"
begin

  codepoint = @source_pts[p - 1]
  if (@escape = ESCAPES[codepoint]).nil?
    @escape = encode_escape(@source_buffer.slice(p - 1))
  end
		end
# line 725 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord & 0x9f)
		end
# line 729 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord | 0x80)
		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 125 then
# line 717 "lib/parser/lexer.rl"
begin

  @escape = @source_buffer.slice(p - 1).chr

  if @version >= 27 && ((0..8).include?(@escape.ord) || (14..31).include?(@escape.ord))
    diagnostic :fatal, :invalid_escape
  end
		end
# line 725 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord & 0x9f)
		end
# line 729 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord | 0x80)
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 153 then
# line 717 "lib/parser/lexer.rl"
begin

  @escape = @source_buffer.slice(p - 1).chr

  if @version >= 27 && ((0..8).include?(@escape.ord) || (14..31).include?(@escape.ord))
    diagnostic :fatal, :invalid_escape
  end
		end
# line 725 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord & 0x9f)
		end
# line 729 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord | 0x80)
		end
# line 890 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
  current_literal = literal
  # Get the first character after the backslash.
  escaped_char = @source_buffer.slice(@escape_s).chr

  if current_literal.munge_escape? escaped_char
    # If this particular literal uses this character as an opening
    # or closing delimiter, it is an escape sequence for that
    # particular character. Write it without the backslash.

    if current_literal.regexp? && REGEXP_META_CHARACTERS.match(escaped_char)
      # Regular expressions should include escaped delimiters in their
      # escaped form, except when the escaped character is
      # a closing delimiter but not a regexp metacharacter.
      #
      # The backslash itself cannot be used as a closing delimiter
      # at the same time as an escape symbol, but it is always munged,
      # so this branch also executes for the non-closing-delimiter case
      # for the backslash.
      current_literal.extend_string(tok, @ts, @te)
    else
      current_literal.extend_string(escaped_char, @ts, @te)
    end
  else
    # It does not. So this is an actual escape sequence, yay!
    if current_literal.squiggly_heredoc? && escaped_char == "\n".freeze
      # Squiggly heredocs like
      #   <<~-HERE
      #     1\
      #     2
      #   HERE
      # treat '\' as a line continuation, but still dedent the body, so the heredoc above becomes "12\n".
      # This information is emitted as is, without escaping,
      # later this escape sequence (\\\n) gets handled manually in the Lexer::Dedenter
      current_literal.extend_string(tok, @ts, @te)
    elsif current_literal.supports_line_continuation_via_slash? && escaped_char == "\n".freeze
      # Heredocs, regexp and a few other types of literals support line
      # continuation via \\\n sequence. The code like
      #   "a\
      #   b"
      # must be parsed as "ab"
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    elsif current_literal.regexp?
      # Regular expressions should include escape sequences in their
      # escaped form. On the other hand, escaped newlines are removed (in cases like "\\C-\\\n\\M-x")
      current_literal.extend_string(tok.gsub("\\\n".freeze, ''.freeze), @ts, @te)
    else
      current_literal.extend_string(@escape || tok, @ts, @te)
    end
  end
 end
end
	when 364 then
# line 717 "lib/parser/lexer.rl"
begin

  @escape = @source_buffer.slice(p - 1).chr

  if @version >= 27 && ((0..8).include?(@escape.ord) || (14..31).include?(@escape.ord))
    diagnostic :fatal, :invalid_escape
  end
		end
# line 725 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord & 0x9f)
		end
# line 729 "lib/parser/lexer.rl"
begin

  @escape = encode_escape(@escape[0].ord | 0x80)
		end
# line 1897 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      value = @escape || tok(@ts + 1)

      if version?(18)
        emit(:tINTEGER, value.getbyte(0))
      else
        emit(:tCHARACTER, value)
      end

       @cs = 781; 	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 469 then
# line 2258 "lib/parser/lexer.rl"
begin
 @num_base = 16; @num_digits_s = p 		end
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
# line 634 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tINTEGER,   chars) } 		end
# line 2265 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@num_digits_s, @num_suffix_s)

      if digits.end_with? '_'.freeze
        diagnostic :error, :trailing_in_number, { :character => '_'.freeze },
                   range(@te - 1, @te)
      elsif digits.empty? && @num_base == 8 && version?(18)
        # 1.8 did not raise an error on 0o.
        digits = '0'.freeze
      elsif digits.empty?
        diagnostic :error, :empty_numeric
      elsif @num_base == 8 && (invalid_idx = digits.index(/[89]/))
        invalid_s = @num_digits_s + invalid_idx
        diagnostic :error, :invalid_octal, nil,
                   range(invalid_s, invalid_s + 1)
      end

      if version?(18, 19, 20)
        emit(:tINTEGER, digits.to_i(@num_base), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits.to_i(@num_base))
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 463 then
# line 2259 "lib/parser/lexer.rl"
begin
 @num_base = 10; @num_digits_s = p 		end
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
# line 634 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tINTEGER,   chars) } 		end
# line 2265 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@num_digits_s, @num_suffix_s)

      if digits.end_with? '_'.freeze
        diagnostic :error, :trailing_in_number, { :character => '_'.freeze },
                   range(@te - 1, @te)
      elsif digits.empty? && @num_base == 8 && version?(18)
        # 1.8 did not raise an error on 0o.
        digits = '0'.freeze
      elsif digits.empty?
        diagnostic :error, :empty_numeric
      elsif @num_base == 8 && (invalid_idx = digits.index(/[89]/))
        invalid_s = @num_digits_s + invalid_idx
        diagnostic :error, :invalid_octal, nil,
                   range(invalid_s, invalid_s + 1)
      end

      if version?(18, 19, 20)
        emit(:tINTEGER, digits.to_i(@num_base), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits.to_i(@num_base))
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 466 then
# line 2260 "lib/parser/lexer.rl"
begin
 @num_base = 8;  @num_digits_s = p 		end
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
# line 634 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tINTEGER,   chars) } 		end
# line 2265 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@num_digits_s, @num_suffix_s)

      if digits.end_with? '_'.freeze
        diagnostic :error, :trailing_in_number, { :character => '_'.freeze },
                   range(@te - 1, @te)
      elsif digits.empty? && @num_base == 8 && version?(18)
        # 1.8 did not raise an error on 0o.
        digits = '0'.freeze
      elsif digits.empty?
        diagnostic :error, :empty_numeric
      elsif @num_base == 8 && (invalid_idx = digits.index(/[89]/))
        invalid_s = @num_digits_s + invalid_idx
        diagnostic :error, :invalid_octal, nil,
                   range(invalid_s, invalid_s + 1)
      end

      if version?(18, 19, 20)
        emit(:tINTEGER, digits.to_i(@num_base), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits.to_i(@num_base))
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 460 then
# line 2261 "lib/parser/lexer.rl"
begin
 @num_base = 2;  @num_digits_s = p 		end
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
# line 634 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tINTEGER,   chars) } 		end
# line 2265 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@num_digits_s, @num_suffix_s)

      if digits.end_with? '_'.freeze
        diagnostic :error, :trailing_in_number, { :character => '_'.freeze },
                   range(@te - 1, @te)
      elsif digits.empty? && @num_base == 8 && version?(18)
        # 1.8 did not raise an error on 0o.
        digits = '0'.freeze
      elsif digits.empty?
        diagnostic :error, :empty_numeric
      elsif @num_base == 8 && (invalid_idx = digits.index(/[89]/))
        invalid_s = @num_digits_s + invalid_idx
        diagnostic :error, :invalid_octal, nil,
                   range(invalid_s, invalid_s + 1)
      end

      if version?(18, 19, 20)
        emit(:tINTEGER, digits.to_i(@num_base), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits.to_i(@num_base))
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 472 then
# line 2262 "lib/parser/lexer.rl"
begin
 @num_base = 10; @num_digits_s = @ts 		end
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
# line 634 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tINTEGER,   chars) } 		end
# line 2265 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@num_digits_s, @num_suffix_s)

      if digits.end_with? '_'.freeze
        diagnostic :error, :trailing_in_number, { :character => '_'.freeze },
                   range(@te - 1, @te)
      elsif digits.empty? && @num_base == 8 && version?(18)
        # 1.8 did not raise an error on 0o.
        digits = '0'.freeze
      elsif digits.empty?
        diagnostic :error, :empty_numeric
      elsif @num_base == 8 && (invalid_idx = digits.index(/[89]/))
        invalid_s = @num_digits_s + invalid_idx
        diagnostic :error, :invalid_octal, nil,
                   range(invalid_s, invalid_s + 1)
      end

      if version?(18, 19, 20)
        emit(:tINTEGER, digits.to_i(@num_base), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits.to_i(@num_base))
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 436 then
# line 2263 "lib/parser/lexer.rl"
begin
 @num_base = 8;  @num_digits_s = @ts 		end
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
# line 634 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tINTEGER,   chars) } 		end
# line 2265 "lib/parser/lexer.rl"
begin
 @te = p
p = p - 1; begin 
      digits = tok(@num_digits_s, @num_suffix_s)

      if digits.end_with? '_'.freeze
        diagnostic :error, :trailing_in_number, { :character => '_'.freeze },
                   range(@te - 1, @te)
      elsif digits.empty? && @num_base == 8 && version?(18)
        # 1.8 did not raise an error on 0o.
        digits = '0'.freeze
      elsif digits.empty?
        diagnostic :error, :empty_numeric
      elsif @num_base == 8 && (invalid_idx = digits.index(/[89]/))
        invalid_s = @num_digits_s + invalid_idx
        diagnostic :error, :invalid_octal, nil,
                   range(invalid_s, invalid_s + 1)
      end

      if version?(18, 19, 20)
        emit(:tINTEGER, digits.to_i(@num_base), @ts, @num_suffix_s)
        p = @num_suffix_s - 1
      else
        @num_xfrm.call(digits.to_i(@num_base))
      end
      	begin
p += 1
_goto_level = _out
next
	end

     end
end
	when 31 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 857 "lib/parser/lexer.rl"
begin

  # After every heredoc was parsed, @herebody_s contains the
  # position of next token after all heredocs.
  if @herebody_s
    p = @herebody_s
    @herebody_s = nil
  end
		end
# line 1562 "lib/parser/lexer.rl"
begin
 tm = p 		end
# line 1563 "lib/parser/lexer.rl"
begin
 @act = 72;		end
	when 62 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1217 "lib/parser/lexer.rl"
begin
 @sharp_s = p - 1 		end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 1733 "lib/parser/lexer.rl"
begin
 @act = 98;		end
	when 92 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 1217 "lib/parser/lexer.rl"
begin
 @sharp_s = p - 1 		end
# line 1220 "lib/parser/lexer.rl"
begin
 emit_comment(@sharp_s, p == pe ? p - 2 : p) 		end
# line 2497 "lib/parser/lexer.rl"
begin
 @act = 180;		end
	when 479 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
# line 634 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tINTEGER,   chars) } 		end
# line 2297 "lib/parser/lexer.rl"
begin
 @act = 155;		end
	when 475 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2262 "lib/parser/lexer.rl"
begin
 @num_base = 10; @num_digits_s = @ts 		end
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
# line 634 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tINTEGER,   chars) } 		end
# line 2297 "lib/parser/lexer.rl"
begin
 @act = 155;		end
	when 439 then
# line 1 "NONE"
begin
 @te = p+1
end
# line 2263 "lib/parser/lexer.rl"
begin
 @num_base = 8;  @num_digits_s = @ts 		end
# line 2264 "lib/parser/lexer.rl"
begin
 @num_suffix_s = p 		end
# line 634 "lib/parser/lexer.rl"
begin
 @num_xfrm = lambda { |chars| emit(:tINTEGER,   chars) } 		end
# line 2297 "lib/parser/lexer.rl"
begin
 @act = 155;		end
# line 23534 "lib/parser/lexer.rb"
	end
	end
	end
	if _goto_level <= _again
	case _lex_to_state_actions[ @cs] 
	when 96 then
# line 1 "NONE"
begin
 @ts = nil;		end
# line 23544 "lib/parser/lexer.rb"
	end

	if  @cs == 0
_goto_level = _out
next
	end
	p += 1
	if p != pe
_goto_level = _resume
next
	end
	end
	if _goto_level <= _test_eof
	if p == eof
	if _lex_eof_trans[ @cs] > 0
_trans = _lex_eof_trans[ @cs] - 1;
_goto_level = _eof_trans
next;
	end
	end

	end
	if _goto_level <= _out
break
	end
end
	end

# line 286 "lib/parser/lexer.rl"
  # %

  # Ragel creates a local variable called `testEof` but it doesn't use
  # it in any assignment. This dead code is here to swallow the warning.
  # It has no runtime cost because Ruby doesn't produce any instructions from it.
  if false
    testEof
  end

  @p = p

  if @token_queue.any?
    @token_queue.shift
  elsif @cs == klass.lex_error
    [ false, [ '$error'.freeze, range(p - 1, p) ] ]
  else
    eof = @source_pts.size
    [ false, [ '$eof'.freeze,   range(eof, eof) ] ]
  end
end

#dedent_levelObject



10959
10960
10961
10962
10963
10964
# File 'lib/parser/lexer.rb', line 10959

def dedent_level
  # We erase @dedent_level as a precaution to avoid accidentally
  # using a stale value.
  dedent_level, @dedent_level = @dedent_level, nil
  dedent_level
end

#encodingObject



10909
10910
10911
# File 'lib/parser/lexer.rb', line 10909

def encoding
  @source_buffer.source.encoding
end

#pop_cmdargObject



10946
10947
10948
# File 'lib/parser/lexer.rb', line 10946

def pop_cmdarg
  @cmdarg = @cmdarg_stack.pop
end

#pop_condObject



10955
10956
10957
# File 'lib/parser/lexer.rb', line 10955

def pop_cond
  @cond = @cond_stack.pop
end

#push_cmdargObject



10941
10942
10943
10944
# File 'lib/parser/lexer.rb', line 10941

def push_cmdarg
  @cmdarg_stack.push(@cmdarg)
  @cmdarg = StackState.new("cmdarg.#{@cmdarg_stack.count}")
end

#push_condObject



10950
10951
10952
10953
# File 'lib/parser/lexer.rb', line 10950

def push_cond
  @cond_stack.push(@cond)
  @cond = StackState.new("cond.#{@cond_stack.count}")
end

#reset(reset_state = true) ⇒ Object



10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
# File 'lib/parser/lexer.rb', line 10820

def reset(reset_state=true)
  # Ragel state:
  if reset_state
    # Unit tests set state prior to resetting lexer.
    @cs     = self.class.lex_en_line_begin

    @cond   = StackState.new('cond')
    @cmdarg = StackState.new('cmdarg')
    @cond_stack   = []
    @cmdarg_stack = []
  end

  @force_utf32   = false # Set to true by some tests

  @source_pts    = nil # @source as a codepoint array

  @p             = 0   # stream position (saved manually in #advance)
  @ts            = nil # token start
  @te            = nil # token end
  @act           = 0   # next action

  @stack         = []  # state stack
  @top           = 0   # state stack top pointer

  # Lexer state:
  @token_queue   = []
  @literal_stack = []

  @eq_begin_s    = nil # location of last encountered =begin
  @sharp_s       = nil # location of last encountered #

  @newline_s     = nil # location of last encountered newline

  @num_base      = nil # last numeric base
  @num_digits_s  = nil # starting position of numeric digits
  @num_suffix_s  = nil # starting position of numeric suffix
  @num_xfrm      = nil # numeric suffix-induced transformation

  @escape_s      = nil # starting position of current sequence
  @escape        = nil # last escaped sequence, as string

  @herebody_s    = nil # starting position of current heredoc line

  # Ruby 1.9 ->() lambdas emit a distinct token if do/{ is
  # encountered after a matching closing parenthesis.
  @paren_nest    = 0
  @lambda_stack  = []

  # After encountering the closing line of <<~SQUIGGLY_HEREDOC,
  # we store the indentation level and give it out to the parser
  # on request. It is not possible to infer indentation level just
  # from the AST because escape sequences such as `\ ` or `\t` are
  # expanded inside the lexer, but count as non-whitespace for
  # indentation purposes.
  @dedent_level  = nil

  # If the lexer is in `command state' (aka expr_value)
  # at the entry to #advance, it will transition to expr_cmdarg
  # instead of expr_arg at certain points.
  @command_start = true

  # True at the end of "def foo a:"
  @in_kwarg      = false

  # State before =begin / =end block comment
  @cs_before_block_comment = self.class.lex_en_line_begin
end

#stateObject



10933
10934
10935
# File 'lib/parser/lexer.rb', line 10933

def state
  LEX_STATES.invert.fetch(@cs, @cs)
end

#state=(state) ⇒ Object



10937
10938
10939
# File 'lib/parser/lexer.rb', line 10937

def state=(state)
  @cs = LEX_STATES.fetch(state)
end