ruby-lsp-doclinks 0.1.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.
Files changed (65) hide show
  1. checksums.yaml +7 -0
  2. data/.rubocop.yml +2 -0
  3. data/CHANGELOG.md +3 -0
  4. data/CODE_OF_CONDUCT.md +132 -0
  5. data/LICENSE.txt +21 -0
  6. data/README.md +67 -0
  7. data/Rakefile +12 -0
  8. data/lib/ruby-lsp-doclinks.rb +1 -0
  9. data/lib/ruby_lsp/doclinks/addon.rb +165 -0
  10. data/lib/ruby_lsp/doclinks/version.rb +7 -0
  11. data/lib/ruby_lsp/doclinks.rb +9 -0
  12. data/sig/ruby_lsp/doclinks.rbs +4 -0
  13. data/sorbet/config +4 -0
  14. data/sorbet/rbi/annotations/.gitattributes +1 -0
  15. data/sorbet/rbi/annotations/activesupport.rbi +457 -0
  16. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  17. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  18. data/sorbet/rbi/gems/.gitattributes +1 -0
  19. data/sorbet/rbi/gems/activesupport@8.0.2.rbi +11 -0
  20. data/sorbet/rbi/gems/ast@2.4.3.rbi +585 -0
  21. data/sorbet/rbi/gems/base64@0.2.0.rbi +9 -0
  22. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
  23. data/sorbet/rbi/gems/bigdecimal@3.1.9.rbi +9 -0
  24. data/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi +9 -0
  25. data/sorbet/rbi/gems/connection_pool@2.5.0.rbi +9 -0
  26. data/sorbet/rbi/gems/drb@2.2.1.rbi +9 -0
  27. data/sorbet/rbi/gems/erubi@1.13.1.rbi +155 -0
  28. data/sorbet/rbi/gems/i18n@1.14.7.rbi +9 -0
  29. data/sorbet/rbi/gems/json@2.10.2.rbi +2112 -0
  30. data/sorbet/rbi/gems/language_server-protocol@3.17.0.4.rbi +9 -0
  31. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +86 -0
  32. data/sorbet/rbi/gems/logger@1.6.6.rbi +940 -0
  33. data/sorbet/rbi/gems/minitest@5.25.5.rbi +1547 -0
  34. data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
  35. data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
  36. data/sorbet/rbi/gems/parser@3.3.7.2.rbi +5532 -0
  37. data/sorbet/rbi/gems/prism@1.4.0.rbi +41732 -0
  38. data/sorbet/rbi/gems/racc@1.8.1.rbi +160 -0
  39. data/sorbet/rbi/gems/rack@3.1.12.rbi +4898 -0
  40. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
  41. data/sorbet/rbi/gems/rake@13.2.1.rbi +3033 -0
  42. data/sorbet/rbi/gems/rbi@0.3.1.rbi +6599 -0
  43. data/sorbet/rbi/gems/rbs@3.9.1.rbi +6978 -0
  44. data/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +3795 -0
  45. data/sorbet/rbi/gems/rubocop-ast@1.42.0.rbi +7715 -0
  46. data/sorbet/rbi/gems/rubocop-performance@1.24.0.rbi +9 -0
  47. data/sorbet/rbi/gems/rubocop-rails-omakase@1.1.0.rbi +9 -0
  48. data/sorbet/rbi/gems/rubocop-rails@2.30.3.rbi +9 -0
  49. data/sorbet/rbi/gems/rubocop@1.74.0.rbi +61400 -0
  50. data/sorbet/rbi/gems/ruby-lsp@0.23.12.rbi +9 -0
  51. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
  52. data/sorbet/rbi/gems/securerandom@0.4.1.rbi +75 -0
  53. data/sorbet/rbi/gems/spoom@1.6.1.rbi +7274 -0
  54. data/sorbet/rbi/gems/tapioca@0.16.11.rbi +3628 -0
  55. data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
  56. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +9 -0
  57. data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +132 -0
  58. data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
  59. data/sorbet/rbi/gems/uri@1.0.3.rbi +2349 -0
  60. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
  61. data/sorbet/rbi/gems/yard@0.9.37.rbi +18379 -0
  62. data/sorbet/rbi/todo.rbi +15 -0
  63. data/sorbet/tapioca/config.yml +13 -0
  64. data/sorbet/tapioca/require.rb +4 -0
  65. metadata +131 -0
@@ -0,0 +1,160 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `racc` gem.
5
+ # Please instead update this file by running `bin/tapioca gem racc`.
6
+
7
+
8
+ # source://racc//lib/racc/parser.rb#19
9
+ ParseError = Racc::ParseError
10
+
11
+ # source://racc//lib/racc/info.rb#17
12
+ Racc::Copyright = T.let(T.unsafe(nil), String)
13
+
14
+ class Racc::CparseParams; end
15
+
16
+ # source://racc//lib/racc/parser.rb#184
17
+ class Racc::Parser
18
+ # source://racc//lib/racc/parser.rb#279
19
+ def _racc_do_parse_rb(arg, in_debug); end
20
+
21
+ # source://racc//lib/racc/parser.rb#479
22
+ def _racc_do_reduce(arg, act); end
23
+
24
+ # common
25
+ #
26
+ # source://racc//lib/racc/parser.rb#382
27
+ def _racc_evalact(act, arg); end
28
+
29
+ # source://racc//lib/racc/parser.rb#232
30
+ def _racc_init_sysvars; end
31
+
32
+ # source://racc//lib/racc/parser.rb#220
33
+ def _racc_setup; end
34
+
35
+ # source://racc//lib/racc/parser.rb#329
36
+ def _racc_yyparse_rb(recv, mid, arg, c_debug); end
37
+
38
+ # source://racc//lib/racc/parser.rb#262
39
+ def do_parse; end
40
+
41
+ # The method to fetch next token.
42
+ # If you use #do_parse method, you must implement #next_token.
43
+ #
44
+ # The format of return value is [TOKEN_SYMBOL, VALUE].
45
+ # +token-symbol+ is represented by Ruby's symbol by default, e.g. :IDENT
46
+ # for 'IDENT'. ";" (String) for ';'.
47
+ #
48
+ # The final symbol (End of file) must be false.
49
+ #
50
+ # @raise [NotImplementedError]
51
+ #
52
+ # source://racc//lib/racc/parser.rb#275
53
+ def next_token; end
54
+
55
+ # This method is called when a parse error is found.
56
+ #
57
+ # ERROR_TOKEN_ID is an internal ID of token which caused error.
58
+ # You can get string representation of this ID by calling
59
+ # #token_to_str.
60
+ #
61
+ # ERROR_VALUE is a value of error token.
62
+ #
63
+ # value_stack is a stack of symbol values.
64
+ # DO NOT MODIFY this object.
65
+ #
66
+ # This method raises ParseError by default.
67
+ #
68
+ # If this method returns, parsers enter "error recovering mode".
69
+ #
70
+ # @raise [ParseError]
71
+ #
72
+ # source://racc//lib/racc/parser.rb#535
73
+ def on_error(t, val, vstack); end
74
+
75
+ # source://racc//lib/racc/parser.rb#584
76
+ def racc_accept; end
77
+
78
+ # source://racc//lib/racc/parser.rb#589
79
+ def racc_e_pop(state, tstack, vstack); end
80
+
81
+ # source://racc//lib/racc/parser.rb#596
82
+ def racc_next_state(curstate, state); end
83
+
84
+ # source://racc//lib/racc/parser.rb#602
85
+ def racc_print_stacks(t, v); end
86
+
87
+ # source://racc//lib/racc/parser.rb#611
88
+ def racc_print_states(s); end
89
+
90
+ # For debugging output
91
+ #
92
+ # source://racc//lib/racc/parser.rb#558
93
+ def racc_read_token(t, tok, val); end
94
+
95
+ # source://racc//lib/racc/parser.rb#571
96
+ def racc_reduce(toks, sim, tstack, vstack); end
97
+
98
+ # source://racc//lib/racc/parser.rb#565
99
+ def racc_shift(tok, tstack, vstack); end
100
+
101
+ # source://racc//lib/racc/parser.rb#618
102
+ def racc_token2str(tok); end
103
+
104
+ # Convert internal ID of token symbol to the string.
105
+ #
106
+ # source://racc//lib/racc/parser.rb#624
107
+ def token_to_str(t); end
108
+
109
+ # Exit parser.
110
+ # Return value is +Symbol_Value_Stack[0]+.
111
+ #
112
+ # source://racc//lib/racc/parser.rb#548
113
+ def yyaccept; end
114
+
115
+ # Leave error recovering mode.
116
+ #
117
+ # source://racc//lib/racc/parser.rb#553
118
+ def yyerrok; end
119
+
120
+ # Enter error recovering mode.
121
+ # This method does not call #on_error.
122
+ #
123
+ # source://racc//lib/racc/parser.rb#542
124
+ def yyerror; end
125
+
126
+ # source://racc//lib/racc/parser.rb#324
127
+ def yyparse(recv, mid); end
128
+
129
+ class << self
130
+ # source://racc//lib/racc/parser.rb#216
131
+ def racc_runtime_type; end
132
+ end
133
+ end
134
+
135
+ # source://racc//lib/racc/parser.rb#205
136
+ Racc::Parser::Racc_Main_Parsing_Routine = T.let(T.unsafe(nil), Symbol)
137
+
138
+ # source://racc//lib/racc/parser.rb#207
139
+ Racc::Parser::Racc_Runtime_Core_Version = T.let(T.unsafe(nil), String)
140
+
141
+ # source://racc//lib/racc/parser.rb#187
142
+ Racc::Parser::Racc_Runtime_Core_Version_R = T.let(T.unsafe(nil), String)
143
+
144
+ # source://racc//lib/racc/parser.rb#208
145
+ Racc::Parser::Racc_Runtime_Type = T.let(T.unsafe(nil), String)
146
+
147
+ # source://racc//lib/racc/parser.rb#186
148
+ Racc::Parser::Racc_Runtime_Version = T.let(T.unsafe(nil), String)
149
+
150
+ # source://racc//lib/racc/parser.rb#206
151
+ Racc::Parser::Racc_YY_Parse_Method = T.let(T.unsafe(nil), Symbol)
152
+
153
+ # source://racc//lib/racc/parser.rb#181
154
+ Racc::Racc_No_Extensions = T.let(T.unsafe(nil), FalseClass)
155
+
156
+ # source://racc//lib/racc/info.rb#15
157
+ Racc::VERSION = T.let(T.unsafe(nil), String)
158
+
159
+ # source://racc//lib/racc/info.rb#16
160
+ Racc::Version = T.let(T.unsafe(nil), String)