muina 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/main.yml +16 -0
- data/.gitignore +5 -0
- data/.mutant.yml +38 -0
- data/.rspec +4 -0
- data/.rubocop.yml +172 -0
- data/.ruby-version +1 -0
- data/.simplecov +14 -0
- data/CHANGELOG.md +38 -0
- data/Gemfile +34 -0
- data/Gemfile.lock +265 -0
- data/Guardfile +24 -0
- data/README.md +36 -0
- data/Rakefile +13 -0
- data/SECURITY.md +14 -0
- data/bin/bundle +114 -0
- data/bin/console +15 -0
- data/bin/flay +29 -0
- data/bin/flog +29 -0
- data/bin/guard +29 -0
- data/bin/irb +29 -0
- data/bin/lefthook +29 -0
- data/bin/mutant +29 -0
- data/bin/parlour +29 -0
- data/bin/rake +29 -0
- data/bin/rspec +29 -0
- data/bin/rubocop +29 -0
- data/bin/setup +8 -0
- data/bin/srb +29 -0
- data/bin/srb-rbi +29 -0
- data/bin/tapioca +29 -0
- data/exe/muina +11 -0
- data/lefthook.yml +39 -0
- data/lib/muina/action/params_factory.rb +17 -0
- data/lib/muina/action/step/command.rb +31 -0
- data/lib/muina/action/step/failure.rb +18 -0
- data/lib/muina/action/step/query.rb +31 -0
- data/lib/muina/action/step/result.rb +51 -0
- data/lib/muina/action/step.rb +13 -0
- data/lib/muina/action.rb +73 -0
- data/lib/muina/any.rb +7 -0
- data/lib/muina/classes.rb +7 -0
- data/lib/muina/module.rb +6 -0
- data/lib/muina/parameters.rb +7 -0
- data/lib/muina/params.rb +19 -0
- data/lib/muina/private_creation.rb +12 -0
- data/lib/muina/result/factory.rb +37 -0
- data/lib/muina/result/failure.rb +31 -0
- data/lib/muina/result/null.rb +25 -0
- data/lib/muina/result/success.rb +31 -0
- data/lib/muina/result.rb +17 -0
- data/lib/muina/service.rb +37 -0
- data/lib/muina/symbol_hash.rb +7 -0
- data/lib/muina/unit.rb +10 -0
- data/lib/muina/untyped_array.rb +7 -0
- data/lib/muina/untyped_hash.rb +7 -0
- data/lib/muina/value.rb +16 -0
- data/lib/muina/version.rb +7 -0
- data/lib/muina.rb +42 -0
- data/muina.gemspec +35 -0
- data/rbi/muina.rbi +268 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/actionpack@6.1.4.rbi +5045 -0
- data/sorbet/rbi/gems/actionview@6.1.4.rbi +2416 -0
- data/sorbet/rbi/gems/activesupport@6.1.4.rbi +3778 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
- data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +322 -0
- data/sorbet/rbi/gems/builder@3.2.4.rbi +8 -0
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +18 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
- data/sorbet/rbi/gems/colorize@0.8.1.rbi +39 -0
- data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +2403 -0
- data/sorbet/rbi/gems/crass@1.0.6.rbi +123 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +185 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
- data/sorbet/rbi/gems/erubi@1.10.0.rbi +36 -0
- data/sorbet/rbi/gems/erubis@2.7.0.rbi +8 -0
- data/sorbet/rbi/gems/faker@2.18.0.rbi +2469 -0
- data/sorbet/rbi/gems/ffi@1.15.3.rbi +8 -0
- data/sorbet/rbi/gems/flay@2.12.1.rbi +178 -0
- data/sorbet/rbi/gems/flog@4.6.4.rbi +70 -0
- data/sorbet/rbi/gems/formatador@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +49 -0
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +233 -0
- data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +66 -0
- data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +69 -0
- data/sorbet/rbi/gems/guard@2.18.0.rbi +617 -0
- data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
- data/sorbet/rbi/gems/i18n@1.8.10.rbi +616 -0
- data/sorbet/rbi/gems/io-console@0.5.9.rbi +8 -0
- data/sorbet/rbi/gems/irb@1.3.6.rbi +452 -0
- data/sorbet/rbi/gems/lefthook@0.7.6.rbi +8 -0
- data/sorbet/rbi/gems/listen@3.6.0.rbi +476 -0
- data/sorbet/rbi/gems/loofah@2.10.0.rbi +223 -0
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +431 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/minitest@5.14.4.rbi +344 -0
- data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +8 -0
- data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +8 -0
- data/sorbet/rbi/gems/mutant@0.10.32.rbi +4154 -0
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +88 -0
- data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +1422 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +331 -0
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +113 -0
- data/sorbet/rbi/gems/parlour@6.0.1.rbi +1726 -0
- data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1683 -0
- data/sorbet/rbi/gems/path_expander@1.1.0.rbi +24 -0
- data/sorbet/rbi/gems/polyfill@1.9.0.rbi +393 -0
- data/sorbet/rbi/gems/pry@0.14.1.rbi +8 -0
- data/sorbet/rbi/gems/racc@1.5.2.rbi +47 -0
- data/sorbet/rbi/gems/rack-test@1.1.0.rbi +272 -0
- data/sorbet/rbi/gems/rack@2.2.3.rbi +1618 -0
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +92 -0
- data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +183 -0
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +808 -0
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1120 -0
- data/sorbet/rbi/gems/reline@0.2.6.rbi +662 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +672 -0
- data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +2509 -0
- data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1574 -0
- data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
- data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +2194 -0
- data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +899 -0
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +118 -0
- data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +1805 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +288 -0
- data/sorbet/rbi/gems/rubocop@1.18.4.rbi +13197 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
- data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +4528 -0
- data/sorbet/rbi/gems/safe_type@1.1.1.rbi +157 -0
- data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +359 -0
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +28 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
- data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +42 -0
- data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +8 -0
- data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +17 -0
- data/sorbet/rbi/gems/spoom@1.1.1.rbi +1193 -0
- data/sorbet/rbi/gems/tapioca@0.4.23.rbi +1826 -0
- data/sorbet/rbi/gems/thor@1.1.0.rbi +838 -0
- data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +856 -0
- data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +26 -0
- data/sorbet/rbi/gems/unparser@0.6.0.rbi +2037 -0
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +173 -0
- data/sorbet/rbi/todo.rbi +8 -0
- data/sorbet/rbi/typed_params.rbi +7 -0
- data/sorbet/tapioca/require.rb +16 -0
- metadata +269 -0
@@ -0,0 +1,288 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `rubocop-sorbet` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
module RuboCop; end
|
8
|
+
module RuboCop::Cop; end
|
9
|
+
module RuboCop::Cop::Sorbet; end
|
10
|
+
|
11
|
+
class RuboCop::Cop::Sorbet::AllowIncompatibleOverride < ::RuboCop::Cop::Cop
|
12
|
+
def allow_incompatible?(param0); end
|
13
|
+
def allow_incompatible_override?(param0 = T.unsafe(nil)); end
|
14
|
+
def not_nil?(node); end
|
15
|
+
def on_send(node); end
|
16
|
+
def sig?(param0); end
|
17
|
+
end
|
18
|
+
|
19
|
+
class RuboCop::Cop::Sorbet::BindingConstantWithoutTypeAlias < ::RuboCop::Cop::Cop
|
20
|
+
def autocorrect(node); end
|
21
|
+
def binding_unaliased_type?(param0 = T.unsafe(nil)); end
|
22
|
+
def dynamic_type_creation_with_block?(param0 = T.unsafe(nil)); end
|
23
|
+
def generic_parameter_decl?(param0 = T.unsafe(nil)); end
|
24
|
+
def method_needing_aliasing_on_t?(param0); end
|
25
|
+
def not_dynamic_type_creation_with_block?(node); end
|
26
|
+
def not_generic_parameter_decl?(node); end
|
27
|
+
def not_nil?(node); end
|
28
|
+
def not_t_let?(node); end
|
29
|
+
def on_casgn(node); end
|
30
|
+
def t_let?(param0 = T.unsafe(nil)); end
|
31
|
+
def using_deprecated_type_alias_syntax?(param0 = T.unsafe(nil)); end
|
32
|
+
def using_type_alias?(param0 = T.unsafe(nil)); end
|
33
|
+
end
|
34
|
+
|
35
|
+
class RuboCop::Cop::Sorbet::CallbackConditionalsBinding < ::RuboCop::Cop::Cop
|
36
|
+
def autocorrect(node); end
|
37
|
+
def on_send(node); end
|
38
|
+
end
|
39
|
+
|
40
|
+
RuboCop::Cop::Sorbet::CallbackConditionalsBinding::CALLBACKS = T.let(T.unsafe(nil), Array)
|
41
|
+
|
42
|
+
class RuboCop::Cop::Sorbet::CheckedTrueInSignature < ::RuboCop::Cop::Sorbet::SignatureCop
|
43
|
+
include ::RuboCop::Cop::RangeHelp
|
44
|
+
|
45
|
+
def offending_node(param0); end
|
46
|
+
def on_signature(node); end
|
47
|
+
end
|
48
|
+
|
49
|
+
RuboCop::Cop::Sorbet::CheckedTrueInSignature::MESSAGE = T.let(T.unsafe(nil), String)
|
50
|
+
|
51
|
+
class RuboCop::Cop::Sorbet::ConstantsFromStrings < ::RuboCop::Cop::Cop
|
52
|
+
def constant_from_string?(param0 = T.unsafe(nil)); end
|
53
|
+
def on_send(node); end
|
54
|
+
end
|
55
|
+
|
56
|
+
class RuboCop::Cop::Sorbet::EnforceSigilOrder < ::RuboCop::Cop::Sorbet::ValidSigil
|
57
|
+
include ::RuboCop::Cop::RangeHelp
|
58
|
+
|
59
|
+
def autocorrect(_node); end
|
60
|
+
def investigate(processed_source); end
|
61
|
+
|
62
|
+
protected
|
63
|
+
|
64
|
+
def check_magic_comments_order(tokens); end
|
65
|
+
def extract_magic_comments(processed_source); end
|
66
|
+
end
|
67
|
+
|
68
|
+
RuboCop::Cop::Sorbet::EnforceSigilOrder::CODING_REGEX = T.let(T.unsafe(nil), Regexp)
|
69
|
+
RuboCop::Cop::Sorbet::EnforceSigilOrder::FROZEN_REGEX = T.let(T.unsafe(nil), Regexp)
|
70
|
+
RuboCop::Cop::Sorbet::EnforceSigilOrder::INDENT_REGEX = T.let(T.unsafe(nil), Regexp)
|
71
|
+
RuboCop::Cop::Sorbet::EnforceSigilOrder::MAGIC_REGEX = T.let(T.unsafe(nil), Regexp)
|
72
|
+
RuboCop::Cop::Sorbet::EnforceSigilOrder::PREFERRED_ORDER = T.let(T.unsafe(nil), Hash)
|
73
|
+
|
74
|
+
class RuboCop::Cop::Sorbet::EnforceSignatures < ::RuboCop::Cop::Sorbet::SignatureCop
|
75
|
+
def initialize(config = T.unsafe(nil), options = T.unsafe(nil)); end
|
76
|
+
|
77
|
+
def accessor?(param0 = T.unsafe(nil)); end
|
78
|
+
def autocorrect(node); end
|
79
|
+
def on_block(node); end
|
80
|
+
def on_def(node); end
|
81
|
+
def on_defs(node); end
|
82
|
+
def on_send(node); end
|
83
|
+
def scope(node); end
|
84
|
+
|
85
|
+
private
|
86
|
+
|
87
|
+
def check_node(node); end
|
88
|
+
def param_type_placeholder; end
|
89
|
+
def return_type_placeholder; end
|
90
|
+
end
|
91
|
+
|
92
|
+
class RuboCop::Cop::Sorbet::EnforceSignatures::SigSuggestion
|
93
|
+
def initialize(indent, param_placeholder, return_placeholder); end
|
94
|
+
|
95
|
+
def params; end
|
96
|
+
def params=(_arg0); end
|
97
|
+
def returns; end
|
98
|
+
def returns=(_arg0); end
|
99
|
+
def to_autocorrect; end
|
100
|
+
|
101
|
+
private
|
102
|
+
|
103
|
+
def generate_params; end
|
104
|
+
def generate_return; end
|
105
|
+
end
|
106
|
+
|
107
|
+
class RuboCop::Cop::Sorbet::FalseSigil < ::RuboCop::Cop::Sorbet::HasSigil
|
108
|
+
def minimum_strictness; end
|
109
|
+
end
|
110
|
+
|
111
|
+
class RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims < ::RuboCop::Cop::Cop
|
112
|
+
include ::RuboCop::Cop::RangeHelp
|
113
|
+
|
114
|
+
def autocorrect(node); end
|
115
|
+
def extend_t_helpers?(param0 = T.unsafe(nil)); end
|
116
|
+
def extend_t_sig?(param0 = T.unsafe(nil)); end
|
117
|
+
def on_send(node); end
|
118
|
+
end
|
119
|
+
|
120
|
+
RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims::MSG = T.let(T.unsafe(nil), String)
|
121
|
+
RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
122
|
+
|
123
|
+
class RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral < ::RuboCop::Cop::Cop
|
124
|
+
def initialize(*_arg0); end
|
125
|
+
|
126
|
+
def not_lit_const_include?(param0 = T.unsafe(nil)); end
|
127
|
+
def on_send(node); end
|
128
|
+
def used_names; end
|
129
|
+
def used_names=(_arg0); end
|
130
|
+
end
|
131
|
+
|
132
|
+
RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral::MSG = T.let(T.unsafe(nil), String)
|
133
|
+
|
134
|
+
class RuboCop::Cop::Sorbet::ForbidRBIOutsideOfSorbetDir < ::RuboCop::Cop::Cop
|
135
|
+
include ::RuboCop::Cop::RangeHelp
|
136
|
+
|
137
|
+
def investigate(processed_source); end
|
138
|
+
end
|
139
|
+
|
140
|
+
RuboCop::Cop::Sorbet::ForbidRBIOutsideOfSorbetDir::PATH_REGEXP = T.let(T.unsafe(nil), Regexp)
|
141
|
+
|
142
|
+
class RuboCop::Cop::Sorbet::ForbidSuperclassConstLiteral < ::RuboCop::Cop::Cop
|
143
|
+
def not_lit_const_superclass?(param0 = T.unsafe(nil)); end
|
144
|
+
def on_class(node); end
|
145
|
+
end
|
146
|
+
|
147
|
+
RuboCop::Cop::Sorbet::ForbidSuperclassConstLiteral::MSG = T.let(T.unsafe(nil), String)
|
148
|
+
|
149
|
+
class RuboCop::Cop::Sorbet::ForbidTUnsafe < ::RuboCop::Cop::Cop
|
150
|
+
def on_send(node); end
|
151
|
+
def t_unsafe?(param0 = T.unsafe(nil)); end
|
152
|
+
end
|
153
|
+
|
154
|
+
class RuboCop::Cop::Sorbet::ForbidUntypedStructProps < ::RuboCop::Cop::Cop
|
155
|
+
def on_class(node); end
|
156
|
+
def subclass_of_t_struct?(param0 = T.unsafe(nil)); end
|
157
|
+
def t_nilable_untyped(param0 = T.unsafe(nil)); end
|
158
|
+
def t_struct(param0 = T.unsafe(nil)); end
|
159
|
+
def t_untyped(param0 = T.unsafe(nil)); end
|
160
|
+
def untyped_props(param0); end
|
161
|
+
end
|
162
|
+
|
163
|
+
RuboCop::Cop::Sorbet::ForbidUntypedStructProps::MSG = T.let(T.unsafe(nil), String)
|
164
|
+
|
165
|
+
class RuboCop::Cop::Sorbet::HasSigil < ::RuboCop::Cop::Sorbet::ValidSigil
|
166
|
+
def require_sigil_on_all_files?; end
|
167
|
+
end
|
168
|
+
|
169
|
+
class RuboCop::Cop::Sorbet::IgnoreSigil < ::RuboCop::Cop::Sorbet::HasSigil
|
170
|
+
def minimum_strictness; end
|
171
|
+
end
|
172
|
+
|
173
|
+
class RuboCop::Cop::Sorbet::KeywordArgumentOrdering < ::RuboCop::Cop::Sorbet::SignatureCop
|
174
|
+
def on_signature(node); end
|
175
|
+
|
176
|
+
private
|
177
|
+
|
178
|
+
def check_order_for_kwoptargs(parameters); end
|
179
|
+
end
|
180
|
+
|
181
|
+
class RuboCop::Cop::Sorbet::OneAncestorPerLine < ::RuboCop::Cop::Cop
|
182
|
+
def abstract?(param0); end
|
183
|
+
def autocorrect(node); end
|
184
|
+
def more_than_one_ancestor(param0 = T.unsafe(nil)); end
|
185
|
+
def on_class(node); end
|
186
|
+
def on_module(node); end
|
187
|
+
def requires_ancestors(param0); end
|
188
|
+
|
189
|
+
private
|
190
|
+
|
191
|
+
def new_ra_line(indent_count); end
|
192
|
+
def process_node(node); end
|
193
|
+
end
|
194
|
+
|
195
|
+
RuboCop::Cop::Sorbet::OneAncestorPerLine::MSG = T.let(T.unsafe(nil), String)
|
196
|
+
|
197
|
+
class RuboCop::Cop::Sorbet::ParametersOrderingInSignature < ::RuboCop::Cop::Sorbet::SignatureCop
|
198
|
+
def on_signature(node); end
|
199
|
+
def signature_params(param0); end
|
200
|
+
|
201
|
+
private
|
202
|
+
|
203
|
+
def check_for_inconsistent_param_ordering(sig_params_order, parameters); end
|
204
|
+
def extract_parameters(sig_params); end
|
205
|
+
end
|
206
|
+
|
207
|
+
class RuboCop::Cop::Sorbet::SignatureBuildOrder < ::RuboCop::Cop::Sorbet::SignatureCop
|
208
|
+
def autocorrect(node); end
|
209
|
+
def on_signature(node); end
|
210
|
+
def root_call(param0); end
|
211
|
+
|
212
|
+
private
|
213
|
+
|
214
|
+
def call_chain(sig_child_node); end
|
215
|
+
def can_autocorrect?; end
|
216
|
+
def node_reparsed_with_modern_features(node); end
|
217
|
+
end
|
218
|
+
|
219
|
+
class RuboCop::Cop::Sorbet::SignatureBuildOrder::ModernBuilder < ::RuboCop::AST::Builder; end
|
220
|
+
RuboCop::Cop::Sorbet::SignatureBuildOrder::ORDER = T.let(T.unsafe(nil), Hash)
|
221
|
+
|
222
|
+
class RuboCop::Cop::Sorbet::SignatureCop < ::RuboCop::Cop::Cop
|
223
|
+
def on_block(node); end
|
224
|
+
def on_signature(_); end
|
225
|
+
def signature?(param0 = T.unsafe(nil)); end
|
226
|
+
end
|
227
|
+
|
228
|
+
class RuboCop::Cop::Sorbet::SingleLineRbiClassModuleDefinitions < ::RuboCop::Cop::Cop
|
229
|
+
def autocorrect(node); end
|
230
|
+
def on_class(node); end
|
231
|
+
def on_module(node); end
|
232
|
+
|
233
|
+
protected
|
234
|
+
|
235
|
+
def convert_newlines(source); end
|
236
|
+
def process_node(node); end
|
237
|
+
end
|
238
|
+
|
239
|
+
RuboCop::Cop::Sorbet::SingleLineRbiClassModuleDefinitions::MSG = T.let(T.unsafe(nil), String)
|
240
|
+
|
241
|
+
class RuboCop::Cop::Sorbet::StrictSigil < ::RuboCop::Cop::Sorbet::HasSigil
|
242
|
+
def minimum_strictness; end
|
243
|
+
end
|
244
|
+
|
245
|
+
class RuboCop::Cop::Sorbet::StrongSigil < ::RuboCop::Cop::Sorbet::HasSigil
|
246
|
+
def minimum_strictness; end
|
247
|
+
end
|
248
|
+
|
249
|
+
class RuboCop::Cop::Sorbet::TrueSigil < ::RuboCop::Cop::Sorbet::HasSigil
|
250
|
+
def minimum_strictness; end
|
251
|
+
end
|
252
|
+
|
253
|
+
class RuboCop::Cop::Sorbet::ValidSigil < ::RuboCop::Cop::Cop
|
254
|
+
def autocorrect(_node); end
|
255
|
+
def investigate(processed_source); end
|
256
|
+
|
257
|
+
protected
|
258
|
+
|
259
|
+
def check_sigil_present(sigil); end
|
260
|
+
def check_strictness_level(sigil, strictness); end
|
261
|
+
def check_strictness_not_empty(sigil, strictness); end
|
262
|
+
def check_strictness_valid(sigil, strictness); end
|
263
|
+
def extract_sigil(processed_source); end
|
264
|
+
def extract_strictness(sigil); end
|
265
|
+
def minimum_strictness; end
|
266
|
+
def require_sigil_on_all_files?; end
|
267
|
+
def suggested_strictness; end
|
268
|
+
def suggested_strictness_level(minimum_strictness, suggested_strictness); end
|
269
|
+
end
|
270
|
+
|
271
|
+
RuboCop::Cop::Sorbet::ValidSigil::SIGIL_REGEX = T.let(T.unsafe(nil), Regexp)
|
272
|
+
RuboCop::Cop::Sorbet::ValidSigil::STRICTNESS_LEVELS = T.let(T.unsafe(nil), Array)
|
273
|
+
RuboCop::NodePattern = RuboCop::AST::NodePattern
|
274
|
+
RuboCop::ProcessedSource = RuboCop::AST::ProcessedSource
|
275
|
+
module RuboCop::Sorbet; end
|
276
|
+
RuboCop::Sorbet::CONFIG = T.let(T.unsafe(nil), Hash)
|
277
|
+
RuboCop::Sorbet::CONFIG_DEFAULT = T.let(T.unsafe(nil), Pathname)
|
278
|
+
class RuboCop::Sorbet::Error < ::StandardError; end
|
279
|
+
|
280
|
+
module RuboCop::Sorbet::Inject
|
281
|
+
class << self
|
282
|
+
def defaults!; end
|
283
|
+
end
|
284
|
+
end
|
285
|
+
|
286
|
+
RuboCop::Sorbet::PROJECT_ROOT = T.let(T.unsafe(nil), Pathname)
|
287
|
+
RuboCop::Sorbet::VERSION = T.let(T.unsafe(nil), String)
|
288
|
+
RuboCop::Token = RuboCop::AST::Token
|