ruby/lib/rdoc/markup
tomoya ishida 16b0242808 [ruby/rdoc] Add new ruby parser that uses Prism
(https://github.com/ruby/rdoc/pull/1144)

* Add a new ruby parser RDoc::Parser::PrismRuby

* Add a new ruby parser testcase independent from parser's internal implementation

* unknown meta method

* Use MethodSignatureVisitor only to scan params, block_params and calls_super

* Add calls_super test

* Drop ruby 2.6. Prism requires ruby >= 2.7

* Remove duplicated documentation comment from prism_ruby.rb

* Add test for wrong argument passed to metaprogramming method

* Rename visit_call_[DSL_METHOD_NAME] to make it distinguishable from visit_[NODE_TYPE]_node

* Method receiver switch of true/false/nil to a case statement

* Extract common part of add_method(by def keyword) and add meta_comment method

* Reuse consecutive comments array when collecting comments

* Simplify DSL call_node handling

* Refactor extracting method visibility arguments

fde99f1be6
2024-07-31 20:50:00 +00:00
..
attr_changer.rb
attr_span.rb
attribute_manager.rb [ruby/rdoc] Improve rubocop setup 2024-07-17 20:43:08 +00:00
attributes.rb
blank_line.rb
block_quote.rb
document.rb
formatter.rb [ruby/rdoc] Fix TIDYLINK after braces 2023-11-14 07:59:56 +00:00
hard_break.rb
heading.rb
include.rb
indented_paragraph.rb
list.rb
list_item.rb
paragraph.rb
parser.rb [ruby/rdoc] [DOC] nodoc for probably internal methods 2023-12-16 00:26:39 +09:00
pre_process.rb [ruby/rdoc] Add new ruby parser that uses Prism 2024-07-31 20:50:00 +00:00
raw.rb
regexp_handling.rb
rule.rb
table.rb [ruby/rdoc] [DOC] nodoc for probably internal methods 2023-12-16 00:26:39 +09:00
to_ansi.rb
to_bs.rb [ruby/rdoc] Improve rubocop setup 2024-07-17 20:43:08 +00:00
to_html.rb [ruby/rdoc] [DOC] nodoc for probably internal methods 2023-12-16 00:26:39 +09:00
to_html_crossref.rb [ruby/rdoc] Allow empty name rdoc-ref as a local link 2023-12-31 15:19:50 +00:00
to_html_snippet.rb [ruby/rdoc] [DOC] Add missing documents 2023-12-16 00:26:37 +09:00
to_joined_paragraph.rb [ruby/rdoc] Use flat_map for better performance 2023-06-14 23:47:25 +00:00
to_label.rb
to_markdown.rb [ruby/rdoc] Fix ToMarkdown missing newlines for label-lists 2024-03-08 10:13:04 +00:00
to_rdoc.rb [ruby/rdoc] Fix ToRdoc generating incorrect {label,name}-lists 2024-03-09 03:50:09 +00:00
to_table_of_contents.rb
to_test.rb
to_tt_only.rb
verbatim.rb