mangrove 0.24.0 → 0.29.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.
- checksums.yaml +4 -4
- data/README.md +30 -3
- data/lib/mangrove/result.rb +3 -3
- data/lib/mangrove/version.rb +1 -1
- data/rbi/mangrove.rbi +20 -0
- data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.7.1.rbi} +83 -63
- data/sorbet/rbi/gems/{prism@0.15.1.rbi → prism@0.18.0.rbi} +8899 -4119
- data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.7.3.rbi} +35 -35
- data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.1.0.rbi} +206 -63
- data/sorbet/rbi/gems/{rbi@0.1.3.rbi → rbi@0.1.5.rbi} +25 -25
- data/sorbet/rbi/gems/{rdoc@6.6.0.rbi → rdoc@6.6.1.rbi} +130 -127
- data/sorbet/rbi/gems/{regexp_parser@2.8.2.rbi → regexp_parser@2.8.3.rbi} +37 -37
- data/sorbet/rbi/gems/{rubocop-ast@1.29.0.rbi → rubocop-ast@1.30.0.rbi} +249 -225
- data/sorbet/rbi/gems/{rubocop-rspec@2.24.1.rbi → rubocop-rspec@2.25.0.rbi} +39 -33
- data/sorbet/rbi/gems/{rubocop@1.57.1.rbi → rubocop@1.59.0.rbi} +1146 -686
- data/sorbet/rbi/gems/{tapioca@0.11.10.rbi → tapioca@0.11.13.rbi} +65 -65
- metadata +20 -20
- data/sorbet/rbi/gems/base64@0.1.1.rbi +0 -172
- data/sorbet/rbi/gems/irb@1.9.0.rbi +0 -342
- /data/sorbet/rbi/gems/{io-console@0.6.0.rbi → io-console@0.7.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{reline@0.4.0.rbi → reline@0.4.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{ruby-lsp@0.12.0.rbi → ruby-lsp@0.13.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{stringio@3.0.9.rbi → stringio@3.1.0.rbi} +0 -0
@@ -4426,41 +4426,41 @@ class RDoc::Markdown::Literals
|
|
4426
4426
|
|
4427
4427
|
# Alphanumeric = /\p{Word}/
|
4428
4428
|
#
|
4429
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4429
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#406
|
4430
4430
|
def _Alphanumeric; end
|
4431
4431
|
|
4432
4432
|
# AlphanumericAscii = /[A-Za-z0-9]/
|
4433
4433
|
#
|
4434
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4434
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#413
|
4435
4435
|
def _AlphanumericAscii; end
|
4436
4436
|
|
4437
4437
|
# BOM = "uFEFF"
|
4438
4438
|
#
|
4439
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4439
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#420
|
4440
4440
|
def _BOM; end
|
4441
4441
|
|
4442
4442
|
# Newline = /\n|\r\n?|\p{Zl}|\p{Zp}/
|
4443
4443
|
#
|
4444
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4444
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#427
|
4445
4445
|
def _Newline; end
|
4446
4446
|
|
4447
4447
|
# NonAlphanumeric = /\p{^Word}/
|
4448
4448
|
#
|
4449
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4449
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#434
|
4450
4450
|
def _NonAlphanumeric; end
|
4451
4451
|
|
4452
4452
|
# Spacechar = /\t|\p{Zs}/
|
4453
4453
|
#
|
4454
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4454
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#441
|
4455
4455
|
def _Spacechar; end
|
4456
4456
|
|
4457
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4457
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#332
|
4458
4458
|
def apply(rule); end
|
4459
4459
|
|
4460
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4460
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#298
|
4461
4461
|
def apply_with_args(rule, *args); end
|
4462
4462
|
|
4463
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4463
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#80
|
4464
4464
|
def current_character(target = T.unsafe(nil)); end
|
4465
4465
|
|
4466
4466
|
# source://rdoc//lib/rdoc/markdown/literals.rb#41
|
@@ -4469,15 +4469,15 @@ class RDoc::Markdown::Literals
|
|
4469
4469
|
# source://rdoc//lib/rdoc/markdown/literals.rb#64
|
4470
4470
|
def current_line(target = T.unsafe(nil)); end
|
4471
4471
|
|
4472
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4472
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#89
|
4473
4473
|
def current_pos_info(target = T.unsafe(nil)); end
|
4474
4474
|
|
4475
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4475
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#279
|
4476
4476
|
def external_invoke(other, rule, *args); end
|
4477
4477
|
|
4478
4478
|
# Returns the value of attribute failed_rule.
|
4479
4479
|
#
|
4480
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4480
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#201
|
4481
4481
|
def failed_rule; end
|
4482
4482
|
|
4483
4483
|
# Returns the value of attribute failing_rule_offset.
|
@@ -4485,40 +4485,37 @@ class RDoc::Markdown::Literals
|
|
4485
4485
|
# source://rdoc//lib/rdoc/markdown/literals.rb#38
|
4486
4486
|
def failing_rule_offset; end
|
4487
4487
|
|
4488
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4488
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#148
|
4489
4489
|
def failure_caret; end
|
4490
4490
|
|
4491
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4491
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#153
|
4492
4492
|
def failure_character; end
|
4493
4493
|
|
4494
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4494
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#136
|
4495
4495
|
def failure_info; end
|
4496
4496
|
|
4497
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4497
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#157
|
4498
4498
|
def failure_oneline; end
|
4499
4499
|
|
4500
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4500
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#223
|
4501
|
+
def get_byte; end
|
4502
|
+
|
4503
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#101
|
4501
4504
|
def get_line(no); end
|
4502
4505
|
|
4503
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4506
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#115
|
4504
4507
|
def get_text(start); end
|
4505
4508
|
|
4506
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4509
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#365
|
4507
4510
|
def grow_lr(rule, args, start_pos, m); end
|
4508
4511
|
|
4509
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4512
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#97
|
4510
4513
|
def lines; end
|
4511
4514
|
|
4512
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4513
|
-
def match_char_range(char_range); end
|
4514
|
-
|
4515
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#211
|
4516
|
-
def match_dot; end
|
4517
|
-
|
4518
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#220
|
4515
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#203
|
4519
4516
|
def match_string(str); end
|
4520
4517
|
|
4521
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4518
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#244
|
4522
4519
|
def parse(rule = T.unsafe(nil)); end
|
4523
4520
|
|
4524
4521
|
# Returns the value of attribute pos.
|
@@ -4538,7 +4535,7 @@ class RDoc::Markdown::Literals
|
|
4538
4535
|
|
4539
4536
|
# @raise [ParseError]
|
4540
4537
|
#
|
4541
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4538
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#171
|
4542
4539
|
def raise_error; end
|
4543
4540
|
|
4544
4541
|
# Returns the value of attribute result.
|
@@ -4553,21 +4550,21 @@ class RDoc::Markdown::Literals
|
|
4553
4550
|
# source://rdoc//lib/rdoc/markdown/literals.rb#39
|
4554
4551
|
def result=(_arg0); end
|
4555
4552
|
|
4556
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4553
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#213
|
4557
4554
|
def scan(reg); end
|
4558
4555
|
|
4559
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4556
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#194
|
4560
4557
|
def set_failed_rule(name); end
|
4561
4558
|
|
4562
4559
|
# Sets the string and current parsing position for the parser.
|
4563
4560
|
#
|
4564
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4561
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#120
|
4565
4562
|
def set_string(string, pos); end
|
4566
4563
|
|
4567
4564
|
# :startdoc:
|
4568
4565
|
# :stopdoc:
|
4569
4566
|
#
|
4570
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4567
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#403
|
4571
4568
|
def setup_foreign_grammar; end
|
4572
4569
|
|
4573
4570
|
# Prepares for parsing +str+. If you define a custom initialize you must
|
@@ -4576,10 +4573,10 @@ class RDoc::Markdown::Literals
|
|
4576
4573
|
# source://rdoc//lib/rdoc/markdown/literals.rb#26
|
4577
4574
|
def setup_parser(str, debug = T.unsafe(nil)); end
|
4578
4575
|
|
4579
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4576
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#175
|
4580
4577
|
def show_error(io = T.unsafe(nil)); end
|
4581
4578
|
|
4582
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4579
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#127
|
4583
4580
|
def show_pos; end
|
4584
4581
|
|
4585
4582
|
# Returns the value of attribute string.
|
@@ -4588,12 +4585,12 @@ class RDoc::Markdown::Literals
|
|
4588
4585
|
def string; end
|
4589
4586
|
|
4590
4587
|
class << self
|
4591
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4588
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#396
|
4592
4589
|
def rule_info(name, rendered); end
|
4593
4590
|
end
|
4594
4591
|
end
|
4595
4592
|
|
4596
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4593
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#87
|
4597
4594
|
class RDoc::Markdown::Literals::KpegPosInfo < ::Struct
|
4598
4595
|
# Returns the value of attribute char
|
4599
4596
|
#
|
@@ -4659,64 +4656,64 @@ class RDoc::Markdown::Literals::KpegPosInfo < ::Struct
|
|
4659
4656
|
end
|
4660
4657
|
end
|
4661
4658
|
|
4662
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4659
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#258
|
4663
4660
|
class RDoc::Markdown::Literals::MemoEntry
|
4664
4661
|
# @return [MemoEntry] a new instance of MemoEntry
|
4665
4662
|
#
|
4666
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4663
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#259
|
4667
4664
|
def initialize(ans, pos); end
|
4668
4665
|
|
4669
4666
|
# Returns the value of attribute ans.
|
4670
4667
|
#
|
4671
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4668
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#267
|
4672
4669
|
def ans; end
|
4673
4670
|
|
4674
4671
|
# Returns the value of attribute left_rec.
|
4675
4672
|
#
|
4676
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4673
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#268
|
4677
4674
|
def left_rec; end
|
4678
4675
|
|
4679
4676
|
# Sets the attribute left_rec
|
4680
4677
|
#
|
4681
4678
|
# @param value the value to set the attribute left_rec to.
|
4682
4679
|
#
|
4683
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4680
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#268
|
4684
4681
|
def left_rec=(_arg0); end
|
4685
4682
|
|
4686
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4683
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#270
|
4687
4684
|
def move!(ans, pos, result); end
|
4688
4685
|
|
4689
4686
|
# Returns the value of attribute pos.
|
4690
4687
|
#
|
4691
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4688
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#267
|
4692
4689
|
def pos; end
|
4693
4690
|
|
4694
4691
|
# Returns the value of attribute result.
|
4695
4692
|
#
|
4696
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4693
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#267
|
4697
4694
|
def result; end
|
4698
4695
|
|
4699
4696
|
# Returns the value of attribute set.
|
4700
4697
|
#
|
4701
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4698
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#267
|
4702
4699
|
def set; end
|
4703
4700
|
end
|
4704
4701
|
|
4705
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4702
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#387
|
4706
4703
|
class RDoc::Markdown::Literals::RuleInfo
|
4707
4704
|
# @return [RuleInfo] a new instance of RuleInfo
|
4708
4705
|
#
|
4709
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4706
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#388
|
4710
4707
|
def initialize(name, rendered); end
|
4711
4708
|
|
4712
4709
|
# Returns the value of attribute name.
|
4713
4710
|
#
|
4714
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4711
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#393
|
4715
4712
|
def name; end
|
4716
4713
|
|
4717
4714
|
# Returns the value of attribute rendered.
|
4718
4715
|
#
|
4719
|
-
# source://rdoc//lib/rdoc/markdown/literals.rb#
|
4716
|
+
# source://rdoc//lib/rdoc/markdown/literals.rb#393
|
4720
4717
|
def rendered; end
|
4721
4718
|
end
|
4722
4719
|
|
@@ -6116,7 +6113,7 @@ class RDoc::Markup::ToHtml < ::RDoc::Markup::Formatter
|
|
6116
6113
|
|
6117
6114
|
# Adds +blank_line+ to the output
|
6118
6115
|
#
|
6119
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6116
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#290
|
6120
6117
|
def accept_blank_line(blank_line); end
|
6121
6118
|
|
6122
6119
|
# Adds +block_quote+ to the output
|
@@ -6127,27 +6124,27 @@ class RDoc::Markup::ToHtml < ::RDoc::Markup::Formatter
|
|
6127
6124
|
# Adds +heading+ to the output. The headings greater than 6 are trimmed to
|
6128
6125
|
# level 6.
|
6129
6126
|
#
|
6130
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6127
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#298
|
6131
6128
|
def accept_heading(heading); end
|
6132
6129
|
|
6133
6130
|
# Finishes consumption of +list+
|
6134
6131
|
#
|
6135
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6132
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#261
|
6136
6133
|
def accept_list_end(list); end
|
6137
6134
|
|
6138
6135
|
# Finishes consumption of +list_item+
|
6139
6136
|
#
|
6140
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6137
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#283
|
6141
6138
|
def accept_list_item_end(list_item); end
|
6142
6139
|
|
6143
6140
|
# Prepares the visitor for consuming +list_item+
|
6144
6141
|
#
|
6145
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6142
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#272
|
6146
6143
|
def accept_list_item_start(list_item); end
|
6147
6144
|
|
6148
6145
|
# Prepares the visitor for consuming +list+
|
6149
6146
|
#
|
6150
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6147
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#252
|
6151
6148
|
def accept_list_start(list); end
|
6152
6149
|
|
6153
6150
|
# Adds +paragraph+ to the output
|
@@ -6157,22 +6154,22 @@ class RDoc::Markup::ToHtml < ::RDoc::Markup::Formatter
|
|
6157
6154
|
|
6158
6155
|
# Adds +raw+ to the output
|
6159
6156
|
#
|
6160
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6157
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#319
|
6161
6158
|
def accept_raw(raw); end
|
6162
6159
|
|
6163
6160
|
# Adds +rule+ to the output
|
6164
6161
|
#
|
6165
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6162
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#245
|
6166
6163
|
def accept_rule(rule); end
|
6167
6164
|
|
6168
6165
|
# Adds +table+ to the output
|
6169
6166
|
#
|
6170
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6167
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#326
|
6171
6168
|
def accept_table(header, body, aligns); end
|
6172
6169
|
|
6173
6170
|
# Adds +verbatim+ to the output
|
6174
6171
|
#
|
6175
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6172
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#215
|
6176
6173
|
def accept_verbatim(verbatim); end
|
6177
6174
|
|
6178
6175
|
# The RDoc::CodeObject HTML is being generated for. This is used to
|
@@ -6189,7 +6186,7 @@ class RDoc::Markup::ToHtml < ::RDoc::Markup::Formatter
|
|
6189
6186
|
|
6190
6187
|
# CGI-escapes +text+
|
6191
6188
|
#
|
6192
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6189
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#351
|
6193
6190
|
def convert_string(text); end
|
6194
6191
|
|
6195
6192
|
# Returns the generated output
|
@@ -6210,7 +6207,7 @@ class RDoc::Markup::ToHtml < ::RDoc::Markup::Formatter
|
|
6210
6207
|
# Generate a link to +url+ with content +text+. Handles the special cases
|
6211
6208
|
# for img: and link: described under handle_regexp_HYPERLINK
|
6212
6209
|
#
|
6213
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6210
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#359
|
6214
6211
|
def gen_url(url, text); end
|
6215
6212
|
|
6216
6213
|
# source://rdoc//lib/rdoc/markup/to_html.rb#84
|
@@ -6256,7 +6253,7 @@ class RDoc::Markup::ToHtml < ::RDoc::Markup::Formatter
|
|
6256
6253
|
#
|
6257
6254
|
# @raise [RDoc::Error]
|
6258
6255
|
#
|
6259
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6256
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#384
|
6260
6257
|
def html_list_name(list_type, open_tag); end
|
6261
6258
|
|
6262
6259
|
# source://rdoc//lib/rdoc/markup/to_html.rb#26
|
@@ -6274,7 +6271,7 @@ class RDoc::Markup::ToHtml < ::RDoc::Markup::Formatter
|
|
6274
6271
|
|
6275
6272
|
# Maps attributes to HTML tags
|
6276
6273
|
#
|
6277
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6274
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#393
|
6278
6275
|
def init_tags; end
|
6279
6276
|
|
6280
6277
|
# source://rdoc//lib/rdoc/markup/to_html.rb#27
|
@@ -6282,20 +6279,20 @@ class RDoc::Markup::ToHtml < ::RDoc::Markup::Formatter
|
|
6282
6279
|
|
6283
6280
|
# Returns the HTML end-tag for +list_type+
|
6284
6281
|
#
|
6285
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6282
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#419
|
6286
6283
|
def list_end_for(list_type); end
|
6287
6284
|
|
6288
6285
|
# Returns the HTML tag for +list_type+, possible using a label from
|
6289
6286
|
# +list_item+
|
6290
6287
|
#
|
6291
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6288
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#403
|
6292
6289
|
def list_item_start(list_item, list_type); end
|
6293
6290
|
|
6294
6291
|
# Returns true if text is valid ruby syntax
|
6295
6292
|
#
|
6296
6293
|
# @return [Boolean]
|
6297
6294
|
#
|
6298
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6295
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#433
|
6299
6296
|
def parseable?(text); end
|
6300
6297
|
|
6301
6298
|
# source://rdoc//lib/rdoc/markup/to_html.rb#25
|
@@ -6308,7 +6305,7 @@ class RDoc::Markup::ToHtml < ::RDoc::Markup::Formatter
|
|
6308
6305
|
|
6309
6306
|
# Converts +item+ to HTML using RDoc::Text#to_html
|
6310
6307
|
#
|
6311
|
-
# source://rdoc//lib/rdoc/markup/to_html.rb#
|
6308
|
+
# source://rdoc//lib/rdoc/markup/to_html.rb#447
|
6312
6309
|
def to_html(item); end
|
6313
6310
|
end
|
6314
6311
|
|
@@ -10167,234 +10164,234 @@ end
|
|
10167
10164
|
|
10168
10165
|
# RD format parser for inline markup such as emphasis, links, footnotes, etc.
|
10169
10166
|
#
|
10170
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10167
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#665
|
10171
10168
|
class RDoc::RD::InlineParser < ::Racc::Parser
|
10172
10169
|
# Creates a new parser for inline markup in the rd format. The +block_parser+
|
10173
10170
|
# is used to for footnotes and labels in the inline text.
|
10174
10171
|
#
|
10175
10172
|
# @return [InlineParser] a new instance of InlineParser
|
10176
10173
|
#
|
10177
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10174
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#738
|
10178
10175
|
def initialize(block_parser); end
|
10179
10176
|
|
10180
10177
|
# reduce 100 omitted
|
10181
10178
|
#
|
10182
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10179
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1750
|
10183
10180
|
def _reduce_101(val, _values, result); end
|
10184
10181
|
|
10185
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10182
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1757
|
10186
10183
|
def _reduce_102(val, _values, result); end
|
10187
10184
|
|
10188
10185
|
# reduce 108 omitted
|
10189
10186
|
#
|
10190
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10187
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1775
|
10191
10188
|
def _reduce_109(val, _values, result); end
|
10192
10189
|
|
10193
10190
|
# reduce 110 omitted
|
10194
10191
|
#
|
10195
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10192
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1782
|
10196
10193
|
def _reduce_111(val, _values, result); end
|
10197
10194
|
|
10198
10195
|
# reduce 112 omitted
|
10199
10196
|
#
|
10200
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10197
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1790
|
10201
10198
|
def _reduce_113(val, _values, result); end
|
10202
10199
|
|
10203
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10200
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1795
|
10204
10201
|
def _reduce_114(val, _values, result); end
|
10205
10202
|
|
10206
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10203
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1800
|
10207
10204
|
def _reduce_115(val, _values, result); end
|
10208
10205
|
|
10209
10206
|
# reduce 12 omitted
|
10210
10207
|
#
|
10211
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10208
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1413
|
10212
10209
|
def _reduce_13(val, _values, result); end
|
10213
10210
|
|
10214
10211
|
# reduce 135 omitted
|
10215
10212
|
#
|
10216
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10213
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1845
|
10217
10214
|
def _reduce_136(val, _values, result); end
|
10218
10215
|
|
10219
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10216
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1420
|
10220
10217
|
def _reduce_14(val, _values, result); end
|
10221
10218
|
|
10222
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10219
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1427
|
10223
10220
|
def _reduce_15(val, _values, result); end
|
10224
10221
|
|
10225
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10222
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1434
|
10226
10223
|
def _reduce_16(val, _values, result); end
|
10227
10224
|
|
10228
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10225
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1441
|
10229
10226
|
def _reduce_17(val, _values, result); end
|
10230
10227
|
|
10231
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10228
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1449
|
10232
10229
|
def _reduce_18(val, _values, result); end
|
10233
10230
|
|
10234
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10231
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1455
|
10235
10232
|
def _reduce_19(val, _values, result); end
|
10236
10233
|
|
10237
10234
|
# reduce 1 omitted
|
10238
10235
|
#
|
10239
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10236
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1385
|
10240
10237
|
def _reduce_2(val, _values, result); end
|
10241
10238
|
|
10242
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10239
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1463
|
10243
10240
|
def _reduce_20(val, _values, result); end
|
10244
10241
|
|
10245
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10242
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1469
|
10246
10243
|
def _reduce_21(val, _values, result); end
|
10247
10244
|
|
10248
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10245
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1478
|
10249
10246
|
def _reduce_22(val, _values, result); end
|
10250
10247
|
|
10251
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10248
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1484
|
10252
10249
|
def _reduce_23(val, _values, result); end
|
10253
10250
|
|
10254
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10251
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1490
|
10255
10252
|
def _reduce_24(val, _values, result); end
|
10256
10253
|
|
10257
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10254
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1496
|
10258
10255
|
def _reduce_25(val, _values, result); end
|
10259
10256
|
|
10260
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10257
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1505
|
10261
10258
|
def _reduce_26(val, _values, result); end
|
10262
10259
|
|
10263
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10260
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1511
|
10264
10261
|
def _reduce_27(val, _values, result); end
|
10265
10262
|
|
10266
10263
|
# reduce 28 omitted
|
10267
10264
|
#
|
10268
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10265
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1520
|
10269
10266
|
def _reduce_29(val, _values, result); end
|
10270
10267
|
|
10271
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10268
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1390
|
10272
10269
|
def _reduce_3(val, _values, result); end
|
10273
10270
|
|
10274
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10271
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1525
|
10275
10272
|
def _reduce_30(val, _values, result); end
|
10276
10273
|
|
10277
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10274
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1530
|
10278
10275
|
def _reduce_31(val, _values, result); end
|
10279
10276
|
|
10280
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10277
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1536
|
10281
10278
|
def _reduce_32(val, _values, result); end
|
10282
10279
|
|
10283
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10280
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1542
|
10284
10281
|
def _reduce_33(val, _values, result); end
|
10285
10282
|
|
10286
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10283
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1548
|
10287
10284
|
def _reduce_34(val, _values, result); end
|
10288
10285
|
|
10289
10286
|
# reduce 35 omitted
|
10290
10287
|
#
|
10291
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10288
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1556
|
10292
10289
|
def _reduce_36(val, _values, result); end
|
10293
10290
|
|
10294
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10291
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1561
|
10295
10292
|
def _reduce_37(val, _values, result); end
|
10296
10293
|
|
10297
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10294
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1566
|
10298
10295
|
def _reduce_38(val, _values, result); end
|
10299
10296
|
|
10300
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10297
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1572
|
10301
10298
|
def _reduce_39(val, _values, result); end
|
10302
10299
|
|
10303
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10300
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1578
|
10304
10301
|
def _reduce_40(val, _values, result); end
|
10305
10302
|
|
10306
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10303
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1584
|
10307
10304
|
def _reduce_41(val, _values, result); end
|
10308
10305
|
|
10309
10306
|
# reduce 42 omitted
|
10310
10307
|
#
|
10311
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10308
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1592
|
10312
10309
|
def _reduce_43(val, _values, result); end
|
10313
10310
|
|
10314
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10311
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1598
|
10315
10312
|
def _reduce_44(val, _values, result); end
|
10316
10313
|
|
10317
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10314
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1604
|
10318
10315
|
def _reduce_45(val, _values, result); end
|
10319
10316
|
|
10320
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10317
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1610
|
10321
10318
|
def _reduce_46(val, _values, result); end
|
10322
10319
|
|
10323
10320
|
# reduce 56 omitted
|
10324
10321
|
#
|
10325
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10322
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1636
|
10326
10323
|
def _reduce_57(val, _values, result); end
|
10327
10324
|
|
10328
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10325
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1642
|
10329
10326
|
def _reduce_58(val, _values, result); end
|
10330
10327
|
|
10331
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10328
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1648
|
10332
10329
|
def _reduce_59(val, _values, result); end
|
10333
10330
|
|
10334
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10331
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1654
|
10335
10332
|
def _reduce_60(val, _values, result); end
|
10336
10333
|
|
10337
10334
|
# reduce 61 omitted
|
10338
10335
|
#
|
10339
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10336
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1661
|
10340
10337
|
def _reduce_62(val, _values, result); end
|
10341
10338
|
|
10342
10339
|
# reduce 63 omitted
|
10343
10340
|
#
|
10344
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10341
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1669
|
10345
10342
|
def _reduce_64(val, _values, result); end
|
10346
10343
|
|
10347
10344
|
# reduce 77 omitted
|
10348
10345
|
#
|
10349
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10346
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1701
|
10350
10347
|
def _reduce_78(val, _values, result); end
|
10351
10348
|
|
10352
10349
|
# reduce 137 omitted
|
10353
10350
|
#
|
10354
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10351
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1852
|
10355
10352
|
def _reduce_none(val, _values, result); end
|
10356
10353
|
|
10357
10354
|
# Creates a new RDoc::RD::Inline for the +rdoc+ markup and the raw +reference+
|
10358
10355
|
#
|
10359
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10356
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#887
|
10360
10357
|
def inline(rdoc, reference = T.unsafe(nil)); end
|
10361
10358
|
|
10362
10359
|
# Returns the next token from the inline text
|
10363
10360
|
#
|
10364
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10361
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#756
|
10365
10362
|
def next_token; end
|
10366
10363
|
|
10367
10364
|
# Returns words following an error
|
10368
10365
|
#
|
10369
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10366
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#876
|
10370
10367
|
def next_words_on_error; end
|
10371
10368
|
|
10372
10369
|
# Raises a ParseError when invalid formatting is found
|
10373
10370
|
#
|
10374
10371
|
# @raise [ParseError]
|
10375
10372
|
#
|
10376
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10373
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#836
|
10377
10374
|
def on_error(et, ev, values); end
|
10378
10375
|
|
10379
10376
|
# Parses the +inline+ text from RD format into RDoc format.
|
10380
10377
|
#
|
10381
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10378
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#745
|
10382
10379
|
def parse(inline); end
|
10383
10380
|
|
10384
10381
|
# Returns words before the error
|
10385
10382
|
#
|
10386
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10383
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#853
|
10387
10384
|
def prev_words_on_error(ev); end
|
10388
10385
|
|
10389
10386
|
private
|
10390
10387
|
|
10391
10388
|
# Returns the last line of +src+
|
10392
10389
|
#
|
10393
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10390
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#864
|
10394
10391
|
def last_line(src); end
|
10395
10392
|
end
|
10396
10393
|
|
10397
|
-
# source://rdoc//lib/rdoc/rd/inline_parser.rb#
|
10394
|
+
# source://rdoc//lib/rdoc/rd/inline_parser.rb#1377
|
10398
10395
|
RDoc::RD::InlineParser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass)
|
10399
10396
|
|
10400
10397
|
# This is the driver for generating RDoc output. It handles file parsing and
|
@@ -12256,6 +12253,12 @@ module RDoc::Text
|
|
12256
12253
|
end
|
12257
12254
|
end
|
12258
12255
|
|
12256
|
+
# Character class to be separated by a space when concatenating
|
12257
|
+
# lines.
|
12258
|
+
#
|
12259
|
+
# source://rdoc//lib/rdoc/text.rb#316
|
12260
|
+
RDoc::Text::SPACE_SEPARATED_LETTER_CLASS = T.let(T.unsafe(nil), Regexp)
|
12261
|
+
|
12259
12262
|
# A TokenStream is a list of tokens, gathered during the parse of some entity
|
12260
12263
|
# (say a method). Entities populate these streams by being registered with the
|
12261
12264
|
# lexer. Any class can collect tokens by including TokenStream. From the
|