Skip to content

Commit 26fefeb

Browse files
committed
sig: Run rbs-inline
1 parent d399ed4 commit 26fefeb

8 files changed

Lines changed: 224 additions & 8 deletions

File tree

sig/generated/rbs/inline/annotation_parser.rbs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ module RBS
3333
# @rbs first_comment: Prism::Comment
3434
def initialize: (Prism::Comment first_comment) -> void
3535

36+
@comments: untyped
37+
38+
@annotations: untyped
39+
40+
@first_comment_offset: untyped
41+
3642
# @rbs return: Range[Integer]
3743
def line_range: () -> Range[Integer]
3844

@@ -56,6 +62,8 @@ module RBS
5662
# @rbs input: Array[Prism::Comment]
5763
def initialize: (Array[Prism::Comment] input) -> void
5864

65+
@input: untyped
66+
5967
# @rbs input: Array[Prism::Comment]
6068
# @rbs return: Array[ParsingResult]
6169
def self.parse: (Array[Prism::Comment] input) -> Array[ParsingResult]

sig/generated/rbs/inline/ast/annotations.rbs

Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ module RBS
3232
# @rbs source: CommentLines
3333
# @rbs return: void
3434
def initialize: (Tree tree, CommentLines source) -> void
35+
36+
@tree: untyped
37+
38+
@source: untyped
3539
end
3640

3741
class VarType < Base
@@ -44,6 +48,16 @@ module RBS
4448
# @rbs override
4549
def initialize: ...
4650

51+
@tree: untyped
52+
53+
@source: untyped
54+
55+
@name: untyped
56+
57+
@type: untyped
58+
59+
@comment: untyped
60+
4761
# : () -> bool
4862
def complete?: () -> bool
4963
end
@@ -59,6 +73,14 @@ module RBS
5973

6074
# @rbs override
6175
def initialize: ...
76+
77+
@tree: untyped
78+
79+
@source: untyped
80+
81+
@name: untyped
82+
83+
@comment: untyped
6284
end
6385

6486
# `@rbs *x: T`
@@ -81,6 +103,14 @@ module RBS
81103

82104
# @rbs override
83105
def initialize: ...
106+
107+
@tree: untyped
108+
109+
@source: untyped
110+
111+
@name: untyped
112+
113+
@comment: untyped
84114
end
85115

86116
# `@rbs return: T`
@@ -92,6 +122,14 @@ module RBS
92122
# @rbs override
93123
def initialize: ...
94124

125+
@tree: untyped
126+
127+
@source: untyped
128+
129+
@type: untyped
130+
131+
@comment: untyped
132+
95133
# @rbs return: bool
96134
def complete?: () -> bool
97135
end
@@ -108,6 +146,18 @@ module RBS
108146

109147
# @rbs override
110148
def initialize: ...
149+
150+
@tree: untyped
151+
152+
@source: untyped
153+
154+
@class_instance: untyped
155+
156+
@name: untyped
157+
158+
@type: untyped
159+
160+
@comment: untyped
111161
end
112162

113163
class MethodTypeAssertion < Base
@@ -116,6 +166,12 @@ module RBS
116166
# @rbs override
117167
def initialize: ...
118168

169+
@source: untyped
170+
171+
@tree: untyped
172+
173+
@method_type: untyped
174+
119175
def type_source: () -> String
120176
end
121177

@@ -125,6 +181,12 @@ module RBS
125181
# @rbs override
126182
def initialize: ...
127183

184+
@source: untyped
185+
186+
@tree: untyped
187+
188+
@type: untyped
189+
128190
def type_source: () -> String
129191
end
130192

@@ -133,11 +195,21 @@ module RBS
133195

134196
# @rbs override
135197
def initialize: ...
198+
199+
@tree: untyped
200+
201+
@source: untyped
202+
203+
@error_string: untyped
136204
end
137205

138206
class Dot3Assertion < Base
139207
# @rbs override
140208
def initialize: ...
209+
210+
@tree: untyped
211+
212+
@source: untyped
141213
end
142214

143215
# `#[TYPE, ..., TYPE]`
@@ -147,6 +219,12 @@ module RBS
147219
# @rbs override
148220
def initialize: ...
149221

222+
@tree: untyped
223+
224+
@source: untyped
225+
226+
@types: untyped
227+
150228
# @rbs return: bool
151229
def complete?: () -> bool
152230
end
@@ -158,13 +236,23 @@ module RBS
158236
# @rbs override
159237
def initialize: ...
160238

239+
@source: untyped
240+
241+
@tree: untyped
242+
243+
@contents: untyped
244+
161245
def annotations: () -> Array[RBS::AST::Annotation]
162246
end
163247

164248
# `# @rbs skip`
165249
class Skip < Base
166250
# @rbs override
167251
def initialize: ...
252+
253+
@tree: untyped
254+
255+
@source: untyped
168256
end
169257

170258
# `# @rbs inherits T`
@@ -175,6 +263,14 @@ module RBS
175263

176264
# @rbs override
177265
def initialize: ...
266+
267+
@tree: untyped
268+
269+
@source: untyped
270+
271+
@super_name: untyped
272+
273+
@args: untyped
178274
end
179275

180276
# `# @rbs override`
@@ -183,6 +279,10 @@ module RBS
183279
class Override < Base
184280
# @rbs override
185281
def initialize: ...
282+
283+
@tree: untyped
284+
285+
@source: untyped
186286
end
187287

188288
# `# @rbs use [USES]`
@@ -191,6 +291,12 @@ module RBS
191291

192292
# @rbs override
193293
def initialize: ...
294+
295+
@tree: untyped
296+
297+
@source: untyped
298+
299+
@clauses: untyped
194300
end
195301

196302
# `# @rbs module-self [MODULE_SELF]`
@@ -201,6 +307,14 @@ module RBS
201307

202308
# @rbs override
203309
def initialize: ...
310+
311+
@tree: untyped
312+
313+
@source: untyped
314+
315+
@self_types: untyped
316+
317+
@comment: untyped
204318
end
205319

206320
# `# @rbs generic [type param]`
@@ -220,6 +334,14 @@ module RBS
220334

221335
# @rbs override
222336
def initialize: ...
337+
338+
@tree: untyped
339+
340+
@source: untyped
341+
342+
@type_param: untyped
343+
344+
@comment: untyped
223345
end
224346

225347
# `# @rbs!` annotation
@@ -228,6 +350,12 @@ module RBS
228350

229351
# @rbs override
230352
def initialize: ...
353+
354+
@tree: untyped
355+
356+
@source: untyped
357+
358+
@content: untyped
231359
end
232360

233361
# `@rbs METHOD-TYPE``
@@ -246,6 +374,14 @@ module RBS
246374
# @rbs override
247375
def initialize: ...
248376

377+
@tree: untyped
378+
379+
@source: untyped
380+
381+
@method_types: untyped
382+
383+
@overloading: untyped
384+
249385
# : (Array[tree]) -> method_type?
250386
def construct_method_types: (Array[tree]) -> method_type?
251387

@@ -272,6 +408,16 @@ module RBS
272408

273409
# @rbs override
274410
def initialize: ...
411+
412+
@tree: untyped
413+
414+
@source: untyped
415+
416+
@name: untyped
417+
418+
@type_params: untyped
419+
420+
@self_types: untyped
275421
end
276422

277423
# `@rbs class Foo`
@@ -286,6 +432,16 @@ module RBS
286432

287433
# @rbs override
288434
def initialize: ...
435+
436+
@tree: untyped
437+
438+
@source: untyped
439+
440+
@name: untyped
441+
442+
@type_params: untyped
443+
444+
@super_class: untyped
289445
end
290446
end
291447
end

sig/generated/rbs/inline/ast/comment_lines.rbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ module RBS
2020
# @rbs comments: Array[Prism::Comment]
2121
def initialize: (Array[Prism::Comment] comments) -> void
2222

23+
@comments: untyped
24+
2325
def lines: () -> Array[String]
2426

2527
def string: () -> String

0 commit comments

Comments
 (0)