sorbet-result 0.3.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,161 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `racc` gem.
5
+ # Please instead update this file by running `bin/tapioca gem racc`.
6
+
7
+ # source://racc//lib/racc/parser.rb#23
8
+ ParseError = Racc::ParseError
9
+
10
+ # source://racc//lib/racc/info.rb#16
11
+ Racc::Copyright = T.let(T.unsafe(nil), String)
12
+
13
+ # source://racc//lib/racc/parser.rb#186
14
+ class Racc::Parser
15
+ # source://racc//lib/racc/parser.rb#281
16
+ def _racc_do_parse_rb(arg, in_debug); end
17
+
18
+ # source://racc//lib/racc/parser.rb#481
19
+ def _racc_do_reduce(arg, act); end
20
+
21
+ # common
22
+ #
23
+ # source://racc//lib/racc/parser.rb#384
24
+ def _racc_evalact(act, arg); end
25
+
26
+ # source://racc//lib/racc/parser.rb#234
27
+ def _racc_init_sysvars; end
28
+
29
+ # source://racc//lib/racc/parser.rb#222
30
+ def _racc_setup; end
31
+
32
+ # source://racc//lib/racc/parser.rb#331
33
+ def _racc_yyparse_rb(recv, mid, arg, c_debug); end
34
+
35
+ # source://racc//lib/racc/parser.rb#264
36
+ def do_parse; end
37
+
38
+ # The method to fetch next token.
39
+ # If you use #do_parse method, you must implement #next_token.
40
+ #
41
+ # The format of return value is [TOKEN_SYMBOL, VALUE].
42
+ # +token-symbol+ is represented by Ruby's symbol by default, e.g. :IDENT
43
+ # for 'IDENT'. ";" (String) for ';'.
44
+ #
45
+ # The final symbol (End of file) must be false.
46
+ #
47
+ # @raise [NotImplementedError]
48
+ #
49
+ # source://racc//lib/racc/parser.rb#277
50
+ def next_token; end
51
+
52
+ # This method is called when a parse error is found.
53
+ #
54
+ # ERROR_TOKEN_ID is an internal ID of token which caused error.
55
+ # You can get string representation of this ID by calling
56
+ # #token_to_str.
57
+ #
58
+ # ERROR_VALUE is a value of error token.
59
+ #
60
+ # value_stack is a stack of symbol values.
61
+ # DO NOT MODIFY this object.
62
+ #
63
+ # This method raises ParseError by default.
64
+ #
65
+ # If this method returns, parsers enter "error recovering mode".
66
+ #
67
+ # @raise [ParseError]
68
+ #
69
+ # source://racc//lib/racc/parser.rb#537
70
+ def on_error(t, val, vstack); end
71
+
72
+ # source://racc//lib/racc/parser.rb#586
73
+ def racc_accept; end
74
+
75
+ # source://racc//lib/racc/parser.rb#591
76
+ def racc_e_pop(state, tstack, vstack); end
77
+
78
+ # source://racc//lib/racc/parser.rb#598
79
+ def racc_next_state(curstate, state); end
80
+
81
+ # source://racc//lib/racc/parser.rb#604
82
+ def racc_print_stacks(t, v); end
83
+
84
+ # source://racc//lib/racc/parser.rb#613
85
+ def racc_print_states(s); end
86
+
87
+ # For debugging output
88
+ #
89
+ # source://racc//lib/racc/parser.rb#560
90
+ def racc_read_token(t, tok, val); end
91
+
92
+ # source://racc//lib/racc/parser.rb#573
93
+ def racc_reduce(toks, sim, tstack, vstack); end
94
+
95
+ # source://racc//lib/racc/parser.rb#567
96
+ def racc_shift(tok, tstack, vstack); end
97
+
98
+ # source://racc//lib/racc/parser.rb#620
99
+ def racc_token2str(tok); end
100
+
101
+ # Convert internal ID of token symbol to the string.
102
+ #
103
+ # source://racc//lib/racc/parser.rb#626
104
+ def token_to_str(t); end
105
+
106
+ # Exit parser.
107
+ # Return value is +Symbol_Value_Stack[0]+.
108
+ #
109
+ # source://racc//lib/racc/parser.rb#550
110
+ def yyaccept; end
111
+
112
+ # Leave error recovering mode.
113
+ #
114
+ # source://racc//lib/racc/parser.rb#555
115
+ def yyerrok; end
116
+
117
+ # Enter error recovering mode.
118
+ # This method does not call #on_error.
119
+ #
120
+ # source://racc//lib/racc/parser.rb#544
121
+ def yyerror; end
122
+
123
+ # source://racc//lib/racc/parser.rb#326
124
+ def yyparse(recv, mid); end
125
+
126
+ class << self
127
+ # source://racc//lib/racc/parser.rb#218
128
+ def racc_runtime_type; end
129
+ end
130
+ end
131
+
132
+ # source://racc//lib/racc/parser.rb#207
133
+ Racc::Parser::Racc_Main_Parsing_Routine = T.let(T.unsafe(nil), Symbol)
134
+
135
+ Racc::Parser::Racc_Runtime_Core_Id_C = T.let(T.unsafe(nil), String)
136
+
137
+ # source://racc//lib/racc/parser.rb#209
138
+ Racc::Parser::Racc_Runtime_Core_Version = T.let(T.unsafe(nil), String)
139
+
140
+ Racc::Parser::Racc_Runtime_Core_Version_C = T.let(T.unsafe(nil), String)
141
+
142
+ # source://racc//lib/racc/parser.rb#189
143
+ Racc::Parser::Racc_Runtime_Core_Version_R = T.let(T.unsafe(nil), String)
144
+
145
+ # source://racc//lib/racc/parser.rb#210
146
+ Racc::Parser::Racc_Runtime_Type = T.let(T.unsafe(nil), String)
147
+
148
+ # source://racc//lib/racc/parser.rb#188
149
+ Racc::Parser::Racc_Runtime_Version = T.let(T.unsafe(nil), String)
150
+
151
+ # source://racc//lib/racc/parser.rb#208
152
+ Racc::Parser::Racc_YY_Parse_Method = T.let(T.unsafe(nil), Symbol)
153
+
154
+ # source://racc//lib/racc/parser.rb#183
155
+ Racc::Racc_No_Extensions = T.let(T.unsafe(nil), FalseClass)
156
+
157
+ # source://racc//lib/racc/info.rb#14
158
+ Racc::VERSION = T.let(T.unsafe(nil), String)
159
+
160
+ # source://racc//lib/racc/info.rb#15
161
+ Racc::Version = T.let(T.unsafe(nil), String)
@@ -2586,8 +2586,6 @@ end
2586
2586
  # source://regexp_parser//lib/regexp_parser/version.rb#3
2587
2587
  Regexp::Parser::VERSION = T.let(T.unsafe(nil), String)
2588
2588
 
2589
- # mapping for simple cases with a 1:1 relation between text and token
2590
- #
2591
2589
  # source://regexp_parser//lib/regexp_parser/scanner/errors/scanner_error.rb#3
2592
2590
  class Regexp::Scanner
2593
2591
  # Emits an array with the details of the scanned pattern
@@ -3357,7 +3355,7 @@ Regexp::Syntax::Token::PosixClass::Type = T.let(T.unsafe(nil), Symbol)
3357
3355
 
3358
3356
  # alias for symmetry between token symbol and Token module name
3359
3357
  #
3360
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#718
3358
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#731
3361
3359
  Regexp::Syntax::Token::Property = Regexp::Syntax::Token::UnicodeProperty
3362
3360
 
3363
3361
  # source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#3
@@ -3454,7 +3452,7 @@ Regexp::Syntax::Token::UnicodeProperty::Age_V3_1_0 = T.let(T.unsafe(nil), Array)
3454
3452
  # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#62
3455
3453
  Regexp::Syntax::Token::UnicodeProperty::Age_V3_2_0 = T.let(T.unsafe(nil), Array)
3456
3454
 
3457
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#708
3455
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#721
3458
3456
  Regexp::Syntax::Token::UnicodeProperty::All = T.let(T.unsafe(nil), Array)
3459
3457
 
3460
3458
  # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#13
@@ -3505,19 +3503,22 @@ Regexp::Syntax::Token::UnicodeProperty::Derived_V2_4_0 = T.let(T.unsafe(nil), Ar
3505
3503
  # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#129
3506
3504
  Regexp::Syntax::Token::UnicodeProperty::Derived_V2_5_0 = T.let(T.unsafe(nil), Array)
3507
3505
 
3508
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#693
3506
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#706
3509
3507
  Regexp::Syntax::Token::UnicodeProperty::Emoji = T.let(T.unsafe(nil), Array)
3510
3508
 
3511
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#685
3509
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#694
3512
3510
  Regexp::Syntax::Token::UnicodeProperty::Emoji_V2_5_0 = T.let(T.unsafe(nil), Array)
3513
3511
 
3514
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#711
3512
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#702
3513
+ Regexp::Syntax::Token::UnicodeProperty::Emoji_V2_6_0 = T.let(T.unsafe(nil), Array)
3514
+
3515
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#724
3515
3516
  Regexp::Syntax::Token::UnicodeProperty::NonType = T.let(T.unsafe(nil), Symbol)
3516
3517
 
3517
3518
  # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#11
3518
3519
  Regexp::Syntax::Token::UnicodeProperty::POSIX = T.let(T.unsafe(nil), Array)
3519
3520
 
3520
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#330
3521
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#332
3521
3522
  Regexp::Syntax::Token::UnicodeProperty::Script = T.let(T.unsafe(nil), Array)
3522
3523
 
3523
3524
  # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#135
@@ -3553,76 +3554,76 @@ Regexp::Syntax::Token::UnicodeProperty::Script_V3_1_0 = T.let(T.unsafe(nil), Arr
3553
3554
  # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#322
3554
3555
  Regexp::Syntax::Token::UnicodeProperty::Script_V3_2_0 = T.let(T.unsafe(nil), Array)
3555
3556
 
3556
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#710
3557
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#723
3557
3558
  Regexp::Syntax::Token::UnicodeProperty::Type = T.let(T.unsafe(nil), Symbol)
3558
3559
 
3559
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#683
3560
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#692
3560
3561
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock = T.let(T.unsafe(nil), Array)
3561
3562
 
3562
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#332
3563
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#334
3563
3564
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V1_9_0 = T.let(T.unsafe(nil), Array)
3564
3565
 
3565
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#431
3566
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#433
3566
3567
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_0_0 = T.let(T.unsafe(nil), Array)
3567
3568
 
3568
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#559
3569
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#561
3569
3570
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_2_0 = T.let(T.unsafe(nil), Array)
3570
3571
 
3571
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#594
3572
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#596
3572
3573
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_3_0 = T.let(T.unsafe(nil), Array)
3573
3574
 
3574
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#607
3575
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#609
3575
3576
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_4_0 = T.let(T.unsafe(nil), Array)
3576
3577
 
3577
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#621
3578
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#623
3578
3579
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_5_0 = T.let(T.unsafe(nil), Array)
3579
3580
 
3580
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#631
3581
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#633
3581
3582
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_6_0 = T.let(T.unsafe(nil), Array)
3582
3583
 
3583
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#645
3584
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#647
3584
3585
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_6_2 = T.let(T.unsafe(nil), Array)
3585
3586
 
3586
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#657
3587
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#659
3587
3588
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V3_1_0 = T.let(T.unsafe(nil), Array)
3588
3589
 
3589
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#668
3590
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#670
3590
3591
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V3_2_0 = T.let(T.unsafe(nil), Array)
3591
3592
 
3592
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#695
3593
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#708
3593
3594
  Regexp::Syntax::Token::UnicodeProperty::V1_9_0 = T.let(T.unsafe(nil), Array)
3594
3595
 
3595
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#696
3596
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#709
3596
3597
  Regexp::Syntax::Token::UnicodeProperty::V1_9_3 = T.let(T.unsafe(nil), Array)
3597
3598
 
3598
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#697
3599
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#710
3599
3600
  Regexp::Syntax::Token::UnicodeProperty::V2_0_0 = T.let(T.unsafe(nil), Array)
3600
3601
 
3601
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#698
3602
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#711
3602
3603
  Regexp::Syntax::Token::UnicodeProperty::V2_2_0 = T.let(T.unsafe(nil), Array)
3603
3604
 
3604
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#699
3605
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#712
3605
3606
  Regexp::Syntax::Token::UnicodeProperty::V2_3_0 = T.let(T.unsafe(nil), Array)
3606
3607
 
3607
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#700
3608
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#713
3608
3609
  Regexp::Syntax::Token::UnicodeProperty::V2_4_0 = T.let(T.unsafe(nil), Array)
3609
3610
 
3610
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#701
3611
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#714
3611
3612
  Regexp::Syntax::Token::UnicodeProperty::V2_5_0 = T.let(T.unsafe(nil), Array)
3612
3613
 
3613
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#702
3614
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#715
3614
3615
  Regexp::Syntax::Token::UnicodeProperty::V2_6_0 = T.let(T.unsafe(nil), Array)
3615
3616
 
3616
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#703
3617
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#716
3617
3618
  Regexp::Syntax::Token::UnicodeProperty::V2_6_2 = T.let(T.unsafe(nil), Array)
3618
3619
 
3619
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#704
3620
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#717
3620
3621
  Regexp::Syntax::Token::UnicodeProperty::V2_6_3 = T.let(T.unsafe(nil), Array)
3621
3622
 
3622
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#705
3623
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#718
3623
3624
  Regexp::Syntax::Token::UnicodeProperty::V3_1_0 = T.let(T.unsafe(nil), Array)
3624
3625
 
3625
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#706
3626
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#719
3626
3627
  Regexp::Syntax::Token::UnicodeProperty::V3_2_0 = T.let(T.unsafe(nil), Array)
3627
3628
 
3628
3629
  # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#12