├── .github └── workflows │ └── main.yml ├── .gitignore ├── .rspec ├── .rubocop.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── Steepfile ├── bin ├── console └── setup ├── examples ├── example-converted.rb └── example.rb ├── exe ├── yard-to-rbs-inline └── yard_to_rbs_inline ├── lib ├── yard_to_rbs_inline.rb └── yard_to_rbs_inline │ ├── cli.rb │ ├── converter.rb │ ├── converter │ ├── code_visitor.rb │ ├── subscriptable.rb │ └── text_with_mod.rb │ ├── version.rb │ ├── yard_type.rb │ └── yard_type │ ├── ast.rb │ ├── parser.rb │ ├── parser.y │ └── scanner.rb ├── rbs_collection.yaml ├── sig └── yard_to_rbs_inline_example.rbs ├── spec ├── spec_helper.rb └── yard_to_rbs_inline │ └── converter_spec.rb ├── types └── gems │ └── racc.rbs └── yard_to_rbs_inline.gemspec /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | --require spec_helper 4 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/Rakefile -------------------------------------------------------------------------------- /Steepfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/Steepfile -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/bin/setup -------------------------------------------------------------------------------- /examples/example-converted.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/examples/example-converted.rb -------------------------------------------------------------------------------- /examples/example.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/examples/example.rb -------------------------------------------------------------------------------- /exe/yard-to-rbs-inline: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/exe/yard-to-rbs-inline -------------------------------------------------------------------------------- /exe/yard_to_rbs_inline: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/exe/yard_to_rbs_inline -------------------------------------------------------------------------------- /lib/yard_to_rbs_inline.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/lib/yard_to_rbs_inline.rb -------------------------------------------------------------------------------- /lib/yard_to_rbs_inline/cli.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/lib/yard_to_rbs_inline/cli.rb -------------------------------------------------------------------------------- /lib/yard_to_rbs_inline/converter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/lib/yard_to_rbs_inline/converter.rb -------------------------------------------------------------------------------- /lib/yard_to_rbs_inline/converter/code_visitor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/lib/yard_to_rbs_inline/converter/code_visitor.rb -------------------------------------------------------------------------------- /lib/yard_to_rbs_inline/converter/subscriptable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/lib/yard_to_rbs_inline/converter/subscriptable.rb -------------------------------------------------------------------------------- /lib/yard_to_rbs_inline/converter/text_with_mod.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/lib/yard_to_rbs_inline/converter/text_with_mod.rb -------------------------------------------------------------------------------- /lib/yard_to_rbs_inline/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module YardToRbsInline 4 | VERSION = "0.3.0" 5 | end 6 | -------------------------------------------------------------------------------- /lib/yard_to_rbs_inline/yard_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/lib/yard_to_rbs_inline/yard_type.rb -------------------------------------------------------------------------------- /lib/yard_to_rbs_inline/yard_type/ast.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/lib/yard_to_rbs_inline/yard_type/ast.rb -------------------------------------------------------------------------------- /lib/yard_to_rbs_inline/yard_type/parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/lib/yard_to_rbs_inline/yard_type/parser.rb -------------------------------------------------------------------------------- /lib/yard_to_rbs_inline/yard_type/parser.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/lib/yard_to_rbs_inline/yard_type/parser.y -------------------------------------------------------------------------------- /lib/yard_to_rbs_inline/yard_type/scanner.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/lib/yard_to_rbs_inline/yard_type/scanner.rb -------------------------------------------------------------------------------- /rbs_collection.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/rbs_collection.yaml -------------------------------------------------------------------------------- /sig/yard_to_rbs_inline_example.rbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/sig/yard_to_rbs_inline_example.rbs -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/yard_to_rbs_inline/converter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/spec/yard_to_rbs_inline/converter_spec.rb -------------------------------------------------------------------------------- /types/gems/racc.rbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/types/gems/racc.rbs -------------------------------------------------------------------------------- /yard_to_rbs_inline.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomoasleep/yard_to_rbs_inline/HEAD/yard_to_rbs_inline.gemspec --------------------------------------------------------------------------------