Skip to content

Commit 3bc7900

Browse files
committed
sig: Run rbs-inline
1 parent d399ed4 commit 3bc7900

File tree

8 files changed

+232
-4
lines changed

8 files changed

+232
-4
lines changed

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: 164 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,18 @@ module RBS
5973

6074
# @rbs override
6175
def initialize: ...
76+
77+
@tree: untyped
78+
79+
@source: untyped
80+
81+
@name: untyped
82+
83+
@type: untyped
84+
85+
@type_source: untyped
86+
87+
@comment: untyped
6288
end
6389

6490
# `@rbs *x: T`
@@ -81,6 +107,18 @@ module RBS
81107

82108
# @rbs override
83109
def initialize: ...
110+
111+
@tree: untyped
112+
113+
@source: untyped
114+
115+
@name: untyped
116+
117+
@type: untyped
118+
119+
@type_source: untyped
120+
121+
@comment: untyped
84122
end
85123

86124
# `@rbs return: T`
@@ -92,6 +130,14 @@ module RBS
92130
# @rbs override
93131
def initialize: ...
94132

133+
@tree: untyped
134+
135+
@source: untyped
136+
137+
@type: untyped
138+
139+
@comment: untyped
140+
95141
# @rbs return: bool
96142
def complete?: () -> bool
97143
end
@@ -108,6 +154,18 @@ module RBS
108154

109155
# @rbs override
110156
def initialize: ...
157+
158+
@tree: untyped
159+
160+
@source: untyped
161+
162+
@class_instance: untyped
163+
164+
@name: untyped
165+
166+
@type: untyped
167+
168+
@comment: untyped
111169
end
112170

113171
class MethodTypeAssertion < Base
@@ -116,6 +174,12 @@ module RBS
116174
# @rbs override
117175
def initialize: ...
118176

177+
@source: untyped
178+
179+
@tree: untyped
180+
181+
@method_type: untyped
182+
119183
def type_source: () -> String
120184
end
121185

@@ -125,6 +189,12 @@ module RBS
125189
# @rbs override
126190
def initialize: ...
127191

192+
@source: untyped
193+
194+
@tree: untyped
195+
196+
@type: untyped
197+
128198
def type_source: () -> String
129199
end
130200

@@ -133,11 +203,21 @@ module RBS
133203

134204
# @rbs override
135205
def initialize: ...
206+
207+
@tree: untyped
208+
209+
@source: untyped
210+
211+
@error_string: untyped
136212
end
137213

138214
class Dot3Assertion < Base
139215
# @rbs override
140216
def initialize: ...
217+
218+
@tree: untyped
219+
220+
@source: untyped
141221
end
142222

143223
# `#[TYPE, ..., TYPE]`
@@ -147,6 +227,12 @@ module RBS
147227
# @rbs override
148228
def initialize: ...
149229

230+
@tree: untyped
231+
232+
@source: untyped
233+
234+
@types: untyped
235+
150236
# @rbs return: bool
151237
def complete?: () -> bool
152238
end
@@ -158,13 +244,23 @@ module RBS
158244
# @rbs override
159245
def initialize: ...
160246

247+
@source: untyped
248+
249+
@tree: untyped
250+
251+
@contents: untyped
252+
161253
def annotations: () -> Array[RBS::AST::Annotation]
162254
end
163255

164256
# `# @rbs skip`
165257
class Skip < Base
166258
# @rbs override
167259
def initialize: ...
260+
261+
@tree: untyped
262+
263+
@source: untyped
168264
end
169265

170266
# `# @rbs inherits T`
@@ -175,6 +271,14 @@ module RBS
175271

176272
# @rbs override
177273
def initialize: ...
274+
275+
@tree: untyped
276+
277+
@source: untyped
278+
279+
@super_name: untyped
280+
281+
@args: untyped
178282
end
179283

180284
# `# @rbs override`
@@ -183,6 +287,10 @@ module RBS
183287
class Override < Base
184288
# @rbs override
185289
def initialize: ...
290+
291+
@tree: untyped
292+
293+
@source: untyped
186294
end
187295

188296
# `# @rbs use [USES]`
@@ -191,6 +299,12 @@ module RBS
191299

192300
# @rbs override
193301
def initialize: ...
302+
303+
@tree: untyped
304+
305+
@source: untyped
306+
307+
@clauses: untyped
194308
end
195309

196310
# `# @rbs module-self [MODULE_SELF]`
@@ -201,6 +315,14 @@ module RBS
201315

202316
# @rbs override
203317
def initialize: ...
318+
319+
@tree: untyped
320+
321+
@source: untyped
322+
323+
@self_types: untyped
324+
325+
@comment: untyped
204326
end
205327

206328
# `# @rbs generic [type param]`
@@ -220,6 +342,14 @@ module RBS
220342

221343
# @rbs override
222344
def initialize: ...
345+
346+
@tree: untyped
347+
348+
@source: untyped
349+
350+
@type_param: untyped
351+
352+
@comment: untyped
223353
end
224354

225355
# `# @rbs!` annotation
@@ -228,6 +358,12 @@ module RBS
228358

229359
# @rbs override
230360
def initialize: ...
361+
362+
@tree: untyped
363+
364+
@source: untyped
365+
366+
@content: untyped
231367
end
232368

233369
# `@rbs METHOD-TYPE``
@@ -246,6 +382,14 @@ module RBS
246382
# @rbs override
247383
def initialize: ...
248384

385+
@tree: untyped
386+
387+
@source: untyped
388+
389+
@method_types: untyped
390+
391+
@overloading: untyped
392+
249393
# : (Array[tree]) -> method_type?
250394
def construct_method_types: (Array[tree]) -> method_type?
251395

@@ -272,6 +416,16 @@ module RBS
272416

273417
# @rbs override
274418
def initialize: ...
419+
420+
@tree: untyped
421+
422+
@source: untyped
423+
424+
@name: untyped
425+
426+
@type_params: untyped
427+
428+
@self_types: untyped
275429
end
276430

277431
# `@rbs class Foo`
@@ -286,6 +440,16 @@ module RBS
286440

287441
# @rbs override
288442
def initialize: ...
443+
444+
@tree: untyped
445+
446+
@source: untyped
447+
448+
@name: untyped
449+
450+
@type_params: untyped
451+
452+
@super_class: untyped
289453
end
290454
end
291455
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)